- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getSealedClassInheritors (0.31 sec)
-
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirInheritorsProvider.kt
import org.jetbrains.kotlin.analysis.api.symbols.KaNamedClassOrObjectSymbol import org.jetbrains.kotlin.descriptors.Modality import org.jetbrains.kotlin.fir.declarations.getSealedClassInheritors internal class KaFirInheritorsProvider( override val analysisSession: KaFirSession, override val token: KaLifetimeToken, ) : KaInheritorsProvider(), KaFirSessionComponent {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 1.9K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtInheritorsProvider.kt
} public typealias KtInheritorsProvider = KaInheritorsProvider public interface KaInheritorsProviderMixIn : KaSessionMixIn { public fun KaNamedClassOrObjectSymbol.getSealedClassInheritors(): List<KaNamedClassOrObjectSymbol> = withValidityAssertion { analysisSession.inheritorsProvider.getInheritorsOfSealedClass(this) }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:35 UTC 2024 - 1.3K bytes - Viewed (0) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/inheritorsProvider/AbstractSealedInheritorsTest.kt
analyseForTest(ktFile) { val classSymbol = getSingleTestTargetSymbolOfType<KaNamedClassOrObjectSymbol>(ktFile, testDataPath) val actualText = classSymbol.getSealedClassInheritors().joinToString("\n\n") { inheritor -> "${inheritor.classId!!}\n${inheritor.render(KaDeclarationRendererForDebug.WITH_QUALIFIED_NAMES)}" }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon May 27 09:59:11 UTC 2024 - 1.7K bytes - Viewed (0)