- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getInheritorsOfSealedClass (0.25 sec)
-
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtInheritorsProvider.kt
import org.jetbrains.kotlin.analysis.api.symbols.KaNamedClassOrObjectSymbol public abstract class KaInheritorsProvider : KaSessionComponent() { public abstract fun getInheritorsOfSealedClass(classSymbol: KaNamedClassOrObjectSymbol): List<KaNamedClassOrObjectSymbol> public abstract fun getEnumEntries(classSymbol: KaNamedClassOrObjectSymbol): List<KaEnumEntrySymbol> }
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-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirInheritorsProvider.kt
internal class KaFirInheritorsProvider( override val analysisSession: KaFirSession, override val token: KaLifetimeToken, ) : KaInheritorsProvider(), KaFirSessionComponent { override fun getInheritorsOfSealedClass( classSymbol: KaNamedClassOrObjectSymbol ): List<KaNamedClassOrObjectSymbol> { require(classSymbol.modality == Modality.SEALED) require(classSymbol is KaFirNamedClassOrObjectSymbol)
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-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10InheritorsProvider.kt
override val analysisSession: KaFe10Session ) : KaInheritorsProvider(), KaFe10SessionComponent { override val token: KaLifetimeToken get() = analysisSession.token override fun getInheritorsOfSealedClass(classSymbol: KaNamedClassOrObjectSymbol): List<KaNamedClassOrObjectSymbol> { val classDescriptor = getSymbolDescriptor(classSymbol) as? ClassDescriptor ?: return emptyList()
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:35 UTC 2024 - 2.8K bytes - Viewed (0)