[Analysis API] implement an API to get a substitution based on an inheritance relationship between classes

^KT-62090 fixed
This commit is contained in:
Ilya Kirillov
2023-09-20 22:34:44 +02:00
committed by Space Team
parent 49cfbb0576
commit 15e4cbc10d
33 changed files with 716 additions and 2 deletions
@@ -75,8 +75,10 @@ class KtFe10AnalysisSession(
override val metadataCalculatorImpl: KtMetadataCalculator
get() = throw UnsupportedOperationException()
@Suppress("AnalysisApiMissingLifetimeCheck")
override val substitutorProviderImpl: KtSubstitutorProvider
get() = throw UnsupportedOperationException()
override fun createContextDependentCopy(originalKtFile: KtFile, elementToReanalyze: KtElement): KtAnalysisSession =
KtFe10AnalysisSession(originalKtFile.project, elementToReanalyze, token)
}