Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for declare (0.15 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirScopeProvider.kt

            }
    
            val cacheKey = when (kind) {
                DeclaredMemberScopeKind.NON_STATIC -> JAVA_ENHANCEMENT_FOR_DECLARED_MEMBERS
                DeclaredMemberScopeKind.STATIC -> JAVA_ENHANCEMENT_FOR_STATIC_DECLARED_MEMBERS
                DeclaredMemberScopeKind.COMBINED -> JAVA_ENHANCEMENT_FOR_ALL_DECLARED_MEMBERS
            }
    
            return scopeSession.getOrBuild(firJavaClass.symbol, cacheKey) {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirTypeProvider.kt

                }
                else -> throwUnexpectedFirElementError(fir, ktTypeReference)
            }
        }
    
        /**
         * Try to get fir element for type reference through symbols.
         * When the type is declared in compiled code this is faster than building FIR from decompiled text.
         */
        private fun KtTypeReference.getFirBySymbols(): FirElement? {
            val parent = parent
            return when {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Feb 20 08:50:04 GMT 2024
    - 16.3K bytes
    - Viewed (0)
Back to top