[Analysis API] implement an API to get a substitution based on an inheritance relationship between classes
^KT-62090 fixed
This commit is contained in:
committed by
Space Team
parent
49cfbb0576
commit
15e4cbc10d
+3
-1
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user