diff --git a/idea/idea-frontend-api/src/org/jetbrains/kotlin/idea/frontend/api/symbols/KtFunctionLikeSymbol.kt b/idea/idea-frontend-api/src/org/jetbrains/kotlin/idea/frontend/api/symbols/KtFunctionLikeSymbol.kt index 7c9bea863eb..cd157b84221 100644 --- a/idea/idea-frontend-api/src/org/jetbrains/kotlin/idea/frontend/api/symbols/KtFunctionLikeSymbol.kt +++ b/idea/idea-frontend-api/src/org/jetbrains/kotlin/idea/frontend/api/symbols/KtFunctionLikeSymbol.kt @@ -16,7 +16,7 @@ abstract class KtFunctionLikeSymbol : KtCallableSymbol(), KtTypedSymbol, KtSymbo abstract override fun createPointer(): KtSymbolPointer } -abstract class KtAnonymousFunctionSymbol : KtFunctionLikeSymbol() { +abstract class KtAnonymousFunctionSymbol : KtFunctionLikeSymbol(), KtPossibleExtensionSymbol { final override val symbolKind: KtSymbolKind get() = KtSymbolKind.LOCAL abstract override fun createPointer(): KtSymbolPointer @@ -25,6 +25,7 @@ abstract class KtAnonymousFunctionSymbol : KtFunctionLikeSymbol() { abstract class KtFunctionSymbol : KtFunctionLikeSymbol(), KtNamedSymbol, KtPossibleExtensionSymbol, + KtPossibleMemberSymbol, KtSymbolWithTypeParameters, KtSymbolWithModality, KtSymbolWithVisibility, @@ -43,6 +44,7 @@ abstract class KtFunctionSymbol : KtFunctionLikeSymbol(), } abstract class KtConstructorSymbol : KtFunctionLikeSymbol(), + KtPossibleMemberSymbol, KtAnnotatedSymbol, KtSymbolWithVisibility, KtSymbolWithTypeParameters { diff --git a/idea/idea-frontend-api/src/org/jetbrains/kotlin/idea/frontend/api/symbols/KtPropertyAccessorSymbol.kt b/idea/idea-frontend-api/src/org/jetbrains/kotlin/idea/frontend/api/symbols/KtPropertyAccessorSymbol.kt index 1436b587b21..5545698db6e 100644 --- a/idea/idea-frontend-api/src/org/jetbrains/kotlin/idea/frontend/api/symbols/KtPropertyAccessorSymbol.kt +++ b/idea/idea-frontend-api/src/org/jetbrains/kotlin/idea/frontend/api/symbols/KtPropertyAccessorSymbol.kt @@ -9,6 +9,7 @@ import org.jetbrains.kotlin.idea.frontend.api.symbols.markers.* import org.jetbrains.kotlin.idea.frontend.api.symbols.pointers.KtSymbolPointer sealed class KtPropertyAccessorSymbol : KtCallableSymbol(), + KtPossibleMemberSymbol, KtSymbolWithModality, KtSymbolWithVisibility, KtAnnotatedSymbol { diff --git a/idea/idea-frontend-api/src/org/jetbrains/kotlin/idea/frontend/api/symbols/KtVariableLikeSymbol.kt b/idea/idea-frontend-api/src/org/jetbrains/kotlin/idea/frontend/api/symbols/KtVariableLikeSymbol.kt index f0ada480843..33ed18e31b3 100644 --- a/idea/idea-frontend-api/src/org/jetbrains/kotlin/idea/frontend/api/symbols/KtVariableLikeSymbol.kt +++ b/idea/idea-frontend-api/src/org/jetbrains/kotlin/idea/frontend/api/symbols/KtVariableLikeSymbol.kt @@ -42,6 +42,7 @@ abstract class KtJavaFieldSymbol : sealed class KtPropertySymbol : KtVariableSymbol(), KtPossibleExtensionSymbol, + KtPossibleMemberSymbol, KtSymbolWithModality, KtSymbolWithVisibility, KtAnnotatedSymbol, diff --git a/idea/idea-frontend-api/src/org/jetbrains/kotlin/idea/frontend/api/symbols/markers/KtPossibleMemberSymbol.kt b/idea/idea-frontend-api/src/org/jetbrains/kotlin/idea/frontend/api/symbols/markers/KtPossibleMemberSymbol.kt new file mode 100644 index 00000000000..75831e5e188 --- /dev/null +++ b/idea/idea-frontend-api/src/org/jetbrains/kotlin/idea/frontend/api/symbols/markers/KtPossibleMemberSymbol.kt @@ -0,0 +1,12 @@ +/* + * Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors. + * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. + */ + +package org.jetbrains.kotlin.idea.frontend.api.symbols.markers + +import org.jetbrains.kotlin.idea.frontend.api.types.KtType + +interface KtPossibleMemberSymbol { + val dispatchType: KtType? +} diff --git a/idea/idea-frontend-fir/src/org/jetbrains/kotlin/idea/frontend/api/fir/symbols/KtFirAnonymousFunctionSymbol.kt b/idea/idea-frontend-fir/src/org/jetbrains/kotlin/idea/frontend/api/fir/symbols/KtFirAnonymousFunctionSymbol.kt index 2055c6a1dd9..a63b83bc79d 100644 --- a/idea/idea-frontend-fir/src/org/jetbrains/kotlin/idea/frontend/api/fir/symbols/KtFirAnonymousFunctionSymbol.kt +++ b/idea/idea-frontend-fir/src/org/jetbrains/kotlin/idea/frontend/api/fir/symbols/KtFirAnonymousFunctionSymbol.kt @@ -38,6 +38,11 @@ internal class KtFirAnonymousFunctionSymbol( } } + override val isExtension: Boolean get() = firRef.withFir { it.receiverTypeRef != null } + override val receiverType: KtTypeAndAnnotations? by cached { + firRef.receiverTypeAndAnnotations(builder) + } + override fun createPointer(): KtSymbolPointer { KtPsiBasedSymbolPointer.createForSymbolFromSource(this)?.let { return it } error("Could not create a pointer for anonymous function from library") diff --git a/idea/idea-frontend-fir/src/org/jetbrains/kotlin/idea/frontend/api/fir/symbols/KtFirConstructorSymbol.kt b/idea/idea-frontend-fir/src/org/jetbrains/kotlin/idea/frontend/api/fir/symbols/KtFirConstructorSymbol.kt index f223debf711..e9cfe6dc6b1 100644 --- a/idea/idea-frontend-fir/src/org/jetbrains/kotlin/idea/frontend/api/fir/symbols/KtFirConstructorSymbol.kt +++ b/idea/idea-frontend-fir/src/org/jetbrains/kotlin/idea/frontend/api/fir/symbols/KtFirConstructorSymbol.kt @@ -26,6 +26,7 @@ import org.jetbrains.kotlin.idea.frontend.api.symbols.markers.KtTypeAndAnnotatio import org.jetbrains.kotlin.idea.frontend.api.symbols.pointers.CanNotCreateSymbolPointerForLocalLibraryDeclarationException import org.jetbrains.kotlin.idea.frontend.api.symbols.pointers.KtPsiBasedSymbolPointer import org.jetbrains.kotlin.idea.frontend.api.symbols.pointers.KtSymbolPointer +import org.jetbrains.kotlin.idea.frontend.api.types.KtType import org.jetbrains.kotlin.idea.frontend.api.withValidityAssertion import org.jetbrains.kotlin.name.ClassId @@ -65,6 +66,10 @@ internal class KtFirConstructorSymbol( } } + override val dispatchType: KtType? by cached { + firRef.dispatchReceiverTypeAndAnnotations(builder) + } + override fun createPointer(): KtSymbolPointer = withValidityAssertion { KtPsiBasedSymbolPointer.createForSymbolFromSource(this)?.let { return it } if (symbolKind == KtSymbolKind.LOCAL) { diff --git a/idea/idea-frontend-fir/src/org/jetbrains/kotlin/idea/frontend/api/fir/symbols/KtFirFunctionSymbol.kt b/idea/idea-frontend-fir/src/org/jetbrains/kotlin/idea/frontend/api/fir/symbols/KtFirFunctionSymbol.kt index 84a2e519c7f..b28e9cfc53e 100644 --- a/idea/idea-frontend-fir/src/org/jetbrains/kotlin/idea/frontend/api/fir/symbols/KtFirFunctionSymbol.kt +++ b/idea/idea-frontend-fir/src/org/jetbrains/kotlin/idea/frontend/api/fir/symbols/KtFirFunctionSymbol.kt @@ -21,6 +21,7 @@ import org.jetbrains.kotlin.idea.frontend.api.symbols.markers.* import org.jetbrains.kotlin.idea.frontend.api.symbols.pointers.CanNotCreateSymbolPointerForLocalLibraryDeclarationException import org.jetbrains.kotlin.idea.frontend.api.symbols.pointers.KtPsiBasedSymbolPointer import org.jetbrains.kotlin.idea.frontend.api.symbols.pointers.KtSymbolPointer +import org.jetbrains.kotlin.idea.frontend.api.types.KtType import org.jetbrains.kotlin.name.FqName import org.jetbrains.kotlin.name.Name @@ -54,6 +55,10 @@ internal class KtFirFunctionSymbol( override val isSuspend: Boolean get() = firRef.withFir { it.isSuspend } override val isOverride: Boolean get() = firRef.withFir { it.isOverride } + override val dispatchType: KtType? by cached { + firRef.dispatchReceiverTypeAndAnnotations(builder) + } + override val receiverType: KtTypeAndAnnotations? by cached { firRef.receiverTypeAndAnnotations(builder) } diff --git a/idea/idea-frontend-fir/src/org/jetbrains/kotlin/idea/frontend/api/fir/symbols/KtFirKotlinPropertySymbol.kt b/idea/idea-frontend-fir/src/org/jetbrains/kotlin/idea/frontend/api/fir/symbols/KtFirKotlinPropertySymbol.kt index 3aeef009e88..94dbfb502b2 100644 --- a/idea/idea-frontend-fir/src/org/jetbrains/kotlin/idea/frontend/api/fir/symbols/KtFirKotlinPropertySymbol.kt +++ b/idea/idea-frontend-fir/src/org/jetbrains/kotlin/idea/frontend/api/fir/symbols/KtFirKotlinPropertySymbol.kt @@ -26,6 +26,7 @@ import org.jetbrains.kotlin.idea.frontend.api.symbols.markers.* import org.jetbrains.kotlin.idea.frontend.api.symbols.pointers.CanNotCreateSymbolPointerForLocalLibraryDeclarationException import org.jetbrains.kotlin.idea.frontend.api.symbols.pointers.KtPsiBasedSymbolPointer import org.jetbrains.kotlin.idea.frontend.api.symbols.pointers.KtSymbolPointer +import org.jetbrains.kotlin.idea.frontend.api.types.KtType import org.jetbrains.kotlin.name.FqName import org.jetbrains.kotlin.name.Name @@ -49,6 +50,11 @@ internal class KtFirKotlinPropertySymbol( override val annotatedType: KtTypeAndAnnotations by cached { firRef.returnTypeAndAnnotations(FirResolvePhase.IMPLICIT_TYPES_BODY_RESOLVE, builder) } + + override val dispatchType: KtType? by cached { + firRef.dispatchReceiverTypeAndAnnotations(builder) + } + override val receiverType: KtTypeAndAnnotations? by cached { firRef.receiverTypeAndAnnotations(builder) } diff --git a/idea/idea-frontend-fir/src/org/jetbrains/kotlin/idea/frontend/api/fir/symbols/KtFirPropertyGetterSymbol.kt b/idea/idea-frontend-fir/src/org/jetbrains/kotlin/idea/frontend/api/fir/symbols/KtFirPropertyGetterSymbol.kt index fb2911acd6c..3a0c242d0de 100644 --- a/idea/idea-frontend-fir/src/org/jetbrains/kotlin/idea/frontend/api/fir/symbols/KtFirPropertyGetterSymbol.kt +++ b/idea/idea-frontend-fir/src/org/jetbrains/kotlin/idea/frontend/api/fir/symbols/KtFirPropertyGetterSymbol.kt @@ -18,6 +18,7 @@ import org.jetbrains.kotlin.idea.frontend.api.symbols.KtPropertyGetterSymbol import org.jetbrains.kotlin.idea.frontend.api.symbols.markers.* import org.jetbrains.kotlin.idea.frontend.api.symbols.pointers.KtPsiBasedSymbolPointer import org.jetbrains.kotlin.idea.frontend.api.symbols.pointers.KtSymbolPointer +import org.jetbrains.kotlin.idea.frontend.api.types.KtType internal class KtFirPropertyGetterSymbol( fir: FirPropertyAccessor, @@ -54,6 +55,10 @@ internal class KtFirPropertyGetterSymbol( firRef.toAnnotationsList() } + override val dispatchType: KtType? by cached { + firRef.dispatchReceiverTypeAndAnnotations(builder) + } + override fun createPointer(): KtSymbolPointer { KtPsiBasedSymbolPointer.createForSymbolFromSource(this)?.let { return it } TODO("Creating pointers for getters from library is not supported yet") diff --git a/idea/idea-frontend-fir/src/org/jetbrains/kotlin/idea/frontend/api/fir/symbols/KtFirPropertySetterSymbol.kt b/idea/idea-frontend-fir/src/org/jetbrains/kotlin/idea/frontend/api/fir/symbols/KtFirPropertySetterSymbol.kt index c511cacccd8..ffb8315c10a 100644 --- a/idea/idea-frontend-fir/src/org/jetbrains/kotlin/idea/frontend/api/fir/symbols/KtFirPropertySetterSymbol.kt +++ b/idea/idea-frontend-fir/src/org/jetbrains/kotlin/idea/frontend/api/fir/symbols/KtFirPropertySetterSymbol.kt @@ -16,12 +16,10 @@ import org.jetbrains.kotlin.idea.frontend.api.fir.utils.cached import org.jetbrains.kotlin.idea.frontend.api.fir.utils.firRef import org.jetbrains.kotlin.idea.frontend.api.symbols.KtPropertySetterSymbol import org.jetbrains.kotlin.idea.frontend.api.symbols.KtSetterParameterSymbol -import org.jetbrains.kotlin.idea.frontend.api.symbols.markers.KtAnnotationCall -import org.jetbrains.kotlin.idea.frontend.api.symbols.markers.KtCommonSymbolModality -import org.jetbrains.kotlin.idea.frontend.api.symbols.markers.KtSymbolKind -import org.jetbrains.kotlin.idea.frontend.api.symbols.markers.KtSymbolVisibility +import org.jetbrains.kotlin.idea.frontend.api.symbols.markers.* import org.jetbrains.kotlin.idea.frontend.api.symbols.pointers.KtPsiBasedSymbolPointer import org.jetbrains.kotlin.idea.frontend.api.symbols.pointers.KtSymbolPointer +import org.jetbrains.kotlin.idea.frontend.api.types.KtType internal class KtFirPropertySetterSymbol( fir: FirPropertyAccessor, @@ -58,6 +56,10 @@ internal class KtFirPropertySetterSymbol( } } + override val dispatchType: KtType? by cached { + firRef.dispatchReceiverTypeAndAnnotations(builder) + } + override fun createPointer(): KtSymbolPointer { KtPsiBasedSymbolPointer.createForSymbolFromSource(this)?.let { return it } TODO("Creating pointers for setters from library is not supported yet") diff --git a/idea/idea-frontend-fir/src/org/jetbrains/kotlin/idea/frontend/api/fir/symbols/KtFirSyntheticJavaPropertySymbol.kt b/idea/idea-frontend-fir/src/org/jetbrains/kotlin/idea/frontend/api/fir/symbols/KtFirSyntheticJavaPropertySymbol.kt index ebe2eb44dfe..9a54b6b66a8 100644 --- a/idea/idea-frontend-fir/src/org/jetbrains/kotlin/idea/frontend/api/fir/symbols/KtFirSyntheticJavaPropertySymbol.kt +++ b/idea/idea-frontend-fir/src/org/jetbrains/kotlin/idea/frontend/api/fir/symbols/KtFirSyntheticJavaPropertySymbol.kt @@ -26,6 +26,7 @@ import org.jetbrains.kotlin.idea.frontend.api.symbols.markers.* import org.jetbrains.kotlin.idea.frontend.api.symbols.pointers.CanNotCreateSymbolPointerForLocalLibraryDeclarationException import org.jetbrains.kotlin.idea.frontend.api.symbols.pointers.KtPsiBasedSymbolPointer import org.jetbrains.kotlin.idea.frontend.api.symbols.pointers.KtSymbolPointer +import org.jetbrains.kotlin.idea.frontend.api.types.KtType import org.jetbrains.kotlin.name.FqName import org.jetbrains.kotlin.name.Name @@ -43,6 +44,10 @@ internal class KtFirSyntheticJavaPropertySymbol( override val annotatedType: KtTypeAndAnnotations by cached { firRef.returnTypeAndAnnotations(FirResolvePhase.IMPLICIT_TYPES_BODY_RESOLVE, builder) } + override val dispatchType: KtType? by cached { + firRef.dispatchReceiverTypeAndAnnotations(builder) + } + override val receiverType: KtTypeAndAnnotations? by cached { firRef.receiverTypeAndAnnotations(builder) } diff --git a/idea/idea-frontend-fir/src/org/jetbrains/kotlin/idea/frontend/api/fir/symbols/KtFirTypeAndAnnotations.kt b/idea/idea-frontend-fir/src/org/jetbrains/kotlin/idea/frontend/api/fir/symbols/KtFirTypeAndAnnotations.kt index 99e28dabc68..ce6ef82ce16 100644 --- a/idea/idea-frontend-fir/src/org/jetbrains/kotlin/idea/frontend/api/fir/symbols/KtFirTypeAndAnnotations.kt +++ b/idea/idea-frontend-fir/src/org/jetbrains/kotlin/idea/frontend/api/fir/symbols/KtFirTypeAndAnnotations.kt @@ -75,3 +75,10 @@ internal fun FirRefWithValidityCheck>.receiverTypeAndA } } } + +internal fun FirRefWithValidityCheck>.dispatchReceiverTypeAndAnnotations(builder: KtSymbolByFirBuilder) = + withFir { fir -> + fir.dispatchReceiverType?.let { + builder.buildKtType(it) + } + } \ No newline at end of file diff --git a/idea/idea-frontend-fir/testData/fileScopeTest/simpleFileScope.kt.result b/idea/idea-frontend-fir/testData/fileScopeTest/simpleFileScope.kt.result index 541669d4672..532580e9af3 100644 --- a/idea/idea-frontend-fir/testData/fileScopeTest/simpleFileScope.kt.result +++ b/idea/idea-frontend-fir/testData/fileScopeTest/simpleFileScope.kt.result @@ -11,6 +11,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: test + dispatchType: null isExtension: false isExternal: false isInline: false @@ -30,6 +31,7 @@ KtFirKotlinPropertySymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: testVal + dispatchType: null getter: KtFirPropertyGetterSymbol() hasBackingField: true hasGetter: true diff --git a/idea/idea-frontend-fir/testData/memberScopeByFqName/Int.txt b/idea/idea-frontend-fir/testData/memberScopeByFqName/Int.txt index dfe8059190f..6b8c2c7daba 100644 --- a/idea/idea-frontend-fir/testData/memberScopeByFqName/Int.txt +++ b/idea/idea-frontend-fir/testData/memberScopeByFqName/Int.txt @@ -5,6 +5,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.and + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -24,6 +25,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.compareTo + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -43,6 +45,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.compareTo + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -62,6 +65,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.compareTo + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -81,6 +85,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.compareTo + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -100,6 +105,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.compareTo + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -119,6 +125,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.compareTo + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -138,6 +145,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.dec + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -157,6 +165,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.div + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -176,6 +185,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Double annotations: [] callableIdIfNonLocal: kotlin.Int.div + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -195,6 +205,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Float annotations: [] callableIdIfNonLocal: kotlin.Int.div + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -214,6 +225,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.div + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -233,6 +245,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Long annotations: [] callableIdIfNonLocal: kotlin.Int.div + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -252,6 +265,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.div + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -271,6 +285,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.inc + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -290,6 +305,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.inv + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -309,6 +325,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.minus + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -328,6 +345,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Double annotations: [] callableIdIfNonLocal: kotlin.Int.minus + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -347,6 +365,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Float annotations: [] callableIdIfNonLocal: kotlin.Int.minus + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -366,6 +385,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.minus + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -385,6 +405,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Long annotations: [] callableIdIfNonLocal: kotlin.Int.minus + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -404,6 +425,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.minus + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -423,6 +445,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.or + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -442,6 +465,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.plus + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -461,6 +485,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Double annotations: [] callableIdIfNonLocal: kotlin.Int.plus + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -480,6 +505,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Float annotations: [] callableIdIfNonLocal: kotlin.Int.plus + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -499,6 +525,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.plus + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -518,6 +545,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Long annotations: [] callableIdIfNonLocal: kotlin.Int.plus + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -537,6 +565,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.plus + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -556,6 +585,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/ranges/IntRange annotations: [] callableIdIfNonLocal: kotlin.Int.rangeTo + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -575,6 +605,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/ranges/IntRange annotations: [] callableIdIfNonLocal: kotlin.Int.rangeTo + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -594,6 +625,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/ranges/LongRange annotations: [] callableIdIfNonLocal: kotlin.Int.rangeTo + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -613,6 +645,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/ranges/IntRange annotations: [] callableIdIfNonLocal: kotlin.Int.rangeTo + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -632,6 +665,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [kotlin/SinceKotlin(version = 1.1)] callableIdIfNonLocal: kotlin.Int.rem + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -651,6 +685,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Double annotations: [kotlin/SinceKotlin(version = 1.1)] callableIdIfNonLocal: kotlin.Int.rem + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -670,6 +705,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Float annotations: [kotlin/SinceKotlin(version = 1.1)] callableIdIfNonLocal: kotlin.Int.rem + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -689,6 +725,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [kotlin/SinceKotlin(version = 1.1)] callableIdIfNonLocal: kotlin.Int.rem + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -708,6 +745,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Long annotations: [kotlin/SinceKotlin(version = 1.1)] callableIdIfNonLocal: kotlin.Int.rem + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -727,6 +765,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [kotlin/SinceKotlin(version = 1.1)] callableIdIfNonLocal: kotlin.Int.rem + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -746,6 +785,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.shl + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -765,6 +805,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.shr + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -784,6 +825,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.times + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -803,6 +845,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Double annotations: [] callableIdIfNonLocal: kotlin.Int.times + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -822,6 +865,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Float annotations: [] callableIdIfNonLocal: kotlin.Int.times + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -841,6 +885,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.times + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -860,6 +905,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Long annotations: [] callableIdIfNonLocal: kotlin.Int.times + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -879,6 +925,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.times + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -898,6 +945,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Byte annotations: [] callableIdIfNonLocal: kotlin.Int.toByte + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -917,6 +965,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Char annotations: [] callableIdIfNonLocal: kotlin.Int.toChar + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -936,6 +985,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Double annotations: [] callableIdIfNonLocal: kotlin.Int.toDouble + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -955,6 +1005,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Float annotations: [] callableIdIfNonLocal: kotlin.Int.toFloat + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -974,6 +1025,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.toInt + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -993,6 +1045,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Long annotations: [] callableIdIfNonLocal: kotlin.Int.toLong + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -1012,6 +1065,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Short annotations: [] callableIdIfNonLocal: kotlin.Int.toShort + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -1031,6 +1085,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.unaryMinus + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -1050,6 +1105,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.unaryPlus + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -1069,6 +1125,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.ushr + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -1088,6 +1145,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.xor + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -1107,6 +1165,7 @@ KtFirConstructorSymbol: annotatedType: [] kotlin/Int annotations: [] containingClassIdIfNonLocal: kotlin/Int + dispatchType: null isPrimary: true origin: LIBRARY symbolKind: MEMBER @@ -1118,6 +1177,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Boolean annotations: [] callableIdIfNonLocal: kotlin.Int.equals + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -1137,6 +1197,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.hashCode + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false @@ -1156,6 +1217,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/String annotations: [] callableIdIfNonLocal: kotlin.Int.toString + dispatchType: kotlin/Int isExtension: false isExternal: false isInline: false diff --git a/idea/idea-frontend-fir/testData/memberScopeByFqName/MutableList.txt b/idea/idea-frontend-fir/testData/memberScopeByFqName/MutableList.txt index 7c1140151c4..6edef5f01d5 100644 --- a/idea/idea-frontend-fir/testData/memberScopeByFqName/MutableList.txt +++ b/idea/idea-frontend-fir/testData/memberScopeByFqName/MutableList.txt @@ -5,6 +5,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Boolean annotations: [] callableIdIfNonLocal: kotlin.collections.MutableList.add + dispatchType: kotlin/collections/MutableList isExtension: false isExternal: false isInline: false @@ -24,6 +25,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Unit annotations: [] callableIdIfNonLocal: kotlin.collections.MutableList.add + dispatchType: kotlin/collections/MutableList isExtension: false isExternal: false isInline: false @@ -43,6 +45,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Boolean annotations: [] callableIdIfNonLocal: kotlin.collections.MutableList.addAll + dispatchType: kotlin/collections/MutableList isExtension: false isExternal: false isInline: false @@ -62,6 +65,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Boolean annotations: [] callableIdIfNonLocal: kotlin.collections.MutableList.addAll + dispatchType: kotlin/collections/MutableList isExtension: false isExternal: false isInline: false @@ -81,6 +85,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Unit annotations: [] callableIdIfNonLocal: kotlin.collections.MutableList.clear + dispatchType: kotlin/collections/MutableList isExtension: false isExternal: false isInline: false @@ -100,6 +105,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/collections/MutableListIterator annotations: [] callableIdIfNonLocal: kotlin.collections.MutableList.listIterator + dispatchType: kotlin/collections/MutableList isExtension: false isExternal: false isInline: false @@ -119,6 +125,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/collections/MutableListIterator annotations: [] callableIdIfNonLocal: kotlin.collections.MutableList.listIterator + dispatchType: kotlin/collections/MutableList isExtension: false isExternal: false isInline: false @@ -138,6 +145,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Boolean annotations: [] callableIdIfNonLocal: kotlin.collections.MutableList.remove + dispatchType: kotlin/collections/MutableList isExtension: false isExternal: false isInline: false @@ -157,6 +165,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Boolean annotations: [] callableIdIfNonLocal: kotlin.collections.MutableList.removeAll + dispatchType: kotlin/collections/MutableList isExtension: false isExternal: false isInline: false @@ -176,6 +185,7 @@ KtFirFunctionSymbol: annotatedType: [] E annotations: [] callableIdIfNonLocal: kotlin.collections.MutableList.removeAt + dispatchType: kotlin/collections/MutableList isExtension: false isExternal: false isInline: false @@ -195,6 +205,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Boolean annotations: [] callableIdIfNonLocal: kotlin.collections.MutableList.retainAll + dispatchType: kotlin/collections/MutableList isExtension: false isExternal: false isInline: false @@ -214,6 +225,7 @@ KtFirFunctionSymbol: annotatedType: [] E annotations: [] callableIdIfNonLocal: kotlin.collections.MutableList.set + dispatchType: kotlin/collections/MutableList isExtension: false isExternal: false isInline: false @@ -233,6 +245,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/collections/MutableList annotations: [] callableIdIfNonLocal: kotlin.collections.MutableList.subList + dispatchType: kotlin/collections/MutableList isExtension: false isExternal: false isInline: false @@ -252,6 +265,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Boolean annotations: [] callableIdIfNonLocal: kotlin.collections.MutableList.contains + dispatchType: kotlin/collections/MutableList isExtension: false isExternal: false isInline: false @@ -271,6 +285,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Boolean annotations: [] callableIdIfNonLocal: kotlin.collections.MutableList.containsAll + dispatchType: kotlin/collections/MutableList isExtension: false isExternal: false isInline: false @@ -290,6 +305,7 @@ KtFirFunctionSymbol: annotatedType: [] E annotations: [] callableIdIfNonLocal: kotlin.collections.MutableList.get + dispatchType: kotlin/collections/MutableList isExtension: false isExternal: false isInline: false @@ -309,6 +325,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.collections.MutableList.indexOf + dispatchType: kotlin/collections/MutableList isExtension: false isExternal: false isInline: false @@ -328,6 +345,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Boolean annotations: [] callableIdIfNonLocal: kotlin.collections.MutableList.isEmpty + dispatchType: kotlin/collections/MutableList isExtension: false isExternal: false isInline: false @@ -347,6 +365,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/collections/MutableIterator annotations: [] callableIdIfNonLocal: kotlin.collections.MutableList.iterator + dispatchType: kotlin/collections/MutableList isExtension: false isExternal: false isInline: false @@ -366,6 +385,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.collections.MutableList.lastIndexOf + dispatchType: kotlin/collections/MutableList isExtension: false isExternal: false isInline: false @@ -385,6 +405,7 @@ KtFirKotlinPropertySymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.collections.List.size + dispatchType: kotlin/collections/MutableList getter: null hasBackingField: false hasGetter: false @@ -407,6 +428,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Boolean annotations: [] callableIdIfNonLocal: kotlin.collections.MutableList.equals + dispatchType: kotlin/collections/MutableList isExtension: false isExternal: false isInline: false @@ -426,6 +448,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.collections.MutableList.hashCode + dispatchType: kotlin/collections/MutableList isExtension: false isExternal: false isInline: false @@ -445,6 +468,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/String annotations: [] callableIdIfNonLocal: kotlin.collections.MutableList.toString + dispatchType: kotlin/collections/MutableList isExtension: false isExternal: false isInline: false diff --git a/idea/idea-frontend-fir/testData/memberScopeByFqName/java.lang.String.txt b/idea/idea-frontend-fir/testData/memberScopeByFqName/java.lang.String.txt index cea0285cae3..08d75085f39 100644 --- a/idea/idea-frontend-fir/testData/memberScopeByFqName/java.lang.String.txt +++ b/idea/idea-frontend-fir/testData/memberScopeByFqName/java.lang.String.txt @@ -25,6 +25,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: java.lang.String.hash32 + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -54,6 +55,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: java.lang.String.length + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -73,6 +75,7 @@ KtFirKotlinPropertySymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.CharSequence.length + dispatchType: kotlin/CharSequence getter: KtFirPropertyGetterSymbol() hasBackingField: true hasGetter: true @@ -95,6 +98,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Boolean annotations: [] callableIdIfNonLocal: java.lang.String.isEmpty + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -114,6 +118,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Char annotations: [] callableIdIfNonLocal: java.lang.String.charAt + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -133,6 +138,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: java.lang.String.codePointAt + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -152,6 +158,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: java.lang.String.codePointBefore + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -171,6 +178,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: java.lang.String.codePointCount + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -190,6 +198,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: java.lang.String.offsetByCodePoints + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -209,6 +218,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Unit annotations: [] callableIdIfNonLocal: java.lang.String.getChars + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -228,6 +238,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Unit annotations: [] callableIdIfNonLocal: java.lang.String.getChars + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -247,6 +258,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Unit annotations: [kotlin/Deprecated(message = Deprecated in Java)] callableIdIfNonLocal: java.lang.String.getBytes + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -266,6 +278,7 @@ KtFirFunctionSymbol: annotatedType: [] @EnhancedNullability kotlin/ByteArray annotations: [org/jetbrains/annotations/NotNull()] callableIdIfNonLocal: java.lang.String.getBytes + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -285,6 +298,7 @@ KtFirFunctionSymbol: annotatedType: [] @EnhancedNullability kotlin/ByteArray annotations: [org/jetbrains/annotations/NotNull()] callableIdIfNonLocal: java.lang.String.getBytes + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -304,6 +318,7 @@ KtFirFunctionSymbol: annotatedType: [] @EnhancedNullability kotlin/ByteArray annotations: [org/jetbrains/annotations/NotNull()] callableIdIfNonLocal: java.lang.String.getBytes + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -323,6 +338,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Boolean annotations: [] callableIdIfNonLocal: java.lang.String.equals + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -342,6 +358,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Boolean annotations: [] callableIdIfNonLocal: java.lang.String.contentEquals + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -361,6 +378,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Boolean annotations: [] callableIdIfNonLocal: java.lang.String.contentEquals + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -380,6 +398,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Boolean annotations: [] callableIdIfNonLocal: java.lang.String.equalsIgnoreCase + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -399,6 +418,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: java.lang.String.compareTo + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -418,6 +438,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: java.lang.String.compareToIgnoreCase + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -437,6 +458,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Boolean annotations: [] callableIdIfNonLocal: java.lang.String.regionMatches + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -456,6 +478,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Boolean annotations: [] callableIdIfNonLocal: java.lang.String.regionMatches + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -475,6 +498,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Boolean annotations: [] callableIdIfNonLocal: java.lang.String.startsWith + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -494,6 +518,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Boolean annotations: [] callableIdIfNonLocal: java.lang.String.startsWith + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -513,6 +538,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Boolean annotations: [] callableIdIfNonLocal: java.lang.String.endsWith + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -532,6 +558,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: java.lang.String.hashCode + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -551,6 +578,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: java.lang.String.indexOf + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -570,6 +598,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: java.lang.String.indexOf + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -589,6 +618,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: java.lang.String.indexOf + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -608,6 +638,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: java.lang.String.indexOf + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -627,6 +658,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: java.lang.String.indexOfSupplementary + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -646,6 +678,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: java.lang.String.lastIndexOf + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -665,6 +698,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: java.lang.String.lastIndexOf + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -684,6 +718,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: java.lang.String.lastIndexOf + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -703,6 +738,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: java.lang.String.lastIndexOf + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -722,6 +758,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: java.lang.String.lastIndexOfSupplementary + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -741,6 +778,7 @@ KtFirFunctionSymbol: annotatedType: [] @EnhancedNullability kotlin/String annotations: [org/jetbrains/annotations/NotNull()] callableIdIfNonLocal: java.lang.String.substring + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -760,6 +798,7 @@ KtFirFunctionSymbol: annotatedType: [] @EnhancedNullability kotlin/String annotations: [org/jetbrains/annotations/NotNull()] callableIdIfNonLocal: java.lang.String.substring + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -779,6 +818,7 @@ KtFirFunctionSymbol: annotatedType: [] @EnhancedNullability kotlin/CharSequence annotations: [org/jetbrains/annotations/NotNull()] callableIdIfNonLocal: java.lang.String.subSequence + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -798,6 +838,7 @@ KtFirFunctionSymbol: annotatedType: [] @EnhancedNullability kotlin/String annotations: [org/jetbrains/annotations/NotNull()] callableIdIfNonLocal: java.lang.String.concat + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -817,6 +858,7 @@ KtFirFunctionSymbol: annotatedType: [] @EnhancedNullability kotlin/String annotations: [org/jetbrains/annotations/NotNull()] callableIdIfNonLocal: java.lang.String.replace + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -836,6 +878,7 @@ KtFirFunctionSymbol: annotatedType: [] @EnhancedNullability kotlin/String annotations: [org/jetbrains/annotations/NotNull()] callableIdIfNonLocal: java.lang.String.replace + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -855,6 +898,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Boolean annotations: [] callableIdIfNonLocal: java.lang.String.matches + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -874,6 +918,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Boolean annotations: [] callableIdIfNonLocal: java.lang.String.contains + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -893,6 +938,7 @@ KtFirFunctionSymbol: annotatedType: [] @EnhancedNullability kotlin/String annotations: [org/jetbrains/annotations/NotNull()] callableIdIfNonLocal: java.lang.String.replaceFirst + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -912,6 +958,7 @@ KtFirFunctionSymbol: annotatedType: [] @EnhancedNullability kotlin/String annotations: [org/jetbrains/annotations/NotNull()] callableIdIfNonLocal: java.lang.String.replaceAll + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -931,6 +978,7 @@ KtFirFunctionSymbol: annotatedType: [] ft<@EnhancedNullability kotlin/Array!>, @EnhancedNullability kotlin/Array!>> annotations: [org/jetbrains/annotations/NotNull()] callableIdIfNonLocal: java.lang.String.split + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -950,6 +998,7 @@ KtFirFunctionSymbol: annotatedType: [] ft<@EnhancedNullability kotlin/Array!>, @EnhancedNullability kotlin/Array!>> annotations: [org/jetbrains/annotations/NotNull()] callableIdIfNonLocal: java.lang.String.split + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -969,6 +1018,7 @@ KtFirFunctionSymbol: annotatedType: [] @EnhancedNullability kotlin/String annotations: [org/jetbrains/annotations/NotNull()] callableIdIfNonLocal: java.lang.String.toLowerCase + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -988,6 +1038,7 @@ KtFirFunctionSymbol: annotatedType: [] @EnhancedNullability kotlin/String annotations: [org/jetbrains/annotations/NotNull()] callableIdIfNonLocal: java.lang.String.toLowerCase + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -1007,6 +1058,7 @@ KtFirFunctionSymbol: annotatedType: [] @EnhancedNullability kotlin/String annotations: [org/jetbrains/annotations/NotNull()] callableIdIfNonLocal: java.lang.String.toUpperCase + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -1026,6 +1078,7 @@ KtFirFunctionSymbol: annotatedType: [] @EnhancedNullability kotlin/String annotations: [org/jetbrains/annotations/NotNull()] callableIdIfNonLocal: java.lang.String.toUpperCase + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -1045,6 +1098,7 @@ KtFirFunctionSymbol: annotatedType: [] @EnhancedNullability kotlin/String annotations: [org/jetbrains/annotations/NotNull()] callableIdIfNonLocal: java.lang.String.trim + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -1064,6 +1118,7 @@ KtFirFunctionSymbol: annotatedType: [] @FlexibleNullability kotlin/String annotations: [] callableIdIfNonLocal: java.lang.String.toString + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -1083,6 +1138,7 @@ KtFirFunctionSymbol: annotatedType: [] @EnhancedNullability kotlin/CharArray annotations: [org/jetbrains/annotations/NotNull()] callableIdIfNonLocal: java.lang.String.toCharArray + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -1102,6 +1158,7 @@ KtFirFunctionSymbol: annotatedType: [] @EnhancedNullability kotlin/String annotations: [org/jetbrains/annotations/NotNull()] callableIdIfNonLocal: java.lang.String.intern + dispatchType: java/lang/String isExtension: false isExternal: false isInline: false @@ -1121,6 +1178,7 @@ KtFirConstructorSymbol: annotatedType: [] java/lang/String annotations: [] containingClassIdIfNonLocal: java/lang/String + dispatchType: null isPrimary: false origin: JAVA symbolKind: MEMBER @@ -1132,6 +1190,7 @@ KtFirConstructorSymbol: annotatedType: [] java/lang/String annotations: [] containingClassIdIfNonLocal: java/lang/String + dispatchType: null isPrimary: false origin: JAVA symbolKind: MEMBER @@ -1143,6 +1202,7 @@ KtFirConstructorSymbol: annotatedType: [] java/lang/String annotations: [] containingClassIdIfNonLocal: java/lang/String + dispatchType: null isPrimary: false origin: JAVA symbolKind: MEMBER @@ -1154,6 +1214,7 @@ KtFirConstructorSymbol: annotatedType: [] java/lang/String annotations: [] containingClassIdIfNonLocal: java/lang/String + dispatchType: null isPrimary: false origin: JAVA symbolKind: MEMBER @@ -1165,6 +1226,7 @@ KtFirConstructorSymbol: annotatedType: [] java/lang/String annotations: [] containingClassIdIfNonLocal: java/lang/String + dispatchType: null isPrimary: false origin: JAVA symbolKind: MEMBER @@ -1176,6 +1238,7 @@ KtFirConstructorSymbol: annotatedType: [] java/lang/String annotations: [kotlin/Deprecated(message = Deprecated in Java)] containingClassIdIfNonLocal: java/lang/String + dispatchType: null isPrimary: false origin: JAVA symbolKind: MEMBER @@ -1187,6 +1250,7 @@ KtFirConstructorSymbol: annotatedType: [] java/lang/String annotations: [kotlin/Deprecated(message = Deprecated in Java)] containingClassIdIfNonLocal: java/lang/String + dispatchType: null isPrimary: false origin: JAVA symbolKind: MEMBER @@ -1198,6 +1262,7 @@ KtFirConstructorSymbol: annotatedType: [] java/lang/String annotations: [] containingClassIdIfNonLocal: java/lang/String + dispatchType: null isPrimary: false origin: JAVA symbolKind: MEMBER @@ -1209,6 +1274,7 @@ KtFirConstructorSymbol: annotatedType: [] java/lang/String annotations: [] containingClassIdIfNonLocal: java/lang/String + dispatchType: null isPrimary: false origin: JAVA symbolKind: MEMBER @@ -1220,6 +1286,7 @@ KtFirConstructorSymbol: annotatedType: [] java/lang/String annotations: [] containingClassIdIfNonLocal: java/lang/String + dispatchType: null isPrimary: false origin: JAVA symbolKind: MEMBER @@ -1231,6 +1298,7 @@ KtFirConstructorSymbol: annotatedType: [] java/lang/String annotations: [] containingClassIdIfNonLocal: java/lang/String + dispatchType: null isPrimary: false origin: JAVA symbolKind: MEMBER @@ -1242,6 +1310,7 @@ KtFirConstructorSymbol: annotatedType: [] java/lang/String annotations: [] containingClassIdIfNonLocal: java/lang/String + dispatchType: null isPrimary: false origin: JAVA symbolKind: MEMBER @@ -1253,6 +1322,7 @@ KtFirConstructorSymbol: annotatedType: [] java/lang/String annotations: [] containingClassIdIfNonLocal: java/lang/String + dispatchType: null isPrimary: false origin: JAVA symbolKind: MEMBER @@ -1264,6 +1334,7 @@ KtFirConstructorSymbol: annotatedType: [] java/lang/String annotations: [] containingClassIdIfNonLocal: java/lang/String + dispatchType: null isPrimary: false origin: JAVA symbolKind: MEMBER @@ -1275,6 +1346,7 @@ KtFirConstructorSymbol: annotatedType: [] java/lang/String annotations: [] containingClassIdIfNonLocal: java/lang/String + dispatchType: null isPrimary: false origin: JAVA symbolKind: MEMBER @@ -1286,6 +1358,7 @@ KtFirConstructorSymbol: annotatedType: [] java/lang/String annotations: [] containingClassIdIfNonLocal: java/lang/String + dispatchType: null isPrimary: false origin: JAVA symbolKind: MEMBER @@ -1297,6 +1370,7 @@ KtFirConstructorSymbol: annotatedType: [] java/lang/String annotations: [kotlin/Deprecated(message = Deprecated in Java)] containingClassIdIfNonLocal: java/lang/String + dispatchType: null isPrimary: false origin: JAVA symbolKind: MEMBER @@ -1308,6 +1382,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Char annotations: [] callableIdIfNonLocal: kotlin.CharSequence.get + dispatchType: kotlin/CharSequence isExtension: false isExternal: false isInline: false diff --git a/idea/idea-frontend-fir/testData/resoreSymbolFromLibrary/memberFunction.txt b/idea/idea-frontend-fir/testData/resoreSymbolFromLibrary/memberFunction.txt index c7c45da403b..6758dd21f39 100644 --- a/idea/idea-frontend-fir/testData/resoreSymbolFromLibrary/memberFunction.txt +++ b/idea/idea-frontend-fir/testData/resoreSymbolFromLibrary/memberFunction.txt @@ -5,6 +5,7 @@ KtFirFunctionSymbol: annotatedType: [] E annotations: [] callableIdIfNonLocal: kotlin.collections.List.get + dispatchType: kotlin/collections/List isExtension: false isExternal: false isInline: false diff --git a/idea/idea-frontend-fir/testData/resoreSymbolFromLibrary/memberFunctionWithOverloads.txt b/idea/idea-frontend-fir/testData/resoreSymbolFromLibrary/memberFunctionWithOverloads.txt index 8125eaeb298..26ed2902730 100644 --- a/idea/idea-frontend-fir/testData/resoreSymbolFromLibrary/memberFunctionWithOverloads.txt +++ b/idea/idea-frontend-fir/testData/resoreSymbolFromLibrary/memberFunctionWithOverloads.txt @@ -5,6 +5,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/collections/ListIterator annotations: [] callableIdIfNonLocal: kotlin.collections.List.listIterator + dispatchType: kotlin/collections/List isExtension: false isExternal: false isInline: false @@ -24,6 +25,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/collections/ListIterator annotations: [] callableIdIfNonLocal: kotlin.collections.List.listIterator + dispatchType: kotlin/collections/List isExtension: false isExternal: false isInline: false diff --git a/idea/idea-frontend-fir/testData/symbolPointer/classPrimaryConstructor.kt b/idea/idea-frontend-fir/testData/symbolPointer/classPrimaryConstructor.kt index aaaac70c913..54dd3b9d907 100644 --- a/idea/idea-frontend-fir/testData/symbolPointer/classPrimaryConstructor.kt +++ b/idea/idea-frontend-fir/testData/symbolPointer/classPrimaryConstructor.kt @@ -6,6 +6,7 @@ KtFirConstructorSymbol: annotatedType: [] A annotations: [] containingClassIdIfNonLocal: A + dispatchType: null isPrimary: true origin: SOURCE symbolKind: MEMBER diff --git a/idea/idea-frontend-fir/testData/symbolPointer/classSecondaryConstructors.kt b/idea/idea-frontend-fir/testData/symbolPointer/classSecondaryConstructors.kt index e51abfa0c72..67bb868e3b7 100644 --- a/idea/idea-frontend-fir/testData/symbolPointer/classSecondaryConstructors.kt +++ b/idea/idea-frontend-fir/testData/symbolPointer/classSecondaryConstructors.kt @@ -8,6 +8,7 @@ KtFirConstructorSymbol: annotatedType: [] A annotations: [] containingClassIdIfNonLocal: A + dispatchType: null isPrimary: true origin: SOURCE symbolKind: MEMBER @@ -28,6 +29,7 @@ KtFirConstructorSymbol: annotatedType: [] A annotations: [] containingClassIdIfNonLocal: A + dispatchType: null isPrimary: false origin: SOURCE symbolKind: MEMBER @@ -57,6 +59,7 @@ KtFirConstructorSymbol: annotatedType: [] A annotations: [] containingClassIdIfNonLocal: A + dispatchType: null isPrimary: false origin: SOURCE symbolKind: MEMBER diff --git a/idea/idea-frontend-fir/testData/symbolPointer/memberFunctions.kt b/idea/idea-frontend-fir/testData/symbolPointer/memberFunctions.kt index 810058a5442..b4616a34c0d 100644 --- a/idea/idea-frontend-fir/testData/symbolPointer/memberFunctions.kt +++ b/idea/idea-frontend-fir/testData/symbolPointer/memberFunctions.kt @@ -8,6 +8,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: A.x + dispatchType: A isExtension: false isExternal: false isInline: false @@ -27,6 +28,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Unit annotations: [] callableIdIfNonLocal: A.y + dispatchType: A isExtension: false isExternal: false isInline: false diff --git a/idea/idea-frontend-fir/testData/symbolPointer/memberProperties.kt b/idea/idea-frontend-fir/testData/symbolPointer/memberProperties.kt index 76c897c9fa3..89c57879e93 100644 --- a/idea/idea-frontend-fir/testData/symbolPointer/memberProperties.kt +++ b/idea/idea-frontend-fir/testData/symbolPointer/memberProperties.kt @@ -8,6 +8,7 @@ KtFirKotlinPropertySymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: A.x + dispatchType: A getter: KtFirPropertyGetterSymbol() hasBackingField: true hasGetter: true @@ -29,6 +30,7 @@ KtFirKotlinPropertySymbol: KtFirPropertyGetterSymbol: annotatedType: [] kotlin/Int annotations: [] + dispatchType: null hasBody: true isDefault: false isInline: false @@ -42,6 +44,7 @@ KtFirKotlinPropertySymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: A.y + dispatchType: A getter: KtFirPropertyGetterSymbol() hasBackingField: false hasGetter: true diff --git a/idea/idea-frontend-fir/testData/symbolPointer/topLevelFunctions.kt b/idea/idea-frontend-fir/testData/symbolPointer/topLevelFunctions.kt index c7d38974d80..074f7d70e36 100644 --- a/idea/idea-frontend-fir/testData/symbolPointer/topLevelFunctions.kt +++ b/idea/idea-frontend-fir/testData/symbolPointer/topLevelFunctions.kt @@ -6,6 +6,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: x + dispatchType: null isExtension: false isExternal: false isInline: false @@ -25,6 +26,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Unit annotations: [] callableIdIfNonLocal: y + dispatchType: null isExtension: false isExternal: false isInline: false diff --git a/idea/idea-frontend-fir/testData/symbolPointer/topLevelProperties.kt b/idea/idea-frontend-fir/testData/symbolPointer/topLevelProperties.kt index df1908ba32b..44f9b23d5c7 100644 --- a/idea/idea-frontend-fir/testData/symbolPointer/topLevelProperties.kt +++ b/idea/idea-frontend-fir/testData/symbolPointer/topLevelProperties.kt @@ -6,6 +6,7 @@ KtFirKotlinPropertySymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: x + dispatchType: null getter: KtFirPropertyGetterSymbol() hasBackingField: true hasGetter: true @@ -27,6 +28,7 @@ KtFirKotlinPropertySymbol: KtFirPropertyGetterSymbol: annotatedType: [] kotlin/Int annotations: [] + dispatchType: null hasBody: true isDefault: false isInline: false @@ -40,6 +42,7 @@ KtFirKotlinPropertySymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: y + dispatchType: null getter: KtFirPropertyGetterSymbol() hasBackingField: false hasGetter: true diff --git a/idea/idea-frontend-fir/testData/symbolsByFqName/fileWalkDirectionEnum.txt b/idea/idea-frontend-fir/testData/symbolsByFqName/fileWalkDirectionEnum.txt index 5c18c8c2598..c68d73154f3 100644 --- a/idea/idea-frontend-fir/testData/symbolsByFqName/fileWalkDirectionEnum.txt +++ b/idea/idea-frontend-fir/testData/symbolsByFqName/fileWalkDirectionEnum.txt @@ -5,6 +5,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/collections/List annotations: [] callableIdIfNonLocal: kotlin.collections.listOf + dispatchType: null isExtension: false isExternal: false isInline: false @@ -24,6 +25,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/collections/List annotations: [] callableIdIfNonLocal: kotlin.collections.listOf + dispatchType: null isExtension: false isExternal: false isInline: true @@ -43,6 +45,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/collections/List annotations: [] callableIdIfNonLocal: kotlin.collections.listOf + dispatchType: null isExtension: false isExternal: false isInline: false diff --git a/idea/idea-frontend-fir/testData/symbolsByPsi/annotations.kt b/idea/idea-frontend-fir/testData/symbolsByPsi/annotations.kt index d0797453ad5..2f1e266fbc8 100644 --- a/idea/idea-frontend-fir/testData/symbolsByPsi/annotations.kt +++ b/idea/idea-frontend-fir/testData/symbolsByPsi/annotations.kt @@ -33,6 +33,7 @@ KtFirConstructorSymbol: annotatedType: [] Anno annotations: [] containingClassIdIfNonLocal: Anno + dispatchType: null isPrimary: true origin: SOURCE symbolKind: MEMBER @@ -63,6 +64,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Unit annotations: [Anno(param1 = funparam, param2 = 3)] callableIdIfNonLocal: X.x + dispatchType: X isExtension: false isExternal: false isInline: false diff --git a/idea/idea-frontend-fir/testData/symbolsByPsi/anonymousObject.kt b/idea/idea-frontend-fir/testData/symbolsByPsi/anonymousObject.kt index 7b5d0a5f525..fdebaa81e17 100644 --- a/idea/idea-frontend-fir/testData/symbolsByPsi/anonymousObject.kt +++ b/idea/idea-frontend-fir/testData/symbolsByPsi/anonymousObject.kt @@ -13,6 +13,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Unit annotations: [] callableIdIfNonLocal: .run + dispatchType: isExtension: false isExternal: false isInline: false @@ -32,6 +33,7 @@ KtFirKotlinPropertySymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: .data + dispatchType: getter: KtFirPropertyGetterSymbol() hasBackingField: true hasGetter: true @@ -60,6 +62,7 @@ KtFirKotlinPropertySymbol: annotatedType: [] java/lang/Runnable annotations: [] callableIdIfNonLocal: AnonymousContainer.anonymousObject + dispatchType: AnonymousContainer getter: KtFirPropertyGetterSymbol() hasBackingField: true hasGetter: true diff --git a/idea/idea-frontend-fir/testData/symbolsByPsi/classMembes.kt b/idea/idea-frontend-fir/testData/symbolsByPsi/classMembes.kt index be0f5d831e6..04f402198a9 100644 --- a/idea/idea-frontend-fir/testData/symbolsByPsi/classMembes.kt +++ b/idea/idea-frontend-fir/testData/symbolsByPsi/classMembes.kt @@ -9,6 +9,7 @@ KtFirKotlinPropertySymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: A.a + dispatchType: A getter: KtFirPropertyGetterSymbol() hasBackingField: true hasGetter: true @@ -31,6 +32,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: A.x + dispatchType: A isExtension: false isExternal: false isInline: false diff --git a/idea/idea-frontend-fir/testData/symbolsByPsi/extensionFunction.kt b/idea/idea-frontend-fir/testData/symbolsByPsi/extensionFunction.kt index e9515d30828..a7d9de92c96 100644 --- a/idea/idea-frontend-fir/testData/symbolsByPsi/extensionFunction.kt +++ b/idea/idea-frontend-fir/testData/symbolsByPsi/extensionFunction.kt @@ -6,6 +6,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: foo + dispatchType: null isExtension: true isExternal: false isInline: false diff --git a/idea/idea-frontend-fir/testData/symbolsByPsi/function.kt b/idea/idea-frontend-fir/testData/symbolsByPsi/function.kt index 4c2b5c9bb38..162823828f4 100644 --- a/idea/idea-frontend-fir/testData/symbolsByPsi/function.kt +++ b/idea/idea-frontend-fir/testData/symbolsByPsi/function.kt @@ -15,6 +15,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Unit annotations: [] callableIdIfNonLocal: foo + dispatchType: null isExtension: false isExternal: false isInline: false diff --git a/idea/idea-frontend-fir/testData/symbolsByPsi/functionWithTypeParams.kt b/idea/idea-frontend-fir/testData/symbolsByPsi/functionWithTypeParams.kt index 05223aa7c30..1a63291d805 100644 --- a/idea/idea-frontend-fir/testData/symbolsByPsi/functionWithTypeParams.kt +++ b/idea/idea-frontend-fir/testData/symbolsByPsi/functionWithTypeParams.kt @@ -22,6 +22,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Unit annotations: [] callableIdIfNonLocal: foo + dispatchType: null isExtension: false isExternal: false isInline: false diff --git a/idea/idea-frontend-fir/testData/symbolsByPsi/implicitReturn.kt b/idea/idea-frontend-fir/testData/symbolsByPsi/implicitReturn.kt index 4cc39a204e0..55b27d27cc7 100644 --- a/idea/idea-frontend-fir/testData/symbolsByPsi/implicitReturn.kt +++ b/idea/idea-frontend-fir/testData/symbolsByPsi/implicitReturn.kt @@ -6,6 +6,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: foo + dispatchType: null isExtension: false isExternal: false isInline: false diff --git a/idea/idea-frontend-fir/testData/symbolsByPsi/localDeclarations.kt b/idea/idea-frontend-fir/testData/symbolsByPsi/localDeclarations.kt index c86dabf4d67..bf109979ae3 100644 --- a/idea/idea-frontend-fir/testData/symbolsByPsi/localDeclarations.kt +++ b/idea/idea-frontend-fir/testData/symbolsByPsi/localDeclarations.kt @@ -18,6 +18,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Unit annotations: [] callableIdIfNonLocal: null + dispatchType: null isExtension: false isExternal: false isInline: false @@ -56,6 +57,7 @@ KtFirFunctionSymbol: annotatedType: [] kotlin/Unit annotations: [] callableIdIfNonLocal: yyy + dispatchType: null isExtension: false isExternal: false isInline: false diff --git a/idea/idea-frontend-fir/testData/symbolsByPsi/typeAnnotations.kt b/idea/idea-frontend-fir/testData/symbolsByPsi/typeAnnotations.kt index 0da2a83746f..386c48be9d0 100644 --- a/idea/idea-frontend-fir/testData/symbolsByPsi/typeAnnotations.kt +++ b/idea/idea-frontend-fir/testData/symbolsByPsi/typeAnnotations.kt @@ -125,6 +125,7 @@ KtFirFunctionSymbol: annotatedType: [Anno3()] I annotations: [] callableIdIfNonLocal: X.f + dispatchType: X isExtension: false isExternal: false isInline: false @@ -144,6 +145,7 @@ KtFirKotlinPropertySymbol: annotatedType: [Anno4()] I annotations: [] callableIdIfNonLocal: X.x + dispatchType: X getter: KtFirPropertyGetterSymbol() hasBackingField: true hasGetter: true