From c4b708b5dcc1120301c9b1ab8ae8683c689c0b0d Mon Sep 17 00:00:00 2001 From: Igor Yakovlev Date: Thu, 17 Dec 2020 18:09:13 +0300 Subject: [PATCH] [FIR IDE] Fixed test data for types --- .../fileScopeTest/simpleFileScope.kt.result | 12 +- .../testData/memberScopeByFqName/Int.txt | 248 ++++++++-------- .../memberScopeByFqName/MutableList.txt | 96 +++--- .../memberScopeByFqName/java.lang.String.txt | 274 +++++++++--------- .../resoreSymbolFromLibrary/class.txt | 2 +- .../resoreSymbolFromLibrary/classFromJdk.txt | 2 +- .../resoreSymbolFromLibrary/enumEntry.txt | 2 +- .../memberFunction.txt | 4 +- .../memberFunctionWithOverloads.txt | 8 +- .../resoreSymbolFromLibrary/nestedClass.txt | 2 +- .../testData/symbolPointer/class.kt | 2 +- .../symbolPointer/classPrimaryConstructor.kt | 4 +- .../classSecondaryConstructors.kt | 14 +- .../testData/symbolPointer/enum.kt | 6 +- .../testData/symbolPointer/memberFunctions.kt | 10 +- .../symbolPointer/memberProperties.kt | 12 +- .../symbolPointer/topLevelFunctions.kt | 8 +- .../symbolPointer/topLevelProperties.kt | 10 +- .../symbolsByFqName/fileWalkDirectionEnum.txt | 12 +- .../testData/symbolsByFqName/iterator.txt | 2 +- .../testData/symbolsByFqName/listOf.txt | 2 +- .../testData/symbolsByPsi/annotations.kt | 14 +- .../testData/symbolsByPsi/anonymousObject.kt | 16 +- .../testData/symbolsByPsi/class.kt | 2 +- .../testData/symbolsByPsi/classMembes.kt | 10 +- .../symbolsByPsi/classWithTypeParams.kt | 2 +- .../symbolsByPsi/extensionFunction.kt | 4 +- .../testData/symbolsByPsi/function.kt | 6 +- .../symbolsByPsi/functionWithTypeParams.kt | 6 +- .../testData/symbolsByPsi/implicitReturn.kt | 4 +- .../symbolsByPsi/localDeclarations.kt | 12 +- .../api/fir/AbstractResolveCallTest.kt | 6 +- 32 files changed, 407 insertions(+), 407 deletions(-) diff --git a/idea/idea-frontend-fir/testData/fileScopeTest/simpleFileScope.kt.result b/idea/idea-frontend-fir/testData/fileScopeTest/simpleFileScope.kt.result index 02f237af8fd..d3a8a218da9 100644 --- a/idea/idea-frontend-fir/testData/fileScopeTest/simpleFileScope.kt.result +++ b/idea/idea-frontend-fir/testData/fileScopeTest/simpleFileScope.kt.result @@ -8,6 +8,7 @@ CALLABLE NAMES: CALLABLE SYMBOLS: KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: test isExtension: false @@ -19,14 +20,14 @@ KtFirFunctionSymbol: modality: FINAL name: test origin: SOURCE - receiverTypeAndAnnotations: null + receiverType: null symbolKind: TOP_LEVEL - type: kotlin/Int typeParameters: [] valueParameters: [] visibility: PUBLIC KtFirKotlinPropertySymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: testVal getter: KtFirPropertyGetterSymbol() @@ -42,10 +43,9 @@ KtFirKotlinPropertySymbol: modality: FINAL name: testVal origin: SOURCE - receiverTypeAndAnnotations: null + receiverType: null setter: null symbolKind: TOP_LEVEL - type: kotlin/Int visibility: PUBLIC CLASSIFIER NAMES: @@ -62,7 +62,7 @@ KtFirClassOrObjectSymbol: name: C origin: SOURCE primaryConstructor: KtFirConstructorSymbol() - superTypes: [kotlin/Any] + superTypes: [[] kotlin/Any] symbolKind: TOP_LEVEL typeParameters: [] visibility: PUBLIC @@ -77,7 +77,7 @@ KtFirClassOrObjectSymbol: name: I origin: SOURCE primaryConstructor: null - superTypes: [kotlin/Any] + superTypes: [[] kotlin/Any] symbolKind: TOP_LEVEL typeParameters: [] visibility: PUBLIC diff --git a/idea/idea-frontend-fir/testData/memberScopeByFqName/Int.txt b/idea/idea-frontend-fir/testData/memberScopeByFqName/Int.txt index 4ba5de9ca15..ace6a3febd4 100644 --- a/idea/idea-frontend-fir/testData/memberScopeByFqName/Int.txt +++ b/idea/idea-frontend-fir/testData/memberScopeByFqName/Int.txt @@ -2,6 +2,7 @@ class: kotlin/Int // SYMBOLS: KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.and isExtension: false @@ -13,14 +14,14 @@ KtFirFunctionSymbol: modality: FINAL name: and origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(other)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.compareTo isExtension: false @@ -32,14 +33,14 @@ KtFirFunctionSymbol: modality: FINAL name: compareTo origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(other)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.compareTo isExtension: false @@ -51,14 +52,14 @@ KtFirFunctionSymbol: modality: FINAL name: compareTo origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(other)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.compareTo isExtension: false @@ -70,14 +71,14 @@ KtFirFunctionSymbol: modality: FINAL name: compareTo origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(other)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.compareTo isExtension: false @@ -89,14 +90,14 @@ KtFirFunctionSymbol: modality: OPEN name: compareTo origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(other)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.compareTo isExtension: false @@ -108,14 +109,14 @@ KtFirFunctionSymbol: modality: FINAL name: compareTo origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(other)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.compareTo isExtension: false @@ -127,14 +128,14 @@ KtFirFunctionSymbol: modality: FINAL name: compareTo origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(other)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.dec isExtension: false @@ -146,14 +147,14 @@ KtFirFunctionSymbol: modality: FINAL name: dec origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.div isExtension: false @@ -165,14 +166,14 @@ KtFirFunctionSymbol: modality: FINAL name: div origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(other)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Double annotations: [] callableIdIfNonLocal: kotlin.Int.div isExtension: false @@ -184,14 +185,14 @@ KtFirFunctionSymbol: modality: FINAL name: div origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Double typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(other)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Float annotations: [] callableIdIfNonLocal: kotlin.Int.div isExtension: false @@ -203,14 +204,14 @@ KtFirFunctionSymbol: modality: FINAL name: div origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Float typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(other)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.div isExtension: false @@ -222,14 +223,14 @@ KtFirFunctionSymbol: modality: FINAL name: div origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(other)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Long annotations: [] callableIdIfNonLocal: kotlin.Int.div isExtension: false @@ -241,14 +242,14 @@ KtFirFunctionSymbol: modality: FINAL name: div origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Long typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(other)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.div isExtension: false @@ -260,14 +261,14 @@ KtFirFunctionSymbol: modality: FINAL name: div origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(other)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.inc isExtension: false @@ -279,14 +280,14 @@ KtFirFunctionSymbol: modality: FINAL name: inc origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.inv isExtension: false @@ -298,14 +299,14 @@ KtFirFunctionSymbol: modality: FINAL name: inv origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.minus isExtension: false @@ -317,14 +318,14 @@ KtFirFunctionSymbol: modality: FINAL name: minus origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(other)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Double annotations: [] callableIdIfNonLocal: kotlin.Int.minus isExtension: false @@ -336,14 +337,14 @@ KtFirFunctionSymbol: modality: FINAL name: minus origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Double typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(other)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Float annotations: [] callableIdIfNonLocal: kotlin.Int.minus isExtension: false @@ -355,14 +356,14 @@ KtFirFunctionSymbol: modality: FINAL name: minus origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Float typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(other)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.minus isExtension: false @@ -374,14 +375,14 @@ KtFirFunctionSymbol: modality: FINAL name: minus origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(other)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Long annotations: [] callableIdIfNonLocal: kotlin.Int.minus isExtension: false @@ -393,14 +394,14 @@ KtFirFunctionSymbol: modality: FINAL name: minus origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Long typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(other)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.minus isExtension: false @@ -412,14 +413,14 @@ KtFirFunctionSymbol: modality: FINAL name: minus origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(other)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.or isExtension: false @@ -431,14 +432,14 @@ KtFirFunctionSymbol: modality: FINAL name: or origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(other)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.plus isExtension: false @@ -450,14 +451,14 @@ KtFirFunctionSymbol: modality: FINAL name: plus origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(other)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Double annotations: [] callableIdIfNonLocal: kotlin.Int.plus isExtension: false @@ -469,14 +470,14 @@ KtFirFunctionSymbol: modality: FINAL name: plus origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Double typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(other)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Float annotations: [] callableIdIfNonLocal: kotlin.Int.plus isExtension: false @@ -488,14 +489,14 @@ KtFirFunctionSymbol: modality: FINAL name: plus origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Float typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(other)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.plus isExtension: false @@ -507,14 +508,14 @@ KtFirFunctionSymbol: modality: FINAL name: plus origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(other)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Long annotations: [] callableIdIfNonLocal: kotlin.Int.plus isExtension: false @@ -526,14 +527,14 @@ KtFirFunctionSymbol: modality: FINAL name: plus origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Long typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(other)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.plus isExtension: false @@ -545,14 +546,14 @@ KtFirFunctionSymbol: modality: FINAL name: plus origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(other)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/ranges/IntRange annotations: [] callableIdIfNonLocal: kotlin.Int.rangeTo isExtension: false @@ -564,14 +565,14 @@ KtFirFunctionSymbol: modality: FINAL name: rangeTo origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/ranges/IntRange typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(other)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/ranges/IntRange annotations: [] callableIdIfNonLocal: kotlin.Int.rangeTo isExtension: false @@ -583,14 +584,14 @@ KtFirFunctionSymbol: modality: FINAL name: rangeTo origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/ranges/IntRange typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(other)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/ranges/LongRange annotations: [] callableIdIfNonLocal: kotlin.Int.rangeTo isExtension: false @@ -602,14 +603,14 @@ KtFirFunctionSymbol: modality: FINAL name: rangeTo origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/ranges/LongRange typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(other)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/ranges/IntRange annotations: [] callableIdIfNonLocal: kotlin.Int.rangeTo isExtension: false @@ -621,14 +622,14 @@ KtFirFunctionSymbol: modality: FINAL name: rangeTo origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/ranges/IntRange typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(other)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [kotlin/SinceKotlin(version = 1.1)] callableIdIfNonLocal: kotlin.Int.rem isExtension: false @@ -640,14 +641,14 @@ KtFirFunctionSymbol: modality: FINAL name: rem origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(other)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Double annotations: [kotlin/SinceKotlin(version = 1.1)] callableIdIfNonLocal: kotlin.Int.rem isExtension: false @@ -659,14 +660,14 @@ KtFirFunctionSymbol: modality: FINAL name: rem origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Double typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(other)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Float annotations: [kotlin/SinceKotlin(version = 1.1)] callableIdIfNonLocal: kotlin.Int.rem isExtension: false @@ -678,14 +679,14 @@ KtFirFunctionSymbol: modality: FINAL name: rem origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Float typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(other)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [kotlin/SinceKotlin(version = 1.1)] callableIdIfNonLocal: kotlin.Int.rem isExtension: false @@ -697,14 +698,14 @@ KtFirFunctionSymbol: modality: FINAL name: rem origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(other)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Long annotations: [kotlin/SinceKotlin(version = 1.1)] callableIdIfNonLocal: kotlin.Int.rem isExtension: false @@ -716,14 +717,14 @@ KtFirFunctionSymbol: modality: FINAL name: rem origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Long typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(other)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [kotlin/SinceKotlin(version = 1.1)] callableIdIfNonLocal: kotlin.Int.rem isExtension: false @@ -735,14 +736,14 @@ KtFirFunctionSymbol: modality: FINAL name: rem origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(other)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.shl isExtension: false @@ -754,14 +755,14 @@ KtFirFunctionSymbol: modality: FINAL name: shl origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(bitCount)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.shr isExtension: false @@ -773,14 +774,14 @@ KtFirFunctionSymbol: modality: FINAL name: shr origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(bitCount)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.times isExtension: false @@ -792,14 +793,14 @@ KtFirFunctionSymbol: modality: FINAL name: times origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(other)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Double annotations: [] callableIdIfNonLocal: kotlin.Int.times isExtension: false @@ -811,14 +812,14 @@ KtFirFunctionSymbol: modality: FINAL name: times origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Double typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(other)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Float annotations: [] callableIdIfNonLocal: kotlin.Int.times isExtension: false @@ -830,14 +831,14 @@ KtFirFunctionSymbol: modality: FINAL name: times origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Float typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(other)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.times isExtension: false @@ -849,14 +850,14 @@ KtFirFunctionSymbol: modality: FINAL name: times origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(other)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Long annotations: [] callableIdIfNonLocal: kotlin.Int.times isExtension: false @@ -868,14 +869,14 @@ KtFirFunctionSymbol: modality: FINAL name: times origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Long typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(other)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.times isExtension: false @@ -887,14 +888,14 @@ KtFirFunctionSymbol: modality: FINAL name: times origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(other)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Byte annotations: [] callableIdIfNonLocal: kotlin.Int.toByte isExtension: false @@ -906,14 +907,14 @@ KtFirFunctionSymbol: modality: OPEN name: toByte origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Byte typeParameters: [] valueParameters: [] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Char annotations: [] callableIdIfNonLocal: kotlin.Int.toChar isExtension: false @@ -925,14 +926,14 @@ KtFirFunctionSymbol: modality: OPEN name: toChar origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Char typeParameters: [] valueParameters: [] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Double annotations: [] callableIdIfNonLocal: kotlin.Int.toDouble isExtension: false @@ -944,14 +945,14 @@ KtFirFunctionSymbol: modality: OPEN name: toDouble origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Double typeParameters: [] valueParameters: [] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Float annotations: [] callableIdIfNonLocal: kotlin.Int.toFloat isExtension: false @@ -963,14 +964,14 @@ KtFirFunctionSymbol: modality: OPEN name: toFloat origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Float typeParameters: [] valueParameters: [] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.toInt isExtension: false @@ -982,14 +983,14 @@ KtFirFunctionSymbol: modality: OPEN name: toInt origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Long annotations: [] callableIdIfNonLocal: kotlin.Int.toLong isExtension: false @@ -1001,14 +1002,14 @@ KtFirFunctionSymbol: modality: OPEN name: toLong origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Long typeParameters: [] valueParameters: [] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Short annotations: [] callableIdIfNonLocal: kotlin.Int.toShort isExtension: false @@ -1020,14 +1021,14 @@ KtFirFunctionSymbol: modality: OPEN name: toShort origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Short typeParameters: [] valueParameters: [] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.unaryMinus isExtension: false @@ -1039,14 +1040,14 @@ KtFirFunctionSymbol: modality: FINAL name: unaryMinus origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.unaryPlus isExtension: false @@ -1058,14 +1059,14 @@ KtFirFunctionSymbol: modality: FINAL name: unaryPlus origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.ushr isExtension: false @@ -1077,14 +1078,14 @@ KtFirFunctionSymbol: modality: FINAL name: ushr origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(bitCount)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.xor isExtension: false @@ -1096,24 +1097,24 @@ KtFirFunctionSymbol: modality: FINAL name: xor origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(other)] visibility: PUBLIC KtFirConstructorSymbol: + annotatedType: [] kotlin/Int annotations: [] containingClassIdIfNonLocal: kotlin/Int isPrimary: true origin: LIBRARY symbolKind: MEMBER - type: kotlin/Int valueParameters: [] visibility: PRIVATE KtFirFunctionSymbol: + annotatedType: [] kotlin/Boolean annotations: [] callableIdIfNonLocal: kotlin.Int.equals isExtension: false @@ -1125,14 +1126,14 @@ KtFirFunctionSymbol: modality: OPEN name: equals origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Boolean typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(other)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.Int.hashCode isExtension: false @@ -1144,14 +1145,14 @@ KtFirFunctionSymbol: modality: OPEN name: hashCode origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/String annotations: [] callableIdIfNonLocal: kotlin.Int.toString isExtension: false @@ -1163,9 +1164,8 @@ KtFirFunctionSymbol: modality: OPEN name: toString origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/String typeParameters: [] valueParameters: [] visibility: PUBLIC @@ -1180,7 +1180,7 @@ KtFirClassOrObjectSymbol: name: Companion origin: LIBRARY primaryConstructor: KtFirConstructorSymbol() - superTypes: [kotlin/Any] + superTypes: [[] kotlin/Any] symbolKind: MEMBER typeParameters: [] visibility: PUBLIC diff --git a/idea/idea-frontend-fir/testData/memberScopeByFqName/MutableList.txt b/idea/idea-frontend-fir/testData/memberScopeByFqName/MutableList.txt index 9aec62a1556..7c1140151c4 100644 --- a/idea/idea-frontend-fir/testData/memberScopeByFqName/MutableList.txt +++ b/idea/idea-frontend-fir/testData/memberScopeByFqName/MutableList.txt @@ -2,6 +2,7 @@ class: kotlin/collections/MutableList // SYMBOLS: KtFirFunctionSymbol: + annotatedType: [] kotlin/Boolean annotations: [] callableIdIfNonLocal: kotlin.collections.MutableList.add isExtension: false @@ -13,14 +14,14 @@ KtFirFunctionSymbol: modality: ABSTRACT name: add origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Boolean typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(element)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Unit annotations: [] callableIdIfNonLocal: kotlin.collections.MutableList.add isExtension: false @@ -32,14 +33,14 @@ KtFirFunctionSymbol: modality: ABSTRACT name: add origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Unit typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(index), KtFirFunctionValueParameterSymbol(element)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Boolean annotations: [] callableIdIfNonLocal: kotlin.collections.MutableList.addAll isExtension: false @@ -51,14 +52,14 @@ KtFirFunctionSymbol: modality: ABSTRACT name: addAll origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Boolean typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(index), KtFirFunctionValueParameterSymbol(elements)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Boolean annotations: [] callableIdIfNonLocal: kotlin.collections.MutableList.addAll isExtension: false @@ -70,14 +71,14 @@ KtFirFunctionSymbol: modality: ABSTRACT name: addAll origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Boolean typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(elements)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Unit annotations: [] callableIdIfNonLocal: kotlin.collections.MutableList.clear isExtension: false @@ -89,14 +90,14 @@ KtFirFunctionSymbol: modality: ABSTRACT name: clear origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Unit typeParameters: [] valueParameters: [] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/collections/MutableListIterator annotations: [] callableIdIfNonLocal: kotlin.collections.MutableList.listIterator isExtension: false @@ -108,14 +109,14 @@ KtFirFunctionSymbol: modality: ABSTRACT name: listIterator origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/collections/MutableListIterator typeParameters: [] valueParameters: [] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/collections/MutableListIterator annotations: [] callableIdIfNonLocal: kotlin.collections.MutableList.listIterator isExtension: false @@ -127,14 +128,14 @@ KtFirFunctionSymbol: modality: ABSTRACT name: listIterator origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/collections/MutableListIterator typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(index)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Boolean annotations: [] callableIdIfNonLocal: kotlin.collections.MutableList.remove isExtension: false @@ -146,14 +147,14 @@ KtFirFunctionSymbol: modality: ABSTRACT name: remove origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Boolean typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(element)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Boolean annotations: [] callableIdIfNonLocal: kotlin.collections.MutableList.removeAll isExtension: false @@ -165,14 +166,14 @@ KtFirFunctionSymbol: modality: ABSTRACT name: removeAll origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Boolean typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(elements)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] E annotations: [] callableIdIfNonLocal: kotlin.collections.MutableList.removeAt isExtension: false @@ -184,14 +185,14 @@ KtFirFunctionSymbol: modality: ABSTRACT name: removeAt origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: E typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(index)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Boolean annotations: [] callableIdIfNonLocal: kotlin.collections.MutableList.retainAll isExtension: false @@ -203,14 +204,14 @@ KtFirFunctionSymbol: modality: ABSTRACT name: retainAll origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Boolean typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(elements)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] E annotations: [] callableIdIfNonLocal: kotlin.collections.MutableList.set isExtension: false @@ -222,14 +223,14 @@ KtFirFunctionSymbol: modality: ABSTRACT name: set origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: E typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(index), KtFirFunctionValueParameterSymbol(element)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/collections/MutableList annotations: [] callableIdIfNonLocal: kotlin.collections.MutableList.subList isExtension: false @@ -241,14 +242,14 @@ KtFirFunctionSymbol: modality: ABSTRACT name: subList origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/collections/MutableList typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(fromIndex), KtFirFunctionValueParameterSymbol(toIndex)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Boolean annotations: [] callableIdIfNonLocal: kotlin.collections.MutableList.contains isExtension: false @@ -260,14 +261,14 @@ KtFirFunctionSymbol: modality: ABSTRACT name: contains origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Boolean typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(element)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Boolean annotations: [] callableIdIfNonLocal: kotlin.collections.MutableList.containsAll isExtension: false @@ -279,14 +280,14 @@ KtFirFunctionSymbol: modality: ABSTRACT name: containsAll origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Boolean typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(elements)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] E annotations: [] callableIdIfNonLocal: kotlin.collections.MutableList.get isExtension: false @@ -298,14 +299,14 @@ KtFirFunctionSymbol: modality: ABSTRACT name: get origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: E typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(index)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.collections.MutableList.indexOf isExtension: false @@ -317,14 +318,14 @@ KtFirFunctionSymbol: modality: ABSTRACT name: indexOf origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(element)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Boolean annotations: [] callableIdIfNonLocal: kotlin.collections.MutableList.isEmpty isExtension: false @@ -336,14 +337,14 @@ KtFirFunctionSymbol: modality: ABSTRACT name: isEmpty origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Boolean typeParameters: [] valueParameters: [] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/collections/MutableIterator annotations: [] callableIdIfNonLocal: kotlin.collections.MutableList.iterator isExtension: false @@ -355,14 +356,14 @@ KtFirFunctionSymbol: modality: ABSTRACT name: iterator origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/collections/MutableIterator typeParameters: [] valueParameters: [] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.collections.MutableList.lastIndexOf isExtension: false @@ -374,14 +375,14 @@ KtFirFunctionSymbol: modality: ABSTRACT name: lastIndexOf origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(element)] visibility: PUBLIC KtFirKotlinPropertySymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.collections.List.size getter: null @@ -397,13 +398,13 @@ KtFirKotlinPropertySymbol: modality: ABSTRACT name: size origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null setter: null symbolKind: MEMBER - type: kotlin/Int visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Boolean annotations: [] callableIdIfNonLocal: kotlin.collections.MutableList.equals isExtension: false @@ -415,14 +416,14 @@ KtFirFunctionSymbol: modality: OPEN name: equals origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Boolean typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(other)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.collections.MutableList.hashCode isExtension: false @@ -434,14 +435,14 @@ KtFirFunctionSymbol: modality: OPEN name: hashCode origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/String annotations: [] callableIdIfNonLocal: kotlin.collections.MutableList.toString isExtension: false @@ -453,9 +454,8 @@ KtFirFunctionSymbol: modality: OPEN name: toString origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/String typeParameters: [] valueParameters: [] visibility: PUBLIC 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 d09ec1a6802..cf991202261 100644 --- a/idea/idea-frontend-fir/testData/memberScopeByFqName/java.lang.String.txt +++ b/idea/idea-frontend-fir/testData/memberScopeByFqName/java.lang.String.txt @@ -2,26 +2,27 @@ class: java/lang/String // SYMBOLS: KtFirJavaFieldSymbol: + annotatedType: [] ft<@FlexibleNullability kotlin/CharArray, kotlin/CharArray?>! callableIdIfNonLocal: java.lang.String.value isVal: true modality: FINAL name: value origin: JAVA symbolKind: MEMBER - type: ft<@FlexibleNullability kotlin/CharArray, kotlin/CharArray?>! visibility: PRIVATE KtFirJavaFieldSymbol: + annotatedType: [] kotlin/Int callableIdIfNonLocal: java.lang.String.hash isVal: false modality: OPEN name: hash origin: JAVA symbolKind: MEMBER - type: kotlin/Int visibility: PRIVATE KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: java.lang.String.hash32 isExtension: false @@ -33,24 +34,24 @@ KtFirFunctionSymbol: modality: OPEN name: hash32 origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [] visibility: UNKNOWN KtFirJavaFieldSymbol: + annotatedType: [] kotlin/Int callableIdIfNonLocal: java.lang.String.hash32 isVal: false modality: OPEN name: hash32 origin: JAVA symbolKind: MEMBER - type: kotlin/Int visibility: PRIVATE KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: java.lang.String.length isExtension: false @@ -62,14 +63,14 @@ KtFirFunctionSymbol: modality: OPEN name: length origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [] visibility: PUBLIC KtFirKotlinPropertySymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: kotlin.CharSequence.length getter: KtFirPropertyGetterSymbol() @@ -85,13 +86,13 @@ KtFirKotlinPropertySymbol: modality: ABSTRACT name: length origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null setter: null symbolKind: MEMBER - type: kotlin/Int visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Boolean annotations: [] callableIdIfNonLocal: java.lang.String.isEmpty isExtension: false @@ -103,14 +104,14 @@ KtFirFunctionSymbol: modality: OPEN name: isEmpty origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Boolean typeParameters: [] valueParameters: [] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Char annotations: [] callableIdIfNonLocal: java.lang.String.charAt isExtension: false @@ -122,14 +123,14 @@ KtFirFunctionSymbol: modality: OPEN name: charAt origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Char typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(index)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: java.lang.String.codePointAt isExtension: false @@ -141,14 +142,14 @@ KtFirFunctionSymbol: modality: OPEN name: codePointAt origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(index)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: java.lang.String.codePointBefore isExtension: false @@ -160,14 +161,14 @@ KtFirFunctionSymbol: modality: OPEN name: codePointBefore origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(index)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: java.lang.String.codePointCount isExtension: false @@ -179,14 +180,14 @@ KtFirFunctionSymbol: modality: OPEN name: codePointCount origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(beginIndex), KtFirFunctionValueParameterSymbol(endIndex)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: java.lang.String.offsetByCodePoints isExtension: false @@ -198,14 +199,14 @@ KtFirFunctionSymbol: modality: OPEN name: offsetByCodePoints origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(index), KtFirFunctionValueParameterSymbol(codePointOffset)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Unit annotations: [] callableIdIfNonLocal: java.lang.String.getChars isExtension: false @@ -217,14 +218,14 @@ KtFirFunctionSymbol: modality: OPEN name: getChars origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Unit typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(dst), KtFirFunctionValueParameterSymbol(dstBegin)] visibility: UNKNOWN KtFirFunctionSymbol: + annotatedType: [] kotlin/Unit annotations: [] callableIdIfNonLocal: java.lang.String.getChars isExtension: false @@ -236,14 +237,14 @@ KtFirFunctionSymbol: modality: OPEN name: getChars origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Unit typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(srcBegin), KtFirFunctionValueParameterSymbol(srcEnd), KtFirFunctionValueParameterSymbol(dst), KtFirFunctionValueParameterSymbol(dstBegin)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Unit annotations: [kotlin/Deprecated(message = Deprecated in Java)] callableIdIfNonLocal: java.lang.String.getBytes isExtension: false @@ -255,14 +256,14 @@ KtFirFunctionSymbol: modality: OPEN name: getBytes origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Unit typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(srcBegin), KtFirFunctionValueParameterSymbol(srcEnd), KtFirFunctionValueParameterSymbol(dst), KtFirFunctionValueParameterSymbol(dstBegin)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] @EnhancedNullability kotlin/ByteArray annotations: [org/jetbrains/annotations/NotNull()] callableIdIfNonLocal: java.lang.String.getBytes isExtension: false @@ -274,14 +275,14 @@ KtFirFunctionSymbol: modality: OPEN name: getBytes origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: @EnhancedNullability kotlin/ByteArray typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(charsetName)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] @EnhancedNullability kotlin/ByteArray annotations: [org/jetbrains/annotations/NotNull()] callableIdIfNonLocal: java.lang.String.getBytes isExtension: false @@ -293,14 +294,14 @@ KtFirFunctionSymbol: modality: OPEN name: getBytes origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: @EnhancedNullability kotlin/ByteArray typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(charset)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] @EnhancedNullability kotlin/ByteArray annotations: [org/jetbrains/annotations/NotNull()] callableIdIfNonLocal: java.lang.String.getBytes isExtension: false @@ -312,14 +313,14 @@ KtFirFunctionSymbol: modality: OPEN name: getBytes origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: @EnhancedNullability kotlin/ByteArray typeParameters: [] valueParameters: [] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Boolean annotations: [] callableIdIfNonLocal: java.lang.String.equals isExtension: false @@ -331,14 +332,14 @@ KtFirFunctionSymbol: modality: OPEN name: equals origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Boolean typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(anObject)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Boolean annotations: [] callableIdIfNonLocal: java.lang.String.contentEquals isExtension: false @@ -350,14 +351,14 @@ KtFirFunctionSymbol: modality: OPEN name: contentEquals origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Boolean typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(sb)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Boolean annotations: [] callableIdIfNonLocal: java.lang.String.contentEquals isExtension: false @@ -369,14 +370,14 @@ KtFirFunctionSymbol: modality: OPEN name: contentEquals origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Boolean typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(cs)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Boolean annotations: [] callableIdIfNonLocal: java.lang.String.equalsIgnoreCase isExtension: false @@ -388,14 +389,14 @@ KtFirFunctionSymbol: modality: OPEN name: equalsIgnoreCase origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Boolean typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(anotherString)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: java.lang.String.compareTo isExtension: false @@ -407,14 +408,14 @@ KtFirFunctionSymbol: modality: OPEN name: compareTo origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(anotherString)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: java.lang.String.compareToIgnoreCase isExtension: false @@ -426,14 +427,14 @@ KtFirFunctionSymbol: modality: OPEN name: compareToIgnoreCase origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(str)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Boolean annotations: [] callableIdIfNonLocal: java.lang.String.regionMatches isExtension: false @@ -445,14 +446,14 @@ KtFirFunctionSymbol: modality: OPEN name: regionMatches origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Boolean typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(toffset), KtFirFunctionValueParameterSymbol(other), KtFirFunctionValueParameterSymbol(ooffset), KtFirFunctionValueParameterSymbol(len)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Boolean annotations: [] callableIdIfNonLocal: java.lang.String.regionMatches isExtension: false @@ -464,14 +465,14 @@ KtFirFunctionSymbol: modality: OPEN name: regionMatches origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Boolean typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(ignoreCase), KtFirFunctionValueParameterSymbol(toffset), KtFirFunctionValueParameterSymbol(other), KtFirFunctionValueParameterSymbol(ooffset), KtFirFunctionValueParameterSymbol(len)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Boolean annotations: [] callableIdIfNonLocal: java.lang.String.startsWith isExtension: false @@ -483,14 +484,14 @@ KtFirFunctionSymbol: modality: OPEN name: startsWith origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Boolean typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(prefix), KtFirFunctionValueParameterSymbol(toffset)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Boolean annotations: [] callableIdIfNonLocal: java.lang.String.startsWith isExtension: false @@ -502,14 +503,14 @@ KtFirFunctionSymbol: modality: OPEN name: startsWith origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Boolean typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(prefix)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Boolean annotations: [] callableIdIfNonLocal: java.lang.String.endsWith isExtension: false @@ -521,14 +522,14 @@ KtFirFunctionSymbol: modality: OPEN name: endsWith origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Boolean typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(suffix)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: java.lang.String.hashCode isExtension: false @@ -540,14 +541,14 @@ KtFirFunctionSymbol: modality: OPEN name: hashCode origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: java.lang.String.indexOf isExtension: false @@ -559,14 +560,14 @@ KtFirFunctionSymbol: modality: OPEN name: indexOf origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(ch)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: java.lang.String.indexOf isExtension: false @@ -578,14 +579,14 @@ KtFirFunctionSymbol: modality: OPEN name: indexOf origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(ch), KtFirFunctionValueParameterSymbol(fromIndex)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: java.lang.String.indexOf isExtension: false @@ -597,14 +598,14 @@ KtFirFunctionSymbol: modality: OPEN name: indexOf origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(str)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: java.lang.String.indexOf isExtension: false @@ -616,14 +617,14 @@ KtFirFunctionSymbol: modality: OPEN name: indexOf origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(str), KtFirFunctionValueParameterSymbol(fromIndex)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: java.lang.String.indexOfSupplementary isExtension: false @@ -635,14 +636,14 @@ KtFirFunctionSymbol: modality: OPEN name: indexOfSupplementary origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(ch), KtFirFunctionValueParameterSymbol(fromIndex)] visibility: PRIVATE KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: java.lang.String.lastIndexOf isExtension: false @@ -654,14 +655,14 @@ KtFirFunctionSymbol: modality: OPEN name: lastIndexOf origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(ch)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: java.lang.String.lastIndexOf isExtension: false @@ -673,14 +674,14 @@ KtFirFunctionSymbol: modality: OPEN name: lastIndexOf origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(ch), KtFirFunctionValueParameterSymbol(fromIndex)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: java.lang.String.lastIndexOf isExtension: false @@ -692,14 +693,14 @@ KtFirFunctionSymbol: modality: OPEN name: lastIndexOf origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(str)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: java.lang.String.lastIndexOf isExtension: false @@ -711,14 +712,14 @@ KtFirFunctionSymbol: modality: OPEN name: lastIndexOf origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(str), KtFirFunctionValueParameterSymbol(fromIndex)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: java.lang.String.lastIndexOfSupplementary isExtension: false @@ -730,14 +731,14 @@ KtFirFunctionSymbol: modality: OPEN name: lastIndexOfSupplementary origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(ch), KtFirFunctionValueParameterSymbol(fromIndex)] visibility: PRIVATE KtFirFunctionSymbol: + annotatedType: [] @EnhancedNullability kotlin/String annotations: [org/jetbrains/annotations/NotNull()] callableIdIfNonLocal: java.lang.String.substring isExtension: false @@ -749,14 +750,14 @@ KtFirFunctionSymbol: modality: OPEN name: substring origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: @EnhancedNullability kotlin/String typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(beginIndex)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] @EnhancedNullability kotlin/String annotations: [org/jetbrains/annotations/NotNull()] callableIdIfNonLocal: java.lang.String.substring isExtension: false @@ -768,14 +769,14 @@ KtFirFunctionSymbol: modality: OPEN name: substring origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: @EnhancedNullability kotlin/String typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(beginIndex), KtFirFunctionValueParameterSymbol(endIndex)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] @EnhancedNullability kotlin/CharSequence annotations: [org/jetbrains/annotations/NotNull()] callableIdIfNonLocal: java.lang.String.subSequence isExtension: false @@ -787,14 +788,14 @@ KtFirFunctionSymbol: modality: OPEN name: subSequence origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: @EnhancedNullability kotlin/CharSequence typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(beginIndex), KtFirFunctionValueParameterSymbol(endIndex)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] @EnhancedNullability kotlin/String annotations: [org/jetbrains/annotations/NotNull()] callableIdIfNonLocal: java.lang.String.concat isExtension: false @@ -806,14 +807,14 @@ KtFirFunctionSymbol: modality: OPEN name: concat origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: @EnhancedNullability kotlin/String typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(str)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] @EnhancedNullability kotlin/String annotations: [org/jetbrains/annotations/NotNull()] callableIdIfNonLocal: java.lang.String.replace isExtension: false @@ -825,14 +826,14 @@ KtFirFunctionSymbol: modality: OPEN name: replace origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: @EnhancedNullability kotlin/String typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(oldChar), KtFirFunctionValueParameterSymbol(newChar)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] @EnhancedNullability kotlin/String annotations: [org/jetbrains/annotations/NotNull()] callableIdIfNonLocal: java.lang.String.replace isExtension: false @@ -844,14 +845,14 @@ KtFirFunctionSymbol: modality: OPEN name: replace origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: @EnhancedNullability kotlin/String typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(target), KtFirFunctionValueParameterSymbol(replacement)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Boolean annotations: [] callableIdIfNonLocal: java.lang.String.matches isExtension: false @@ -863,14 +864,14 @@ KtFirFunctionSymbol: modality: OPEN name: matches origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Boolean typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(regex)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Boolean annotations: [] callableIdIfNonLocal: java.lang.String.contains isExtension: false @@ -882,14 +883,14 @@ KtFirFunctionSymbol: modality: OPEN name: contains origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Boolean typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(s)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] @EnhancedNullability kotlin/String annotations: [org/jetbrains/annotations/NotNull()] callableIdIfNonLocal: java.lang.String.replaceFirst isExtension: false @@ -901,14 +902,14 @@ KtFirFunctionSymbol: modality: OPEN name: replaceFirst origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: @EnhancedNullability kotlin/String typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(regex), KtFirFunctionValueParameterSymbol(replacement)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] @EnhancedNullability kotlin/String annotations: [org/jetbrains/annotations/NotNull()] callableIdIfNonLocal: java.lang.String.replaceAll isExtension: false @@ -920,14 +921,14 @@ KtFirFunctionSymbol: modality: OPEN name: replaceAll origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: @EnhancedNullability kotlin/String typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(regex), KtFirFunctionValueParameterSymbol(replacement)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] ft<@EnhancedNullability kotlin/Array!>, @EnhancedNullability kotlin/Array!>> annotations: [org/jetbrains/annotations/NotNull()] callableIdIfNonLocal: java.lang.String.split isExtension: false @@ -939,14 +940,14 @@ KtFirFunctionSymbol: modality: OPEN name: split origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: ft<@EnhancedNullability kotlin/Array!>, @EnhancedNullability kotlin/Array!>> typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(regex), KtFirFunctionValueParameterSymbol(limit)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] ft<@EnhancedNullability kotlin/Array!>, @EnhancedNullability kotlin/Array!>> annotations: [org/jetbrains/annotations/NotNull()] callableIdIfNonLocal: java.lang.String.split isExtension: false @@ -958,14 +959,14 @@ KtFirFunctionSymbol: modality: OPEN name: split origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: ft<@EnhancedNullability kotlin/Array!>, @EnhancedNullability kotlin/Array!>> typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(regex)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] @EnhancedNullability kotlin/String annotations: [org/jetbrains/annotations/NotNull()] callableIdIfNonLocal: java.lang.String.toLowerCase isExtension: false @@ -977,14 +978,14 @@ KtFirFunctionSymbol: modality: OPEN name: toLowerCase origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: @EnhancedNullability kotlin/String typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(locale)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] @EnhancedNullability kotlin/String annotations: [org/jetbrains/annotations/NotNull()] callableIdIfNonLocal: java.lang.String.toLowerCase isExtension: false @@ -996,14 +997,14 @@ KtFirFunctionSymbol: modality: OPEN name: toLowerCase origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: @EnhancedNullability kotlin/String typeParameters: [] valueParameters: [] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] @EnhancedNullability kotlin/String annotations: [org/jetbrains/annotations/NotNull()] callableIdIfNonLocal: java.lang.String.toUpperCase isExtension: false @@ -1015,14 +1016,14 @@ KtFirFunctionSymbol: modality: OPEN name: toUpperCase origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: @EnhancedNullability kotlin/String typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(locale)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] @EnhancedNullability kotlin/String annotations: [org/jetbrains/annotations/NotNull()] callableIdIfNonLocal: java.lang.String.toUpperCase isExtension: false @@ -1034,14 +1035,14 @@ KtFirFunctionSymbol: modality: OPEN name: toUpperCase origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: @EnhancedNullability kotlin/String typeParameters: [] valueParameters: [] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] @EnhancedNullability kotlin/String annotations: [org/jetbrains/annotations/NotNull()] callableIdIfNonLocal: java.lang.String.trim isExtension: false @@ -1053,14 +1054,14 @@ KtFirFunctionSymbol: modality: OPEN name: trim origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: @EnhancedNullability kotlin/String typeParameters: [] valueParameters: [] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] @FlexibleNullability kotlin/String annotations: [] callableIdIfNonLocal: java.lang.String.toString isExtension: false @@ -1072,14 +1073,14 @@ KtFirFunctionSymbol: modality: OPEN name: toString origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: @FlexibleNullability kotlin/String typeParameters: [] valueParameters: [] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] @EnhancedNullability kotlin/CharArray annotations: [org/jetbrains/annotations/NotNull()] callableIdIfNonLocal: java.lang.String.toCharArray isExtension: false @@ -1091,14 +1092,14 @@ KtFirFunctionSymbol: modality: OPEN name: toCharArray origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: @EnhancedNullability kotlin/CharArray typeParameters: [] valueParameters: [] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] @EnhancedNullability kotlin/String annotations: [org/jetbrains/annotations/NotNull()] callableIdIfNonLocal: java.lang.String.intern isExtension: false @@ -1110,184 +1111,184 @@ KtFirFunctionSymbol: modality: OPEN name: intern origin: JAVA - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: @EnhancedNullability kotlin/String typeParameters: [] valueParameters: [] visibility: PUBLIC KtFirConstructorSymbol: + annotatedType: [] java/lang/String annotations: [] containingClassIdIfNonLocal: java/lang/String isPrimary: false origin: JAVA symbolKind: MEMBER - type: java/lang/String valueParameters: [] visibility: PUBLIC KtFirConstructorSymbol: + annotatedType: [] java/lang/String annotations: [] containingClassIdIfNonLocal: java/lang/String isPrimary: false origin: JAVA symbolKind: MEMBER - type: java/lang/String valueParameters: [KtFirConstructorValueParameterSymbol(original)] visibility: PUBLIC KtFirConstructorSymbol: + annotatedType: [] java/lang/String annotations: [] containingClassIdIfNonLocal: java/lang/String isPrimary: false origin: JAVA symbolKind: MEMBER - type: java/lang/String valueParameters: [KtFirConstructorValueParameterSymbol(value)] visibility: PUBLIC KtFirConstructorSymbol: + annotatedType: [] java/lang/String annotations: [] containingClassIdIfNonLocal: java/lang/String isPrimary: false origin: JAVA symbolKind: MEMBER - type: java/lang/String valueParameters: [KtFirConstructorValueParameterSymbol(value), KtFirConstructorValueParameterSymbol(offset), KtFirConstructorValueParameterSymbol(count)] visibility: PUBLIC KtFirConstructorSymbol: + annotatedType: [] java/lang/String annotations: [] containingClassIdIfNonLocal: java/lang/String isPrimary: false origin: JAVA symbolKind: MEMBER - type: java/lang/String valueParameters: [KtFirConstructorValueParameterSymbol(codePoints), KtFirConstructorValueParameterSymbol(offset), KtFirConstructorValueParameterSymbol(count)] visibility: PUBLIC KtFirConstructorSymbol: + annotatedType: [] java/lang/String annotations: [kotlin/Deprecated(message = Deprecated in Java)] containingClassIdIfNonLocal: java/lang/String isPrimary: false origin: JAVA symbolKind: MEMBER - type: java/lang/String valueParameters: [KtFirConstructorValueParameterSymbol(ascii), KtFirConstructorValueParameterSymbol(hibyte), KtFirConstructorValueParameterSymbol(offset), KtFirConstructorValueParameterSymbol(count)] visibility: PUBLIC KtFirConstructorSymbol: + annotatedType: [] java/lang/String annotations: [kotlin/Deprecated(message = Deprecated in Java)] containingClassIdIfNonLocal: java/lang/String isPrimary: false origin: JAVA symbolKind: MEMBER - type: java/lang/String valueParameters: [KtFirConstructorValueParameterSymbol(ascii), KtFirConstructorValueParameterSymbol(hibyte)] visibility: PUBLIC KtFirConstructorSymbol: + annotatedType: [] java/lang/String annotations: [] containingClassIdIfNonLocal: java/lang/String isPrimary: false origin: JAVA symbolKind: MEMBER - type: java/lang/String valueParameters: [KtFirConstructorValueParameterSymbol(bytes), KtFirConstructorValueParameterSymbol(offset), KtFirConstructorValueParameterSymbol(length), KtFirConstructorValueParameterSymbol(charsetName)] visibility: PUBLIC KtFirConstructorSymbol: + annotatedType: [] java/lang/String annotations: [] containingClassIdIfNonLocal: java/lang/String isPrimary: false origin: JAVA symbolKind: MEMBER - type: java/lang/String valueParameters: [KtFirConstructorValueParameterSymbol(bytes), KtFirConstructorValueParameterSymbol(offset), KtFirConstructorValueParameterSymbol(length), KtFirConstructorValueParameterSymbol(charset)] visibility: PUBLIC KtFirConstructorSymbol: + annotatedType: [] java/lang/String annotations: [] containingClassIdIfNonLocal: java/lang/String isPrimary: false origin: JAVA symbolKind: MEMBER - type: java/lang/String valueParameters: [KtFirConstructorValueParameterSymbol(bytes), KtFirConstructorValueParameterSymbol(charsetName)] visibility: PUBLIC KtFirConstructorSymbol: + annotatedType: [] java/lang/String annotations: [] containingClassIdIfNonLocal: java/lang/String isPrimary: false origin: JAVA symbolKind: MEMBER - type: java/lang/String valueParameters: [KtFirConstructorValueParameterSymbol(bytes), KtFirConstructorValueParameterSymbol(charset)] visibility: PUBLIC KtFirConstructorSymbol: + annotatedType: [] java/lang/String annotations: [] containingClassIdIfNonLocal: java/lang/String isPrimary: false origin: JAVA symbolKind: MEMBER - type: java/lang/String valueParameters: [KtFirConstructorValueParameterSymbol(bytes), KtFirConstructorValueParameterSymbol(offset), KtFirConstructorValueParameterSymbol(length)] visibility: PUBLIC KtFirConstructorSymbol: + annotatedType: [] java/lang/String annotations: [] containingClassIdIfNonLocal: java/lang/String isPrimary: false origin: JAVA symbolKind: MEMBER - type: java/lang/String valueParameters: [KtFirConstructorValueParameterSymbol(bytes)] visibility: PUBLIC KtFirConstructorSymbol: + annotatedType: [] java/lang/String annotations: [] containingClassIdIfNonLocal: java/lang/String isPrimary: false origin: JAVA symbolKind: MEMBER - type: java/lang/String valueParameters: [KtFirConstructorValueParameterSymbol(buffer)] visibility: PUBLIC KtFirConstructorSymbol: + annotatedType: [] java/lang/String annotations: [] containingClassIdIfNonLocal: java/lang/String isPrimary: false origin: JAVA symbolKind: MEMBER - type: java/lang/String valueParameters: [KtFirConstructorValueParameterSymbol(builder)] visibility: PUBLIC KtFirConstructorSymbol: + annotatedType: [] java/lang/String annotations: [] containingClassIdIfNonLocal: java/lang/String isPrimary: false origin: JAVA symbolKind: MEMBER - type: java/lang/String valueParameters: [KtFirConstructorValueParameterSymbol(value), KtFirConstructorValueParameterSymbol(share)] visibility: UNKNOWN KtFirConstructorSymbol: + annotatedType: [] java/lang/String annotations: [kotlin/Deprecated(message = Deprecated in Java)] containingClassIdIfNonLocal: java/lang/String isPrimary: false origin: JAVA symbolKind: MEMBER - type: java/lang/String valueParameters: [KtFirConstructorValueParameterSymbol(offset), KtFirConstructorValueParameterSymbol(count), KtFirConstructorValueParameterSymbol(value)] visibility: UNKNOWN KtFirFunctionSymbol: + annotatedType: [] kotlin/Char annotations: [] callableIdIfNonLocal: kotlin.CharSequence.get isExtension: false @@ -1299,9 +1300,8 @@ KtFirFunctionSymbol: modality: ABSTRACT name: get origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Char typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(index)] visibility: PUBLIC @@ -1316,7 +1316,7 @@ KtFirClassOrObjectSymbol: name: CaseInsensitiveComparator origin: JAVA primaryConstructor: null - superTypes: [kotlin/Any, java/util/Comparator!>, java/io/Serializable] + superTypes: [[] kotlin/Any, [] java/util/Comparator!>, [] java/io/Serializable] symbolKind: MEMBER typeParameters: [] visibility: PRIVATE diff --git a/idea/idea-frontend-fir/testData/resoreSymbolFromLibrary/class.txt b/idea/idea-frontend-fir/testData/resoreSymbolFromLibrary/class.txt index 224657cb944..35a1761be6e 100644 --- a/idea/idea-frontend-fir/testData/resoreSymbolFromLibrary/class.txt +++ b/idea/idea-frontend-fir/testData/resoreSymbolFromLibrary/class.txt @@ -13,7 +13,7 @@ KtFirClassOrObjectSymbol: name: Lazy origin: LIBRARY primaryConstructor: null - superTypes: [kotlin/Any] + superTypes: [[] kotlin/Any] symbolKind: TOP_LEVEL typeParameters: [KtFirTypeParameterSymbol(T)] visibility: PUBLIC diff --git a/idea/idea-frontend-fir/testData/resoreSymbolFromLibrary/classFromJdk.txt b/idea/idea-frontend-fir/testData/resoreSymbolFromLibrary/classFromJdk.txt index d76cefbae29..fdaadb53a6d 100644 --- a/idea/idea-frontend-fir/testData/resoreSymbolFromLibrary/classFromJdk.txt +++ b/idea/idea-frontend-fir/testData/resoreSymbolFromLibrary/classFromJdk.txt @@ -13,7 +13,7 @@ KtFirClassOrObjectSymbol: name: String origin: JAVA primaryConstructor: null - superTypes: [kotlin/Any, java/io/Serializable, kotlin/Comparable!>, kotlin/CharSequence] + superTypes: [[] kotlin/Any, [] java/io/Serializable, [] kotlin/Comparable!>, [] kotlin/CharSequence] symbolKind: MEMBER typeParameters: [] visibility: PUBLIC diff --git a/idea/idea-frontend-fir/testData/resoreSymbolFromLibrary/enumEntry.txt b/idea/idea-frontend-fir/testData/resoreSymbolFromLibrary/enumEntry.txt index f28aa16e883..c28030f53cf 100644 --- a/idea/idea-frontend-fir/testData/resoreSymbolFromLibrary/enumEntry.txt +++ b/idea/idea-frontend-fir/testData/resoreSymbolFromLibrary/enumEntry.txt @@ -4,8 +4,8 @@ callable: kotlin/LazyThreadSafetyMode.SYNCHRONIZED // SYMBOLS: KtFirEnumEntrySymbol: + annotatedType: [] kotlin/LazyThreadSafetyMode containingEnumClassIdIfNonLocal: kotlin/LazyThreadSafetyMode name: SYNCHRONIZED origin: LIBRARY symbolKind: MEMBER - type: kotlin/LazyThreadSafetyMode diff --git a/idea/idea-frontend-fir/testData/resoreSymbolFromLibrary/memberFunction.txt b/idea/idea-frontend-fir/testData/resoreSymbolFromLibrary/memberFunction.txt index 12db4e5291c..c7c45da403b 100644 --- a/idea/idea-frontend-fir/testData/resoreSymbolFromLibrary/memberFunction.txt +++ b/idea/idea-frontend-fir/testData/resoreSymbolFromLibrary/memberFunction.txt @@ -2,6 +2,7 @@ callable: kotlin/collections/List.get // SYMBOLS: KtFirFunctionSymbol: + annotatedType: [] E annotations: [] callableIdIfNonLocal: kotlin.collections.List.get isExtension: false @@ -13,9 +14,8 @@ KtFirFunctionSymbol: modality: ABSTRACT name: get origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: E typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(index)] visibility: PUBLIC diff --git a/idea/idea-frontend-fir/testData/resoreSymbolFromLibrary/memberFunctionWithOverloads.txt b/idea/idea-frontend-fir/testData/resoreSymbolFromLibrary/memberFunctionWithOverloads.txt index 8e85c70287f..8125eaeb298 100644 --- a/idea/idea-frontend-fir/testData/resoreSymbolFromLibrary/memberFunctionWithOverloads.txt +++ b/idea/idea-frontend-fir/testData/resoreSymbolFromLibrary/memberFunctionWithOverloads.txt @@ -2,6 +2,7 @@ callable: kotlin/collections/List.listIterator // SYMBOLS: KtFirFunctionSymbol: + annotatedType: [] kotlin/collections/ListIterator annotations: [] callableIdIfNonLocal: kotlin.collections.List.listIterator isExtension: false @@ -13,14 +14,14 @@ KtFirFunctionSymbol: modality: ABSTRACT name: listIterator origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/collections/ListIterator typeParameters: [] valueParameters: [] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/collections/ListIterator annotations: [] callableIdIfNonLocal: kotlin.collections.List.listIterator isExtension: false @@ -32,9 +33,8 @@ KtFirFunctionSymbol: modality: ABSTRACT name: listIterator origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/collections/ListIterator typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(index)] visibility: PUBLIC diff --git a/idea/idea-frontend-fir/testData/resoreSymbolFromLibrary/nestedClass.txt b/idea/idea-frontend-fir/testData/resoreSymbolFromLibrary/nestedClass.txt index 83ba77170c4..c69a559290d 100644 --- a/idea/idea-frontend-fir/testData/resoreSymbolFromLibrary/nestedClass.txt +++ b/idea/idea-frontend-fir/testData/resoreSymbolFromLibrary/nestedClass.txt @@ -11,7 +11,7 @@ KtFirClassOrObjectSymbol: name: MutableEntry origin: LIBRARY primaryConstructor: null - superTypes: [kotlin/collections/Map.Entry] + superTypes: [[] kotlin/collections/Map.Entry] symbolKind: MEMBER typeParameters: [KtFirTypeParameterSymbol(K), KtFirTypeParameterSymbol(V)] visibility: PUBLIC diff --git a/idea/idea-frontend-fir/testData/symbolPointer/class.kt b/idea/idea-frontend-fir/testData/symbolPointer/class.kt index 2c3a1c397ad..355debbe27b 100644 --- a/idea/idea-frontend-fir/testData/symbolPointer/class.kt +++ b/idea/idea-frontend-fir/testData/symbolPointer/class.kt @@ -12,7 +12,7 @@ KtFirClassOrObjectSymbol: name: A origin: SOURCE primaryConstructor: KtFirConstructorSymbol() - superTypes: [kotlin/Any] + superTypes: [[] kotlin/Any] symbolKind: TOP_LEVEL typeParameters: [] visibility: PUBLIC diff --git a/idea/idea-frontend-fir/testData/symbolPointer/classPrimaryConstructor.kt b/idea/idea-frontend-fir/testData/symbolPointer/classPrimaryConstructor.kt index 9f3bef02003..546312e8e46 100644 --- a/idea/idea-frontend-fir/testData/symbolPointer/classPrimaryConstructor.kt +++ b/idea/idea-frontend-fir/testData/symbolPointer/classPrimaryConstructor.kt @@ -3,12 +3,12 @@ class A() { // SYMBOLS: KtFirConstructorSymbol: + annotatedType: [] A annotations: [] containingClassIdIfNonLocal: A isPrimary: true origin: SOURCE symbolKind: MEMBER - type: A valueParameters: [] visibility: PUBLIC @@ -22,7 +22,7 @@ KtFirClassOrObjectSymbol: name: A origin: SOURCE primaryConstructor: KtFirConstructorSymbol() - superTypes: [kotlin/Any] + superTypes: [[] kotlin/Any] symbolKind: TOP_LEVEL typeParameters: [] visibility: PUBLIC diff --git a/idea/idea-frontend-fir/testData/symbolPointer/classSecondaryConstructors.kt b/idea/idea-frontend-fir/testData/symbolPointer/classSecondaryConstructors.kt index cbce77c71da..d0c261bb2d8 100644 --- a/idea/idea-frontend-fir/testData/symbolPointer/classSecondaryConstructors.kt +++ b/idea/idea-frontend-fir/testData/symbolPointer/classSecondaryConstructors.kt @@ -5,59 +5,59 @@ class A() { // SYMBOLS: KtFirConstructorSymbol: + annotatedType: [] A annotations: [] containingClassIdIfNonLocal: A isPrimary: true origin: SOURCE symbolKind: MEMBER - type: A valueParameters: [] visibility: PUBLIC KtFirFunctionValueParameterSymbol: + annotatedType: [] kotlin/Int annotations: [] hasDefaultValue: false isVararg: false name: x origin: SOURCE symbolKind: NON_PROPERTY_PARAMETER - type: kotlin/Int KtFirConstructorSymbol: + annotatedType: [] A annotations: [] containingClassIdIfNonLocal: A isPrimary: false origin: SOURCE symbolKind: MEMBER - type: A valueParameters: Could not render due to java.lang.ClassCastException: org.jetbrains.kotlin.idea.frontend.api.fir.symbols.KtFirFunctionValueParameterSymbol cannot be cast to org.jetbrains.kotlin.idea.frontend.api.fir.symbols.KtFirConstructorValueParameterSymbol visibility: PUBLIC KtFirFunctionValueParameterSymbol: + annotatedType: [] kotlin/Int annotations: [] hasDefaultValue: false isVararg: false name: y origin: SOURCE symbolKind: NON_PROPERTY_PARAMETER - type: kotlin/Int KtFirFunctionValueParameterSymbol: + annotatedType: [] kotlin/String annotations: [] hasDefaultValue: false isVararg: false name: z origin: SOURCE symbolKind: NON_PROPERTY_PARAMETER - type: kotlin/String KtFirConstructorSymbol: + annotatedType: [] A annotations: [] containingClassIdIfNonLocal: A isPrimary: false origin: SOURCE symbolKind: MEMBER - type: A valueParameters: Could not render due to java.lang.ClassCastException: org.jetbrains.kotlin.idea.frontend.api.fir.symbols.KtFirFunctionValueParameterSymbol cannot be cast to org.jetbrains.kotlin.idea.frontend.api.fir.symbols.KtFirConstructorValueParameterSymbol visibility: PUBLIC @@ -71,7 +71,7 @@ KtFirClassOrObjectSymbol: name: A origin: SOURCE primaryConstructor: KtFirConstructorSymbol() - superTypes: [kotlin/Any] + superTypes: [[] kotlin/Any] symbolKind: TOP_LEVEL typeParameters: [] visibility: PUBLIC diff --git a/idea/idea-frontend-fir/testData/symbolPointer/enum.kt b/idea/idea-frontend-fir/testData/symbolPointer/enum.kt index b05ecb9d2cb..edc14a00daa 100644 --- a/idea/idea-frontend-fir/testData/symbolPointer/enum.kt +++ b/idea/idea-frontend-fir/testData/symbolPointer/enum.kt @@ -4,18 +4,18 @@ enum class X { // SYMBOLS: KtFirEnumEntrySymbol: + annotatedType: [] X containingEnumClassIdIfNonLocal: X name: Y origin: SOURCE symbolKind: MEMBER - type: X KtFirEnumEntrySymbol: + annotatedType: [] X containingEnumClassIdIfNonLocal: X name: Z origin: SOURCE symbolKind: MEMBER - type: X KtFirClassOrObjectSymbol: annotations: [] @@ -27,7 +27,7 @@ KtFirClassOrObjectSymbol: name: X origin: SOURCE primaryConstructor: KtFirConstructorSymbol() - superTypes: [kotlin/Enum] + superTypes: [[] kotlin/Enum] symbolKind: TOP_LEVEL typeParameters: [] visibility: PUBLIC diff --git a/idea/idea-frontend-fir/testData/symbolPointer/memberFunctions.kt b/idea/idea-frontend-fir/testData/symbolPointer/memberFunctions.kt index 844c5a04c34..174b73cc883 100644 --- a/idea/idea-frontend-fir/testData/symbolPointer/memberFunctions.kt +++ b/idea/idea-frontend-fir/testData/symbolPointer/memberFunctions.kt @@ -5,6 +5,7 @@ class A { // SYMBOLS: KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: A.x isExtension: false @@ -16,14 +17,14 @@ KtFirFunctionSymbol: modality: FINAL name: x origin: SOURCE - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Unit annotations: [] callableIdIfNonLocal: A.y isExtension: false @@ -35,9 +36,8 @@ KtFirFunctionSymbol: modality: FINAL name: y origin: SOURCE - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Unit typeParameters: [] valueParameters: [] visibility: PUBLIC @@ -52,7 +52,7 @@ KtFirClassOrObjectSymbol: name: A origin: SOURCE primaryConstructor: KtFirConstructorSymbol() - superTypes: [kotlin/Any] + superTypes: [[] kotlin/Any] symbolKind: TOP_LEVEL typeParameters: [] visibility: PUBLIC diff --git a/idea/idea-frontend-fir/testData/symbolPointer/memberProperties.kt b/idea/idea-frontend-fir/testData/symbolPointer/memberProperties.kt index 9c46bf6f8d7..5df6abded97 100644 --- a/idea/idea-frontend-fir/testData/symbolPointer/memberProperties.kt +++ b/idea/idea-frontend-fir/testData/symbolPointer/memberProperties.kt @@ -5,6 +5,7 @@ class A { // SYMBOLS: KtFirKotlinPropertySymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: A.x getter: KtFirPropertyGetterSymbol() @@ -20,13 +21,13 @@ KtFirKotlinPropertySymbol: modality: FINAL name: x origin: SOURCE - receiverTypeAndAnnotations: null + receiverType: null setter: null symbolKind: MEMBER - type: kotlin/Int visibility: PUBLIC KtFirPropertyGetterSymbol: + annotatedType: [] kotlin/Int annotations: [] hasBody: true isDefault: false @@ -35,10 +36,10 @@ KtFirPropertyGetterSymbol: modality: FINAL origin: SOURCE symbolKind: TOP_LEVEL - type: kotlin/Int visibility: PUBLIC KtFirKotlinPropertySymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: A.y getter: KtFirPropertyGetterSymbol() @@ -54,10 +55,9 @@ KtFirKotlinPropertySymbol: modality: FINAL name: y origin: SOURCE - receiverTypeAndAnnotations: [] kotlin/Int + receiverType: [] kotlin/Int setter: null symbolKind: MEMBER - type: kotlin/Int visibility: PUBLIC KtFirClassOrObjectSymbol: @@ -70,7 +70,7 @@ KtFirClassOrObjectSymbol: name: A origin: SOURCE primaryConstructor: KtFirConstructorSymbol() - superTypes: [kotlin/Any] + superTypes: [[] kotlin/Any] symbolKind: TOP_LEVEL typeParameters: [] visibility: PUBLIC diff --git a/idea/idea-frontend-fir/testData/symbolPointer/topLevelFunctions.kt b/idea/idea-frontend-fir/testData/symbolPointer/topLevelFunctions.kt index 17777c8c6c9..c7d38974d80 100644 --- a/idea/idea-frontend-fir/testData/symbolPointer/topLevelFunctions.kt +++ b/idea/idea-frontend-fir/testData/symbolPointer/topLevelFunctions.kt @@ -3,6 +3,7 @@ fun y() {} // SYMBOLS: KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: x isExtension: false @@ -14,14 +15,14 @@ KtFirFunctionSymbol: modality: FINAL name: x origin: SOURCE - receiverTypeAndAnnotations: null + receiverType: null symbolKind: TOP_LEVEL - type: kotlin/Int typeParameters: [] valueParameters: [] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Unit annotations: [] callableIdIfNonLocal: y isExtension: false @@ -33,9 +34,8 @@ KtFirFunctionSymbol: modality: FINAL name: y origin: SOURCE - receiverTypeAndAnnotations: null + receiverType: null symbolKind: TOP_LEVEL - type: kotlin/Unit typeParameters: [] valueParameters: [] visibility: PUBLIC diff --git a/idea/idea-frontend-fir/testData/symbolPointer/topLevelProperties.kt b/idea/idea-frontend-fir/testData/symbolPointer/topLevelProperties.kt index ad553f09584..df1908ba32b 100644 --- a/idea/idea-frontend-fir/testData/symbolPointer/topLevelProperties.kt +++ b/idea/idea-frontend-fir/testData/symbolPointer/topLevelProperties.kt @@ -3,6 +3,7 @@ val Int.y get() = this // SYMBOLS: KtFirKotlinPropertySymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: x getter: KtFirPropertyGetterSymbol() @@ -18,13 +19,13 @@ KtFirKotlinPropertySymbol: modality: FINAL name: x origin: SOURCE - receiverTypeAndAnnotations: null + receiverType: null setter: null symbolKind: TOP_LEVEL - type: kotlin/Int visibility: PUBLIC KtFirPropertyGetterSymbol: + annotatedType: [] kotlin/Int annotations: [] hasBody: true isDefault: false @@ -33,10 +34,10 @@ KtFirPropertyGetterSymbol: modality: FINAL origin: SOURCE symbolKind: TOP_LEVEL - type: kotlin/Int visibility: PUBLIC KtFirKotlinPropertySymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: y getter: KtFirPropertyGetterSymbol() @@ -52,8 +53,7 @@ KtFirKotlinPropertySymbol: modality: FINAL name: y origin: SOURCE - receiverTypeAndAnnotations: [] kotlin/Int + receiverType: [] kotlin/Int setter: null symbolKind: TOP_LEVEL - type: kotlin/Int visibility: PUBLIC diff --git a/idea/idea-frontend-fir/testData/symbolsByFqName/fileWalkDirectionEnum.txt b/idea/idea-frontend-fir/testData/symbolsByFqName/fileWalkDirectionEnum.txt index 02091117866..5c18c8c2598 100644 --- a/idea/idea-frontend-fir/testData/symbolsByFqName/fileWalkDirectionEnum.txt +++ b/idea/idea-frontend-fir/testData/symbolsByFqName/fileWalkDirectionEnum.txt @@ -2,6 +2,7 @@ callable: kotlin/collections/listOf // SYMBOLS: KtFirFunctionSymbol: + annotatedType: [] kotlin/collections/List annotations: [] callableIdIfNonLocal: kotlin.collections.listOf isExtension: false @@ -13,14 +14,14 @@ KtFirFunctionSymbol: modality: FINAL name: listOf origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: TOP_LEVEL - type: kotlin/collections/List typeParameters: [KtFirTypeParameterSymbol(T)] valueParameters: [KtFirFunctionValueParameterSymbol(element)] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/collections/List annotations: [] callableIdIfNonLocal: kotlin.collections.listOf isExtension: false @@ -32,14 +33,14 @@ KtFirFunctionSymbol: modality: FINAL name: listOf origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: TOP_LEVEL - type: kotlin/collections/List typeParameters: [KtFirTypeParameterSymbol(T)] valueParameters: [] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/collections/List annotations: [] callableIdIfNonLocal: kotlin.collections.listOf isExtension: false @@ -51,9 +52,8 @@ KtFirFunctionSymbol: modality: FINAL name: listOf origin: LIBRARY - receiverTypeAndAnnotations: null + receiverType: null symbolKind: TOP_LEVEL - type: kotlin/collections/List typeParameters: [KtFirTypeParameterSymbol(T)] valueParameters: [KtFirFunctionValueParameterSymbol(elements)] visibility: PUBLIC diff --git a/idea/idea-frontend-fir/testData/symbolsByFqName/iterator.txt b/idea/idea-frontend-fir/testData/symbolsByFqName/iterator.txt index dd99cc18b1a..303ae5b61c0 100644 --- a/idea/idea-frontend-fir/testData/symbolsByFqName/iterator.txt +++ b/idea/idea-frontend-fir/testData/symbolsByFqName/iterator.txt @@ -11,7 +11,7 @@ KtFirClassOrObjectSymbol: name: Iterator origin: LIBRARY primaryConstructor: null - superTypes: [kotlin/Any] + superTypes: [[] kotlin/Any] symbolKind: TOP_LEVEL typeParameters: [KtFirTypeParameterSymbol(T)] visibility: PUBLIC diff --git a/idea/idea-frontend-fir/testData/symbolsByFqName/listOf.txt b/idea/idea-frontend-fir/testData/symbolsByFqName/listOf.txt index e0d6d9fe9a9..8ed8987ff7e 100644 --- a/idea/idea-frontend-fir/testData/symbolsByFqName/listOf.txt +++ b/idea/idea-frontend-fir/testData/symbolsByFqName/listOf.txt @@ -11,7 +11,7 @@ KtFirClassOrObjectSymbol: name: FileWalkDirection origin: LIBRARY primaryConstructor: KtFirConstructorSymbol() - superTypes: [kotlin/Enum] + superTypes: [[] kotlin/Enum] symbolKind: TOP_LEVEL typeParameters: [] visibility: PUBLIC diff --git a/idea/idea-frontend-fir/testData/symbolsByPsi/annotations.kt b/idea/idea-frontend-fir/testData/symbolsByPsi/annotations.kt index 15c53a7a7d4..9848a09db9c 100644 --- a/idea/idea-frontend-fir/testData/symbolsByPsi/annotations.kt +++ b/idea/idea-frontend-fir/testData/symbolsByPsi/annotations.kt @@ -12,30 +12,30 @@ class X { // SYMBOLS: /* KtFirFunctionValueParameterSymbol: + annotatedType: [] kotlin/String annotations: [] hasDefaultValue: false isVararg: false name: param1 origin: SOURCE symbolKind: NON_PROPERTY_PARAMETER - type: kotlin/String KtFirFunctionValueParameterSymbol: + annotatedType: [] kotlin/Int annotations: [] hasDefaultValue: false isVararg: false name: param2 origin: SOURCE symbolKind: NON_PROPERTY_PARAMETER - type: kotlin/Int KtFirConstructorSymbol: + annotatedType: [] Anno annotations: [] containingClassIdIfNonLocal: Anno isPrimary: true origin: SOURCE symbolKind: MEMBER - type: Anno valueParameters: Could not render due to java.lang.ClassCastException: org.jetbrains.kotlin.idea.frontend.api.fir.symbols.KtFirFunctionValueParameterSymbol cannot be cast to org.jetbrains.kotlin.idea.frontend.api.fir.symbols.KtFirConstructorValueParameterSymbol visibility: PUBLIC @@ -49,12 +49,13 @@ KtFirClassOrObjectSymbol: name: Anno origin: SOURCE primaryConstructor: KtFirConstructorSymbol() - superTypes: [kotlin/Annotation] + superTypes: [[] kotlin/Annotation] symbolKind: TOP_LEVEL typeParameters: [] visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Unit annotations: [Anno(param1 = funparam, param2 = 3)] callableIdIfNonLocal: X.x isExtension: false @@ -66,9 +67,8 @@ KtFirFunctionSymbol: modality: FINAL name: x origin: SOURCE - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Unit typeParameters: [] valueParameters: [] visibility: PUBLIC @@ -83,7 +83,7 @@ KtFirClassOrObjectSymbol: name: X origin: SOURCE primaryConstructor: KtFirConstructorSymbol() - superTypes: [kotlin/Any] + superTypes: [[] kotlin/Any] symbolKind: TOP_LEVEL typeParameters: [] visibility: PUBLIC diff --git a/idea/idea-frontend-fir/testData/symbolsByPsi/anonymousObject.kt b/idea/idea-frontend-fir/testData/symbolsByPsi/anonymousObject.kt index 06443c07def..752929ff317 100644 --- a/idea/idea-frontend-fir/testData/symbolsByPsi/anonymousObject.kt +++ b/idea/idea-frontend-fir/testData/symbolsByPsi/anonymousObject.kt @@ -10,6 +10,7 @@ class AnonymousContainer { // SYMBOLS: /* KtFirFunctionSymbol: + annotatedType: [] kotlin/Unit annotations: [] callableIdIfNonLocal: .run isExtension: false @@ -21,14 +22,14 @@ KtFirFunctionSymbol: modality: FINAL name: run origin: SOURCE - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Unit typeParameters: [] valueParameters: [] visibility: PUBLIC KtFirKotlinPropertySymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: .data getter: KtFirPropertyGetterSymbol() @@ -44,19 +45,19 @@ KtFirKotlinPropertySymbol: modality: FINAL name: data origin: SOURCE - receiverTypeAndAnnotations: null + receiverType: null setter: null symbolKind: MEMBER - type: kotlin/Int visibility: PUBLIC KtFirAnonymousObjectSymbol: annotations: [] origin: SOURCE - superTypes: [java/lang/Runnable] + superTypes: [[] java/lang/Runnable] symbolKind: LOCAL KtFirKotlinPropertySymbol: + annotatedType: [] java/lang/Runnable annotations: [] callableIdIfNonLocal: AnonymousContainer.anonymousObject getter: KtFirPropertyGetterSymbol() @@ -72,10 +73,9 @@ KtFirKotlinPropertySymbol: modality: FINAL name: anonymousObject origin: SOURCE - receiverTypeAndAnnotations: null + receiverType: null setter: null symbolKind: MEMBER - type: java/lang/Runnable visibility: PUBLIC KtFirClassOrObjectSymbol: @@ -88,7 +88,7 @@ KtFirClassOrObjectSymbol: name: AnonymousContainer origin: SOURCE primaryConstructor: KtFirConstructorSymbol() - superTypes: [kotlin/Any] + superTypes: [[] kotlin/Any] symbolKind: TOP_LEVEL typeParameters: [] visibility: PUBLIC diff --git a/idea/idea-frontend-fir/testData/symbolsByPsi/class.kt b/idea/idea-frontend-fir/testData/symbolsByPsi/class.kt index ea6fba4064a..5d66681ccdf 100644 --- a/idea/idea-frontend-fir/testData/symbolsByPsi/class.kt +++ b/idea/idea-frontend-fir/testData/symbolsByPsi/class.kt @@ -13,7 +13,7 @@ KtFirClassOrObjectSymbol: name: A origin: SOURCE primaryConstructor: KtFirConstructorSymbol() - superTypes: [kotlin/Any] + superTypes: [[] kotlin/Any] symbolKind: TOP_LEVEL typeParameters: [] visibility: PUBLIC diff --git a/idea/idea-frontend-fir/testData/symbolsByPsi/classMembes.kt b/idea/idea-frontend-fir/testData/symbolsByPsi/classMembes.kt index a09e8d0f015..f7f391475f0 100644 --- a/idea/idea-frontend-fir/testData/symbolsByPsi/classMembes.kt +++ b/idea/idea-frontend-fir/testData/symbolsByPsi/classMembes.kt @@ -6,6 +6,7 @@ class A { // SYMBOLS: /* KtFirKotlinPropertySymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: A.a getter: KtFirPropertyGetterSymbol() @@ -21,13 +22,13 @@ KtFirKotlinPropertySymbol: modality: FINAL name: a origin: SOURCE - receiverTypeAndAnnotations: null + receiverType: null setter: null symbolKind: MEMBER - type: kotlin/Int visibility: PUBLIC KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: A.x isExtension: false @@ -39,9 +40,8 @@ KtFirFunctionSymbol: modality: FINAL name: x origin: SOURCE - receiverTypeAndAnnotations: null + receiverType: null symbolKind: MEMBER - type: kotlin/Int typeParameters: [] valueParameters: [] visibility: PUBLIC @@ -56,7 +56,7 @@ KtFirClassOrObjectSymbol: name: A origin: SOURCE primaryConstructor: KtFirConstructorSymbol() - superTypes: [kotlin/Any] + superTypes: [[] kotlin/Any] symbolKind: TOP_LEVEL typeParameters: [] visibility: PUBLIC diff --git a/idea/idea-frontend-fir/testData/symbolsByPsi/classWithTypeParams.kt b/idea/idea-frontend-fir/testData/symbolsByPsi/classWithTypeParams.kt index faa01f04031..15a28cbed28 100644 --- a/idea/idea-frontend-fir/testData/symbolsByPsi/classWithTypeParams.kt +++ b/idea/idea-frontend-fir/testData/symbolsByPsi/classWithTypeParams.kt @@ -23,7 +23,7 @@ KtFirClassOrObjectSymbol: name: A origin: SOURCE primaryConstructor: KtFirConstructorSymbol() - superTypes: [kotlin/Any] + superTypes: [[] kotlin/Any] symbolKind: TOP_LEVEL typeParameters: [KtFirTypeParameterSymbol(T), KtFirTypeParameterSymbol(R)] visibility: PUBLIC diff --git a/idea/idea-frontend-fir/testData/symbolsByPsi/extensionFunction.kt b/idea/idea-frontend-fir/testData/symbolsByPsi/extensionFunction.kt index b519d7d447e..e9515d30828 100644 --- a/idea/idea-frontend-fir/testData/symbolsByPsi/extensionFunction.kt +++ b/idea/idea-frontend-fir/testData/symbolsByPsi/extensionFunction.kt @@ -3,6 +3,7 @@ fun String.foo(): Int = 10 // SYMBOLS: /* KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: foo isExtension: true @@ -14,9 +15,8 @@ KtFirFunctionSymbol: modality: FINAL name: foo origin: SOURCE - receiverTypeAndAnnotations: [] kotlin/String + receiverType: [] kotlin/String symbolKind: TOP_LEVEL - type: kotlin/Int typeParameters: [] valueParameters: [] visibility: PUBLIC diff --git a/idea/idea-frontend-fir/testData/symbolsByPsi/function.kt b/idea/idea-frontend-fir/testData/symbolsByPsi/function.kt index a460b74a83e..4c2b5c9bb38 100644 --- a/idea/idea-frontend-fir/testData/symbolsByPsi/function.kt +++ b/idea/idea-frontend-fir/testData/symbolsByPsi/function.kt @@ -3,15 +3,16 @@ fun foo(x: Int) {} // SYMBOLS: /* KtFirFunctionValueParameterSymbol: + annotatedType: [] kotlin/Int annotations: [] hasDefaultValue: false isVararg: false name: x origin: SOURCE symbolKind: NON_PROPERTY_PARAMETER - type: kotlin/Int KtFirFunctionSymbol: + annotatedType: [] kotlin/Unit annotations: [] callableIdIfNonLocal: foo isExtension: false @@ -23,9 +24,8 @@ KtFirFunctionSymbol: modality: FINAL name: foo origin: SOURCE - receiverTypeAndAnnotations: null + receiverType: null symbolKind: TOP_LEVEL - type: kotlin/Unit typeParameters: [] valueParameters: [KtFirFunctionValueParameterSymbol(x)] visibility: PUBLIC diff --git a/idea/idea-frontend-fir/testData/symbolsByPsi/functionWithTypeParams.kt b/idea/idea-frontend-fir/testData/symbolsByPsi/functionWithTypeParams.kt index 4ba2957b865..90968f67a11 100644 --- a/idea/idea-frontend-fir/testData/symbolsByPsi/functionWithTypeParams.kt +++ b/idea/idea-frontend-fir/testData/symbolsByPsi/functionWithTypeParams.kt @@ -8,15 +8,16 @@ KtFirTypeParameterSymbol: upperBounds: [kotlin/Any?] KtFirFunctionValueParameterSymbol: + annotatedType: [] X annotations: [] hasDefaultValue: false isVararg: false name: x origin: SOURCE symbolKind: NON_PROPERTY_PARAMETER - type: X KtFirFunctionSymbol: + annotatedType: [] kotlin/Unit annotations: [] callableIdIfNonLocal: foo isExtension: false @@ -28,9 +29,8 @@ KtFirFunctionSymbol: modality: FINAL name: foo origin: SOURCE - receiverTypeAndAnnotations: null + receiverType: null symbolKind: TOP_LEVEL - type: kotlin/Unit typeParameters: [KtFirTypeParameterSymbol(X)] valueParameters: [KtFirFunctionValueParameterSymbol(x)] visibility: PUBLIC diff --git a/idea/idea-frontend-fir/testData/symbolsByPsi/implicitReturn.kt b/idea/idea-frontend-fir/testData/symbolsByPsi/implicitReturn.kt index f044fbf1734..4cc39a204e0 100644 --- a/idea/idea-frontend-fir/testData/symbolsByPsi/implicitReturn.kt +++ b/idea/idea-frontend-fir/testData/symbolsByPsi/implicitReturn.kt @@ -3,6 +3,7 @@ fun foo(): Int = 10 // SYMBOLS: /* KtFirFunctionSymbol: + annotatedType: [] kotlin/Int annotations: [] callableIdIfNonLocal: foo isExtension: false @@ -14,9 +15,8 @@ KtFirFunctionSymbol: modality: FINAL name: foo origin: SOURCE - receiverTypeAndAnnotations: null + receiverType: null symbolKind: TOP_LEVEL - type: kotlin/Int typeParameters: [] valueParameters: [] visibility: PUBLIC diff --git a/idea/idea-frontend-fir/testData/symbolsByPsi/localDeclarations.kt b/idea/idea-frontend-fir/testData/symbolsByPsi/localDeclarations.kt index db3272312ed..4dadc23c08f 100644 --- a/idea/idea-frontend-fir/testData/symbolsByPsi/localDeclarations.kt +++ b/idea/idea-frontend-fir/testData/symbolsByPsi/localDeclarations.kt @@ -8,13 +8,14 @@ fun yyy() { // SYMBOLS: /* KtFirLocalVariableSymbol: + annotatedType: [] kotlin/Int isVal: true name: q origin: SOURCE symbolKind: LOCAL - type: kotlin/Int KtFirFunctionSymbol: + annotatedType: [] kotlin/Unit annotations: [] callableIdIfNonLocal: null isExtension: false @@ -26,9 +27,8 @@ KtFirFunctionSymbol: modality: FINAL name: aaa origin: SOURCE - receiverTypeAndAnnotations: null + receiverType: null symbolKind: LOCAL - type: kotlin/Unit typeParameters: [] valueParameters: [] visibility: LOCAL @@ -43,12 +43,13 @@ KtFirClassOrObjectSymbol: name: F origin: SOURCE primaryConstructor: KtFirConstructorSymbol() - superTypes: [kotlin/Any] + superTypes: [[] kotlin/Any] symbolKind: LOCAL typeParameters: [] visibility: LOCAL KtFirFunctionSymbol: + annotatedType: [] kotlin/Unit annotations: [] callableIdIfNonLocal: yyy isExtension: false @@ -60,9 +61,8 @@ KtFirFunctionSymbol: modality: FINAL name: yyy origin: SOURCE - receiverTypeAndAnnotations: null + receiverType: null symbolKind: TOP_LEVEL - type: kotlin/Unit typeParameters: [] valueParameters: [] visibility: PUBLIC diff --git a/idea/idea-frontend-fir/tests/org/jetbrains/kotlin/idea/frontend/api/fir/AbstractResolveCallTest.kt b/idea/idea-frontend-fir/tests/org/jetbrains/kotlin/idea/frontend/api/fir/AbstractResolveCallTest.kt index 0caa225b8d4..3bfc101f4de 100644 --- a/idea/idea-frontend-fir/tests/org/jetbrains/kotlin/idea/frontend/api/fir/AbstractResolveCallTest.kt +++ b/idea/idea-frontend-fir/tests/org/jetbrains/kotlin/idea/frontend/api/fir/AbstractResolveCallTest.kt @@ -100,12 +100,12 @@ private fun KtCall.stringRepresentation(): String { if (valueParameters.isNotEmpty()) append(", ") } valueParameters.joinTo(this) { parameter -> - "${parameter.name}: ${parameter.typeAndAnnotations.type.render()}" + "${parameter.name}: ${parameter.annotatedType.type.render()}" } append(")") - append(": ${typeAndAnnotations.type.render()}") + append(": ${annotatedType.type.render()}") } - is KtParameterSymbol -> "$name: ${typeAndAnnotations.type.render()}" + is KtParameterSymbol -> "$name: ${annotatedType.type.render()}" is KtSuccessCallTarget -> symbol.stringValue() is KtErrorCallTarget -> "ERR<${this.diagnostic.message}, [${candidates.joinToString { it.stringValue() }}]>" is Boolean -> toString()