- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for psiForTest (0.12 sec)
-
analysis/analysis-api-standalone/tests/org/jetbrains/kotlin/analysis/api/standalone/fir/test/cases/components/psiDeclarationProvider/PsiDeclarationProvidierTestUtils.kt
// Mimic [psiForUast] in FIR UAST internal fun KaSession.psiForTest(symbol: KaSymbol, project: Project): PsiElement? { return when (symbol.origin) { KaSymbolOrigin.LIBRARY -> { findPsi(symbol, project) ?: symbol.psi } KaSymbolOrigin.SUBSTITUTION_OVERRIDE, KaSymbolOrigin.INTERSECTION_OVERRIDE -> { psiForTest((symbol as KaCallableSymbol).unwrapFakeOverrides, project) }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 04 22:09:27 UTC 2024 - 1.5K bytes - Viewed (0)