From c559adc0fb3d127a1281e022aabcdae89499d230 Mon Sep 17 00:00:00 2001 From: Jinseong Jeon Date: Wed, 28 Jul 2021 23:43:42 +0200 Subject: [PATCH] FIR IDE: render list of symbols with indentation Also, render `psi` of annotation call (to showcase they're always null for now) --- .../api/symbols/DebugSymbolRenderer.kt | 30 +- .../fileScopeTest/simpleFileScope.kt.result | 8 +- .../fileScopeTest/simpleFileScope.txt | 8 +- .../testData/memberScopeByFqName/Int.kt | 313 ++++++++-- .../testData/memberScopeByFqName/Int.txt | 250 ++++++-- .../memberScopeByFqName/MutableList.kt | 95 +++- .../memberScopeByFqName/MutableList.txt | 72 ++- .../memberScopeByFqName/java.lang.String.kt | 534 +++++++++++++----- .../memberScopeByFqName/java.lang.String.txt | 341 ++++++++--- .../memberScopeByFqName/kotlin.Function2.kt | 13 +- .../memberScopeByFqName/kotlin.Function2.txt | 9 +- .../testData/symbols/symbolByFqName/class.kt | 8 +- .../testData/symbols/symbolByFqName/class.txt | 8 +- .../symbols/symbolByFqName/classFromJdk.kt | 7 +- .../symbols/symbolByFqName/classFromJdk.txt | 7 +- .../symbolByFqName/fileWalkDirectionEnum.kt | 32 +- .../symbolByFqName/fileWalkDirectionEnum.txt | 29 +- .../symbols/symbolByFqName/iterator.kt | 8 +- .../symbols/symbolByFqName/iterator.txt | 8 +- .../testData/symbols/symbolByFqName/listOf.kt | 4 +- .../symbols/symbolByFqName/listOf.txt | 4 +- .../symbols/symbolByFqName/memberFunction.kt | 5 +- .../symbols/symbolByFqName/memberFunction.txt | 4 +- .../memberFunctionWithOverloads.kt | 6 +- .../memberFunctionWithOverloads.txt | 4 +- .../symbols/symbolByFqName/nestedClass.kt | 9 +- .../symbols/symbolByFqName/nestedClass.txt | 9 +- .../symbols/symbolByPsi/annotations.kt | 33 +- .../symbols/symbolByPsi/annotations.txt | 31 +- .../symbols/symbolByPsi/anonymousObject.kt | 9 +- .../symbols/symbolByPsi/anonymousObject.txt | 8 +- .../testData/symbols/symbolByPsi/class.kt | 4 +- .../testData/symbols/symbolByPsi/class.txt | 4 +- .../symbols/symbolByPsi/classMembes.kt | 5 +- .../symbols/symbolByPsi/classMembes.txt | 4 +- .../symbolByPsi/classPrimaryConstructor.kt | 5 +- .../symbolByPsi/classPrimaryConstructor.txt | 4 +- .../symbolByPsi/classSecondaryConstructors.kt | 16 +- .../classSecondaryConstructors.txt | 13 +- .../symbolByPsi/classWithTypeParams.kt | 17 +- .../symbolByPsi/classWithTypeParams.txt | 17 +- .../testData/symbols/symbolByPsi/enum.kt | 4 +- .../testData/symbols/symbolByPsi/enum.txt | 4 +- .../symbols/symbolByPsi/enumValueMember.kt | 8 +- .../symbols/symbolByPsi/enumValueMember.txt | 8 +- .../testData/symbols/symbolByPsi/function.kt | 5 +- .../testData/symbols/symbolByPsi/function.txt | 4 +- .../symbolByPsi/functionWithTypeParams.kt | 13 +- .../symbolByPsi/functionWithTypeParams.txt | 12 +- .../symbolByPsi/implicitReturnInLambda.kt | 21 +- .../symbolByPsi/implicitReturnInLambda.txt | 16 +- .../symbols/symbolByPsi/localDeclarations.kt | 6 +- .../symbols/symbolByPsi/localDeclarations.txt | 4 +- .../symbols/symbolByPsi/memberFunctions.kt | 6 +- .../symbols/symbolByPsi/memberFunctions.txt | 4 +- .../symbols/symbolByPsi/memberProperties.kt | 4 +- .../symbols/symbolByPsi/memberProperties.txt | 4 +- .../symbolByPsi/outerAndInnerClasses.kt | 81 ++- .../symbolByPsi/outerAndInnerClasses.txt | 80 ++- .../testData/symbols/symbolByPsi/typeAlias.kt | 16 +- .../symbols/symbolByPsi/typeAlias.txt | 16 +- .../symbols/symbolByPsi/typeAnnotations.kt | 83 ++- .../symbols/symbolByPsi/typeAnnotations.txt | 82 ++- .../constructorViaTypeAlias.txt | 8 +- 64 files changed, 1925 insertions(+), 559 deletions(-) diff --git a/idea/idea-frontend-api/src/org/jetbrains/kotlin/idea/frontend/api/symbols/DebugSymbolRenderer.kt b/idea/idea-frontend-api/src/org/jetbrains/kotlin/idea/frontend/api/symbols/DebugSymbolRenderer.kt index 15ce2c02392..0bc8fb4f33e 100644 --- a/idea/idea-frontend-api/src/org/jetbrains/kotlin/idea/frontend/api/symbols/DebugSymbolRenderer.kt +++ b/idea/idea-frontend-api/src/org/jetbrains/kotlin/idea/frontend/api/symbols/DebugSymbolRenderer.kt @@ -16,6 +16,14 @@ import kotlin.reflect.KProperty import kotlin.reflect.jvm.javaGetter public object DebugSymbolRenderer { + private fun StringBuilder.appendLine(indent: Int, line: String) { + appendLine(line.prependIndent(" ".repeat(indent))) + } + + private fun StringBuilder.append(indent: Int, value: String) { + append(value.prependIndent(" ".repeat(indent))) + } + public fun render(symbol: KtSymbol): String = buildString { val klass = symbol::class appendLine("${klass.simpleName}:") @@ -28,7 +36,7 @@ public object DebugSymbolRenderer { "Could not render due to ${e.cause}" } val stringValue = renderValue(value) - appendLine(" ${property.name}: $stringValue") + appendLine(INDENT, "${property.name}: $stringValue") } } @@ -42,9 +50,11 @@ public object DebugSymbolRenderer { is ClassId -> value.asString() is CallableId -> value.toString() is Enum<*> -> value.name - is List<*> -> buildString { - append("[") - value.joinTo(this) { renderValue(it) } + is List<*> -> if (value.isEmpty()) "[]" else buildString { + appendLine("[") + value.forEach { + appendLine(INDENT, renderValue(it)) + } append("]") } is KtType -> value.asStringForDebugging() @@ -62,11 +72,17 @@ public object DebugSymbolRenderer { } is KtSimpleConstantValue<*> -> renderValue(value.value) is KtNamedConstantValue -> "${renderValue(value.name)} = ${renderValue(value.expression)}" - is KtAnnotationCall -> - "${renderValue(value.classId)}${value.arguments.joinToString(prefix = "(", postfix = ")") { renderValue(it) }}" + is KtAnnotationCall -> buildString { + append(renderValue(value.classId)) + appendLine(value.arguments.joinToString(prefix = "(", postfix = ")") { renderValue(it) }) + // TODO: perhaps we want to render `psi` for all other cases as well. + append(INDENT, "psi: ${renderValue(value.psi)}") + } is KtTypeAndAnnotations -> "${renderValue(value.annotations)} ${renderValue(value.type)}" else -> value::class.simpleName!! } private val ignoredPropertyNames = setOf("firRef", "psi", "token", "builder") -} \ No newline at end of file + + private const val INDENT = 2 +} diff --git a/idea/idea-frontend-fir/testData/fileScopeTest/simpleFileScope.kt.result b/idea/idea-frontend-fir/testData/fileScopeTest/simpleFileScope.kt.result index 8b472bb0641..21ba8c9b201 100644 --- a/idea/idea-frontend-fir/testData/fileScopeTest/simpleFileScope.kt.result +++ b/idea/idea-frontend-fir/testData/fileScopeTest/simpleFileScope.kt.result @@ -74,7 +74,9 @@ KtFirNamedClassOrObjectSymbol: modality: FINAL name: C origin: SOURCE - superTypes: [[] kotlin/Any] + superTypes: [ + [] kotlin/Any + ] symbolKind: TOP_LEVEL typeParameters: [] visibility: Public @@ -93,7 +95,9 @@ KtFirNamedClassOrObjectSymbol: modality: ABSTRACT name: I origin: SOURCE - superTypes: [[] kotlin/Any] + superTypes: [ + [] kotlin/Any + ] symbolKind: TOP_LEVEL typeParameters: [] visibility: Public diff --git a/idea/idea-frontend-fir/testData/fileScopeTest/simpleFileScope.txt b/idea/idea-frontend-fir/testData/fileScopeTest/simpleFileScope.txt index b4e0aa3f12f..17c5cf553fb 100644 --- a/idea/idea-frontend-fir/testData/fileScopeTest/simpleFileScope.txt +++ b/idea/idea-frontend-fir/testData/fileScopeTest/simpleFileScope.txt @@ -75,7 +75,9 @@ KtFirNamedClassOrObjectSymbol: modality: FINAL name: C origin: SOURCE - superTypes: [[] kotlin/Any] + superTypes: [ + [] kotlin/Any + ] symbolKind: TOP_LEVEL typeParameters: [] visibility: Public @@ -94,7 +96,9 @@ KtFirNamedClassOrObjectSymbol: modality: ABSTRACT name: I origin: SOURCE - superTypes: [[] kotlin/Any] + superTypes: [ + [] kotlin/Any + ] symbolKind: TOP_LEVEL typeParameters: [] visibility: Public diff --git a/idea/idea-frontend-fir/testData/memberScopeByFqName/Int.kt b/idea/idea-frontend-fir/testData/memberScopeByFqName/Int.kt index ec719456245..8fb16c4f283 100644 --- a/idea/idea-frontend-fir/testData/memberScopeByFqName/Int.kt +++ b/idea/idea-frontend-fir/testData/memberScopeByFqName/Int.kt @@ -11,6 +11,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.and dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: true @@ -25,7 +26,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -34,6 +37,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.compareTo dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -48,7 +52,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -57,6 +63,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.compareTo dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -71,7 +78,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -80,6 +89,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.compareTo dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -94,7 +104,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -103,6 +115,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.compareTo dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -117,7 +130,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -126,6 +141,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.compareTo dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -140,7 +156,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -149,6 +167,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.compareTo dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -163,7 +182,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -172,6 +193,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.dec dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -195,6 +217,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.div dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -209,7 +232,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -218,6 +243,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.div dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -232,7 +258,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -241,6 +269,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.div dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -255,7 +284,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -264,6 +295,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.div dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -278,7 +310,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -287,6 +321,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.div dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -301,7 +336,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -310,6 +347,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.div dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -324,7 +362,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -333,6 +373,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.inc dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -356,6 +397,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.inv dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -379,6 +421,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.minus dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -393,7 +436,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -402,6 +447,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.minus dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -416,7 +462,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -425,6 +473,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.minus dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -439,7 +488,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -448,6 +499,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.minus dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -462,7 +514,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -471,6 +525,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.minus dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -485,7 +540,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -494,6 +551,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.minus dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -508,7 +566,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -517,6 +577,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.or dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: true @@ -531,7 +592,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -540,6 +603,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.plus dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -554,7 +618,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -563,6 +629,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.plus dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -577,7 +644,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -586,6 +655,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.plus dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -600,7 +670,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -609,6 +681,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.plus dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -623,7 +696,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -632,6 +707,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.plus dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -646,7 +722,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -655,6 +733,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.plus dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -669,7 +748,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -678,6 +759,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.rangeTo dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -692,7 +774,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -701,6 +785,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.rangeTo dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -715,7 +800,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -724,6 +811,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.rangeTo dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -738,7 +826,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -747,6 +837,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.rangeTo dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -761,15 +852,23 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: annotatedType: [] kotlin/Int - annotationClassIds: [kotlin/SinceKotlin] - annotations: [kotlin/SinceKotlin(version = 1.1)] + annotationClassIds: [ + kotlin/SinceKotlin + ] + annotations: [ + kotlin/SinceKotlin(version = 1.1) + psi: null + ] callableIdIfNonLocal: kotlin/Int.rem dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -784,15 +883,23 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: annotatedType: [] kotlin/Double - annotationClassIds: [kotlin/SinceKotlin] - annotations: [kotlin/SinceKotlin(version = 1.1)] + annotationClassIds: [ + kotlin/SinceKotlin + ] + annotations: [ + kotlin/SinceKotlin(version = 1.1) + psi: null + ] callableIdIfNonLocal: kotlin/Int.rem dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -807,15 +914,23 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: annotatedType: [] kotlin/Float - annotationClassIds: [kotlin/SinceKotlin] - annotations: [kotlin/SinceKotlin(version = 1.1)] + annotationClassIds: [ + kotlin/SinceKotlin + ] + annotations: [ + kotlin/SinceKotlin(version = 1.1) + psi: null + ] callableIdIfNonLocal: kotlin/Int.rem dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -830,15 +945,23 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: annotatedType: [] kotlin/Int - annotationClassIds: [kotlin/SinceKotlin] - annotations: [kotlin/SinceKotlin(version = 1.1)] + annotationClassIds: [ + kotlin/SinceKotlin + ] + annotations: [ + kotlin/SinceKotlin(version = 1.1) + psi: null + ] callableIdIfNonLocal: kotlin/Int.rem dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -853,15 +976,23 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: annotatedType: [] kotlin/Long - annotationClassIds: [kotlin/SinceKotlin] - annotations: [kotlin/SinceKotlin(version = 1.1)] + annotationClassIds: [ + kotlin/SinceKotlin + ] + annotations: [ + kotlin/SinceKotlin(version = 1.1) + psi: null + ] callableIdIfNonLocal: kotlin/Int.rem dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -876,15 +1007,23 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: annotatedType: [] kotlin/Int - annotationClassIds: [kotlin/SinceKotlin] - annotations: [kotlin/SinceKotlin(version = 1.1)] + annotationClassIds: [ + kotlin/SinceKotlin + ] + annotations: [ + kotlin/SinceKotlin(version = 1.1) + psi: null + ] callableIdIfNonLocal: kotlin/Int.rem dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -899,7 +1038,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -908,6 +1049,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.shl dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: true @@ -922,7 +1064,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(bitCount)] + valueParameters: [ + KtFirValueParameterSymbol(bitCount) + ] visibility: Public KtFirFunctionSymbol: @@ -931,6 +1075,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.shr dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: true @@ -945,7 +1090,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(bitCount)] + valueParameters: [ + KtFirValueParameterSymbol(bitCount) + ] visibility: Public KtFirFunctionSymbol: @@ -954,6 +1101,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.times dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -968,7 +1116,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -977,6 +1127,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.times dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -991,7 +1142,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -1000,6 +1153,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.times dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -1014,7 +1168,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -1023,6 +1179,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.times dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -1037,7 +1194,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -1046,6 +1205,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.times dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -1060,7 +1220,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -1069,6 +1231,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.times dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -1083,7 +1246,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -1092,6 +1257,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.toByte dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -1115,6 +1281,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.toChar dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -1138,6 +1305,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.toDouble dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -1161,6 +1329,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.toFloat dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -1184,6 +1353,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.toInt dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -1207,6 +1377,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.toLong dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -1230,6 +1401,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.toShort dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -1253,6 +1425,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.unaryMinus dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -1276,6 +1449,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.unaryPlus dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -1299,6 +1473,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.ushr dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: true @@ -1313,7 +1488,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(bitCount)] + valueParameters: [ + KtFirValueParameterSymbol(bitCount) + ] visibility: Public KtFirFunctionSymbol: @@ -1322,6 +1499,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Int.xor dispatchType: kotlin/Int + hasStableParameterNames: true isExtension: false isExternal: false isInfix: true @@ -1336,7 +1514,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -1345,6 +1525,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Any.equals dispatchType: kotlin/Any + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -1359,7 +1540,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -1368,6 +1551,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Any.hashCode dispatchType: kotlin/Any + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -1391,6 +1575,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Any.toString dispatchType: kotlin/Any + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -1422,7 +1607,9 @@ KtFirNamedClassOrObjectSymbol: modality: FINAL name: Companion origin: LIBRARY - superTypes: [[] kotlin/Any] + superTypes: [ + [] kotlin/Any + ] symbolKind: MEMBER typeParameters: [] visibility: Public @@ -1434,13 +1621,16 @@ KtFirConstructorSymbol: callableIdIfNonLocal: null containingClassIdIfNonLocal: java/lang/Integer dispatchType: null + hasStableParameterNames: false isExtension: false isPrimary: false origin: JAVA receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(value)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirConstructorSymbol: @@ -1450,6 +1640,7 @@ KtFirConstructorSymbol: callableIdIfNonLocal: null containingClassIdIfNonLocal: kotlin/Int dispatchType: null + hasStableParameterNames: true isExtension: false isPrimary: true origin: LIBRARY diff --git a/idea/idea-frontend-fir/testData/memberScopeByFqName/Int.txt b/idea/idea-frontend-fir/testData/memberScopeByFqName/Int.txt index cf41f69f2d3..1c2ba65edd7 100644 --- a/idea/idea-frontend-fir/testData/memberScopeByFqName/Int.txt +++ b/idea/idea-frontend-fir/testData/memberScopeByFqName/Int.txt @@ -19,7 +19,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -43,7 +45,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -67,7 +71,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -91,7 +97,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -115,7 +123,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -139,7 +149,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -163,7 +175,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -211,7 +225,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -235,7 +251,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -259,7 +277,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -283,7 +303,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -307,7 +329,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -331,7 +355,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -403,7 +429,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -427,7 +455,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -451,7 +481,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -475,7 +507,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -499,7 +533,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -523,7 +559,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -547,7 +585,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -571,7 +611,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -595,7 +637,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -619,7 +663,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -643,7 +689,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -667,7 +715,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -691,7 +741,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -715,7 +767,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -739,7 +793,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -763,7 +819,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -787,13 +845,20 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: annotatedType: [] kotlin/Int - annotationClassIds: [kotlin/SinceKotlin] - annotations: [kotlin/SinceKotlin(version = 1.1)] + annotationClassIds: [ + kotlin/SinceKotlin + ] + annotations: [ + kotlin/SinceKotlin(version = 1.1) + psi: null + ] callableIdIfNonLocal: kotlin/Int.rem dispatchType: kotlin/Int hasStableParameterNames: true @@ -811,13 +876,20 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: annotatedType: [] kotlin/Double - annotationClassIds: [kotlin/SinceKotlin] - annotations: [kotlin/SinceKotlin(version = 1.1)] + annotationClassIds: [ + kotlin/SinceKotlin + ] + annotations: [ + kotlin/SinceKotlin(version = 1.1) + psi: null + ] callableIdIfNonLocal: kotlin/Int.rem dispatchType: kotlin/Int hasStableParameterNames: true @@ -835,13 +907,20 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: annotatedType: [] kotlin/Float - annotationClassIds: [kotlin/SinceKotlin] - annotations: [kotlin/SinceKotlin(version = 1.1)] + annotationClassIds: [ + kotlin/SinceKotlin + ] + annotations: [ + kotlin/SinceKotlin(version = 1.1) + psi: null + ] callableIdIfNonLocal: kotlin/Int.rem dispatchType: kotlin/Int hasStableParameterNames: true @@ -859,13 +938,20 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: annotatedType: [] kotlin/Int - annotationClassIds: [kotlin/SinceKotlin] - annotations: [kotlin/SinceKotlin(version = 1.1)] + annotationClassIds: [ + kotlin/SinceKotlin + ] + annotations: [ + kotlin/SinceKotlin(version = 1.1) + psi: null + ] callableIdIfNonLocal: kotlin/Int.rem dispatchType: kotlin/Int hasStableParameterNames: true @@ -883,13 +969,20 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: annotatedType: [] kotlin/Long - annotationClassIds: [kotlin/SinceKotlin] - annotations: [kotlin/SinceKotlin(version = 1.1)] + annotationClassIds: [ + kotlin/SinceKotlin + ] + annotations: [ + kotlin/SinceKotlin(version = 1.1) + psi: null + ] callableIdIfNonLocal: kotlin/Int.rem dispatchType: kotlin/Int hasStableParameterNames: true @@ -907,13 +1000,20 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: annotatedType: [] kotlin/Int - annotationClassIds: [kotlin/SinceKotlin] - annotations: [kotlin/SinceKotlin(version = 1.1)] + annotationClassIds: [ + kotlin/SinceKotlin + ] + annotations: [ + kotlin/SinceKotlin(version = 1.1) + psi: null + ] callableIdIfNonLocal: kotlin/Int.rem dispatchType: kotlin/Int hasStableParameterNames: true @@ -931,7 +1031,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -955,7 +1057,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(bitCount)] + valueParameters: [ + KtFirValueParameterSymbol(bitCount) + ] visibility: Public KtFirFunctionSymbol: @@ -979,7 +1083,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(bitCount)] + valueParameters: [ + KtFirValueParameterSymbol(bitCount) + ] visibility: Public KtFirFunctionSymbol: @@ -1003,7 +1109,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -1027,7 +1135,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -1051,7 +1161,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -1075,7 +1187,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -1099,7 +1213,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -1123,7 +1239,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -1363,7 +1481,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(bitCount)] + valueParameters: [ + KtFirValueParameterSymbol(bitCount) + ] visibility: Public KtFirFunctionSymbol: @@ -1387,7 +1507,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -1411,7 +1533,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -1476,7 +1600,9 @@ KtFirNamedClassOrObjectSymbol: modality: FINAL name: Companion origin: LIBRARY - superTypes: [[] kotlin/Any] + superTypes: [ + [] kotlin/Any + ] symbolKind: MEMBER typeParameters: [] visibility: Public @@ -1495,7 +1621,9 @@ KtFirConstructorSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirConstructorSymbol: diff --git a/idea/idea-frontend-fir/testData/memberScopeByFqName/MutableList.kt b/idea/idea-frontend-fir/testData/memberScopeByFqName/MutableList.kt index c65e8760113..d728b599835 100644 --- a/idea/idea-frontend-fir/testData/memberScopeByFqName/MutableList.kt +++ b/idea/idea-frontend-fir/testData/memberScopeByFqName/MutableList.kt @@ -8,6 +8,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/collections/MutableList.add dispatchType: kotlin/collections/MutableList + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -22,7 +23,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(element)] + valueParameters: [ + KtFirValueParameterSymbol(element) + ] visibility: Public KtFirFunctionSymbol: @@ -31,6 +34,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/collections/MutableList.add dispatchType: kotlin/collections/MutableList + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -45,7 +49,10 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(index), KtFirValueParameterSymbol(element)] + valueParameters: [ + KtFirValueParameterSymbol(index) + KtFirValueParameterSymbol(element) + ] visibility: Public KtFirFunctionSymbol: @@ -54,6 +61,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/collections/MutableList.addAll dispatchType: kotlin/collections/MutableList + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -68,7 +76,10 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(index), KtFirValueParameterSymbol(elements)] + valueParameters: [ + KtFirValueParameterSymbol(index) + KtFirValueParameterSymbol(elements) + ] visibility: Public KtFirFunctionSymbol: @@ -77,6 +88,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/collections/MutableList.addAll dispatchType: kotlin/collections/MutableList + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -91,7 +103,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(elements)] + valueParameters: [ + KtFirValueParameterSymbol(elements) + ] visibility: Public KtFirFunctionSymbol: @@ -100,6 +114,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/collections/MutableList.clear dispatchType: kotlin/collections/MutableList + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -123,6 +138,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/collections/MutableList.listIterator dispatchType: kotlin/collections/MutableList + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -146,6 +162,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/collections/MutableList.listIterator dispatchType: kotlin/collections/MutableList + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -160,7 +177,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(index)] + valueParameters: [ + KtFirValueParameterSymbol(index) + ] visibility: Public KtFirFunctionSymbol: @@ -169,6 +188,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/collections/MutableList.remove dispatchType: kotlin/collections/MutableList + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -183,7 +203,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(element)] + valueParameters: [ + KtFirValueParameterSymbol(element) + ] visibility: Public KtFirFunctionSymbol: @@ -192,6 +214,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/collections/MutableList.removeAll dispatchType: kotlin/collections/MutableList + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -206,7 +229,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(elements)] + valueParameters: [ + KtFirValueParameterSymbol(elements) + ] visibility: Public KtFirFunctionSymbol: @@ -215,6 +240,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/collections/MutableList.removeAt dispatchType: kotlin/collections/MutableList + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -229,7 +255,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(index)] + valueParameters: [ + KtFirValueParameterSymbol(index) + ] visibility: Public KtFirFunctionSymbol: @@ -238,6 +266,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/collections/MutableList.retainAll dispatchType: kotlin/collections/MutableList + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -252,7 +281,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(elements)] + valueParameters: [ + KtFirValueParameterSymbol(elements) + ] visibility: Public KtFirFunctionSymbol: @@ -261,6 +292,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/collections/MutableList.set dispatchType: kotlin/collections/MutableList + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -275,7 +307,10 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(index), KtFirValueParameterSymbol(element)] + valueParameters: [ + KtFirValueParameterSymbol(index) + KtFirValueParameterSymbol(element) + ] visibility: Public KtFirFunctionSymbol: @@ -284,6 +319,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/collections/MutableList.subList dispatchType: kotlin/collections/MutableList + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -298,7 +334,10 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(fromIndex), KtFirValueParameterSymbol(toIndex)] + valueParameters: [ + KtFirValueParameterSymbol(fromIndex) + KtFirValueParameterSymbol(toIndex) + ] visibility: Public KtFirFunctionSymbol: @@ -307,6 +346,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/collections/MutableList.contains dispatchType: kotlin/collections/MutableList + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -321,7 +361,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(element)] + valueParameters: [ + KtFirValueParameterSymbol(element) + ] visibility: Public KtFirFunctionSymbol: @@ -330,6 +372,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/collections/MutableList.containsAll dispatchType: kotlin/collections/MutableList + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -344,7 +387,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(elements)] + valueParameters: [ + KtFirValueParameterSymbol(elements) + ] visibility: Public KtFirFunctionSymbol: @@ -353,6 +398,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/collections/MutableList.get dispatchType: kotlin/collections/MutableList + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -367,7 +413,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(index)] + valueParameters: [ + KtFirValueParameterSymbol(index) + ] visibility: Public KtFirFunctionSymbol: @@ -376,6 +424,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/collections/MutableList.indexOf dispatchType: kotlin/collections/MutableList + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -390,7 +439,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(element)] + valueParameters: [ + KtFirValueParameterSymbol(element) + ] visibility: Public KtFirFunctionSymbol: @@ -399,6 +450,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/collections/List.isEmpty dispatchType: kotlin/collections/List + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -422,6 +474,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/collections/MutableList.iterator dispatchType: kotlin/collections/MutableList + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -445,6 +498,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/collections/MutableList.lastIndexOf dispatchType: kotlin/collections/MutableList + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -459,7 +513,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(element)] + valueParameters: [ + KtFirValueParameterSymbol(element) + ] visibility: Public KtFirKotlinPropertySymbol: @@ -493,6 +549,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Any.equals dispatchType: kotlin/Any + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -507,7 +564,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -516,6 +575,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Any.hashCode dispatchType: kotlin/Any + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -539,6 +599,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Any.toString dispatchType: kotlin/Any + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false diff --git a/idea/idea-frontend-fir/testData/memberScopeByFqName/MutableList.txt b/idea/idea-frontend-fir/testData/memberScopeByFqName/MutableList.txt index b1787b7444f..e69841f33c2 100644 --- a/idea/idea-frontend-fir/testData/memberScopeByFqName/MutableList.txt +++ b/idea/idea-frontend-fir/testData/memberScopeByFqName/MutableList.txt @@ -19,7 +19,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(element)] + valueParameters: [ + KtFirValueParameterSymbol(element) + ] visibility: Public KtFirFunctionSymbol: @@ -43,7 +45,10 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(index), KtFirValueParameterSymbol(element)] + valueParameters: [ + KtFirValueParameterSymbol(index) + KtFirValueParameterSymbol(element) + ] visibility: Public KtFirFunctionSymbol: @@ -67,7 +72,10 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(index), KtFirValueParameterSymbol(elements)] + valueParameters: [ + KtFirValueParameterSymbol(index) + KtFirValueParameterSymbol(elements) + ] visibility: Public KtFirFunctionSymbol: @@ -91,7 +99,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(elements)] + valueParameters: [ + KtFirValueParameterSymbol(elements) + ] visibility: Public KtFirFunctionSymbol: @@ -163,7 +173,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(index)] + valueParameters: [ + KtFirValueParameterSymbol(index) + ] visibility: Public KtFirFunctionSymbol: @@ -187,7 +199,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(element)] + valueParameters: [ + KtFirValueParameterSymbol(element) + ] visibility: Public KtFirFunctionSymbol: @@ -211,7 +225,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(elements)] + valueParameters: [ + KtFirValueParameterSymbol(elements) + ] visibility: Public KtFirFunctionSymbol: @@ -235,7 +251,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(index)] + valueParameters: [ + KtFirValueParameterSymbol(index) + ] visibility: Public KtFirFunctionSymbol: @@ -259,7 +277,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(elements)] + valueParameters: [ + KtFirValueParameterSymbol(elements) + ] visibility: Public KtFirFunctionSymbol: @@ -283,7 +303,10 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(index), KtFirValueParameterSymbol(element)] + valueParameters: [ + KtFirValueParameterSymbol(index) + KtFirValueParameterSymbol(element) + ] visibility: Public KtFirFunctionSymbol: @@ -307,7 +330,10 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(fromIndex), KtFirValueParameterSymbol(toIndex)] + valueParameters: [ + KtFirValueParameterSymbol(fromIndex) + KtFirValueParameterSymbol(toIndex) + ] visibility: Public KtFirFunctionSymbol: @@ -331,7 +357,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(element)] + valueParameters: [ + KtFirValueParameterSymbol(element) + ] visibility: Public KtFirFunctionSymbol: @@ -355,7 +383,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(elements)] + valueParameters: [ + KtFirValueParameterSymbol(elements) + ] visibility: Public KtFirFunctionSymbol: @@ -379,7 +409,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(index)] + valueParameters: [ + KtFirValueParameterSymbol(index) + ] visibility: Public KtFirFunctionSymbol: @@ -403,7 +435,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(element)] + valueParameters: [ + KtFirValueParameterSymbol(element) + ] visibility: Public KtFirFunctionSymbol: @@ -475,7 +509,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(element)] + valueParameters: [ + KtFirValueParameterSymbol(element) + ] visibility: Public KtFirKotlinPropertySymbol: @@ -524,7 +560,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: diff --git a/idea/idea-frontend-fir/testData/memberScopeByFqName/java.lang.String.kt b/idea/idea-frontend-fir/testData/memberScopeByFqName/java.lang.String.kt index c4b4937c3ae..67a9f13a51e 100644 --- a/idea/idea-frontend-fir/testData/memberScopeByFqName/java.lang.String.kt +++ b/idea/idea-frontend-fir/testData/memberScopeByFqName/java.lang.String.kt @@ -36,6 +36,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: java/lang/String.hash32 dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -97,6 +98,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: java/lang/String.isEmpty dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -120,6 +122,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: java/lang/String.charAt dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -134,7 +137,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(index)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirFunctionSymbol: @@ -143,6 +148,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: java/lang/String.codePointAt dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -157,7 +163,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(index)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirFunctionSymbol: @@ -166,6 +174,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: java/lang/String.codePointBefore dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -180,7 +189,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(index)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirFunctionSymbol: @@ -189,6 +200,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: java/lang/String.codePointCount dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -203,7 +215,10 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(beginIndex), KtFirValueParameterSymbol(endIndex)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + ] visibility: Public KtFirFunctionSymbol: @@ -212,6 +227,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: java/lang/String.offsetByCodePoints dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -226,7 +242,10 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(index), KtFirValueParameterSymbol(codePointOffset)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + ] visibility: Public KtFirFunctionSymbol: @@ -235,6 +254,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: java/lang/String.getChars dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -249,7 +269,10 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(dst), KtFirValueParameterSymbol(dstBegin)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + ] visibility: PackageVisibility KtFirFunctionSymbol: @@ -258,6 +281,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: java/lang/String.getChars dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -272,15 +296,26 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(srcBegin), KtFirValueParameterSymbol(srcEnd), KtFirValueParameterSymbol(dst), KtFirValueParameterSymbol(dstBegin)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + KtFirValueParameterSymbol(p2) + KtFirValueParameterSymbol(p3) + ] visibility: Public KtFirFunctionSymbol: annotatedType: [] kotlin/Unit - annotationClassIds: [kotlin/Deprecated] - annotations: [kotlin/Deprecated(message = Deprecated in Java)] + annotationClassIds: [ + kotlin/Deprecated + ] + annotations: [ + kotlin/Deprecated(message = Deprecated in Java) + psi: null + ] callableIdIfNonLocal: java/lang/String.getBytes dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -295,15 +330,21 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(srcBegin), KtFirValueParameterSymbol(srcEnd), KtFirValueParameterSymbol(dst), KtFirValueParameterSymbol(dstBegin)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + KtFirValueParameterSymbol(p2) + KtFirValueParameterSymbol(p3) + ] visibility: Public KtFirFunctionSymbol: - annotatedType: [] @EnhancedNullability kotlin/ByteArray - annotationClassIds: [org/jetbrains/annotations/NotNull] - annotations: [org/jetbrains/annotations/NotNull()] + annotatedType: [] ft + annotationClassIds: [] + annotations: [] callableIdIfNonLocal: java/lang/String.getBytes dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -318,15 +359,18 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(charsetName)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirFunctionSymbol: - annotatedType: [] @EnhancedNullability kotlin/ByteArray - annotationClassIds: [org/jetbrains/annotations/NotNull] - annotations: [org/jetbrains/annotations/NotNull()] + annotatedType: [] ft + annotationClassIds: [] + annotations: [] callableIdIfNonLocal: java/lang/String.getBytes dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -341,15 +385,18 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(charset)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirFunctionSymbol: - annotatedType: [] @EnhancedNullability kotlin/ByteArray - annotationClassIds: [org/jetbrains/annotations/NotNull] - annotations: [org/jetbrains/annotations/NotNull()] + annotatedType: [] ft + annotationClassIds: [] + annotations: [] callableIdIfNonLocal: java/lang/String.getBytes dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -373,6 +420,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: java/lang/String.equals dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -387,7 +435,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(anObject)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirFunctionSymbol: @@ -396,6 +446,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: java/lang/String.contentEquals dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -410,7 +461,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(sb)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirFunctionSymbol: @@ -419,6 +472,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: java/lang/String.contentEquals dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -433,7 +487,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(cs)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirFunctionSymbol: @@ -442,6 +498,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: java/lang/String.equalsIgnoreCase dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -456,7 +513,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(anotherString)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirFunctionSymbol: @@ -465,6 +524,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: java/lang/String.compareTo dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -479,7 +539,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(anotherString)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirFunctionSymbol: @@ -488,6 +550,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: java/lang/String.compareToIgnoreCase dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -502,7 +565,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(str)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirFunctionSymbol: @@ -511,6 +576,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: java/lang/String.regionMatches dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -525,7 +591,12 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(toffset), KtFirValueParameterSymbol(other), KtFirValueParameterSymbol(ooffset), KtFirValueParameterSymbol(len)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + KtFirValueParameterSymbol(p2) + KtFirValueParameterSymbol(p3) + ] visibility: Public KtFirFunctionSymbol: @@ -534,6 +605,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: java/lang/String.regionMatches dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -548,7 +620,13 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(ignoreCase), KtFirValueParameterSymbol(toffset), KtFirValueParameterSymbol(other), KtFirValueParameterSymbol(ooffset), KtFirValueParameterSymbol(len)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + KtFirValueParameterSymbol(p2) + KtFirValueParameterSymbol(p3) + KtFirValueParameterSymbol(p4) + ] visibility: Public KtFirFunctionSymbol: @@ -557,6 +635,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: java/lang/String.startsWith dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -571,7 +650,10 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(prefix), KtFirValueParameterSymbol(toffset)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + ] visibility: Public KtFirFunctionSymbol: @@ -580,6 +662,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: java/lang/String.startsWith dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -594,7 +677,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(prefix)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirFunctionSymbol: @@ -603,6 +688,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: java/lang/String.endsWith dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -617,7 +703,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(suffix)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirFunctionSymbol: @@ -626,6 +714,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: java/lang/String.hashCode dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -649,6 +738,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: java/lang/String.indexOf dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -663,7 +753,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(ch)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirFunctionSymbol: @@ -672,6 +764,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: java/lang/String.indexOf dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -686,7 +779,10 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(ch), KtFirValueParameterSymbol(fromIndex)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + ] visibility: Public KtFirFunctionSymbol: @@ -695,6 +791,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: java/lang/String.indexOf dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -709,7 +806,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(str)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirFunctionSymbol: @@ -718,6 +817,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: java/lang/String.indexOf dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -732,7 +832,10 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(str), KtFirValueParameterSymbol(fromIndex)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + ] visibility: Public KtFirFunctionSymbol: @@ -741,6 +844,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: java/lang/String.indexOfSupplementary dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -755,7 +859,10 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(ch), KtFirValueParameterSymbol(fromIndex)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + ] visibility: Private KtFirFunctionSymbol: @@ -764,6 +871,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: java/lang/String.lastIndexOf dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -778,7 +886,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(ch)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirFunctionSymbol: @@ -787,6 +897,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: java/lang/String.lastIndexOf dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -801,7 +912,10 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(ch), KtFirValueParameterSymbol(fromIndex)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + ] visibility: Public KtFirFunctionSymbol: @@ -810,6 +924,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: java/lang/String.lastIndexOf dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -824,7 +939,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(str)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirFunctionSymbol: @@ -833,6 +950,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: java/lang/String.lastIndexOf dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -847,7 +965,10 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(str), KtFirValueParameterSymbol(fromIndex)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + ] visibility: Public KtFirFunctionSymbol: @@ -856,6 +977,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: java/lang/String.lastIndexOfSupplementary dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -870,15 +992,19 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(ch), KtFirValueParameterSymbol(fromIndex)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + ] visibility: Private KtFirFunctionSymbol: - annotatedType: [] @EnhancedNullability kotlin/String - annotationClassIds: [org/jetbrains/annotations/NotNull] - annotations: [org/jetbrains/annotations/NotNull()] + annotatedType: [] ft + annotationClassIds: [] + annotations: [] callableIdIfNonLocal: java/lang/String.substring dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -893,15 +1019,18 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(beginIndex)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirFunctionSymbol: - annotatedType: [] @EnhancedNullability kotlin/String - annotationClassIds: [org/jetbrains/annotations/NotNull] - annotations: [org/jetbrains/annotations/NotNull()] + annotatedType: [] ft + annotationClassIds: [] + annotations: [] callableIdIfNonLocal: java/lang/String.substring dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -916,15 +1045,19 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(beginIndex), KtFirValueParameterSymbol(endIndex)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + ] visibility: Public KtFirFunctionSymbol: annotatedType: [] @EnhancedNullability kotlin/CharSequence - annotationClassIds: [org/jetbrains/annotations/NotNull] - annotations: [org/jetbrains/annotations/NotNull()] + annotationClassIds: [] + annotations: [] callableIdIfNonLocal: java/lang/String.subSequence dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -939,15 +1072,19 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(beginIndex), KtFirValueParameterSymbol(endIndex)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + ] visibility: Public KtFirFunctionSymbol: - annotatedType: [] @EnhancedNullability kotlin/String - annotationClassIds: [org/jetbrains/annotations/NotNull] - annotations: [org/jetbrains/annotations/NotNull()] + annotatedType: [] ft + annotationClassIds: [] + annotations: [] callableIdIfNonLocal: java/lang/String.concat dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -962,15 +1099,18 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(str)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirFunctionSymbol: - annotatedType: [] @EnhancedNullability kotlin/String - annotationClassIds: [org/jetbrains/annotations/NotNull] - annotations: [org/jetbrains/annotations/NotNull()] + annotatedType: [] ft + annotationClassIds: [] + annotations: [] callableIdIfNonLocal: java/lang/String.replace dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -985,15 +1125,19 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(oldChar), KtFirValueParameterSymbol(newChar)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + ] visibility: Public KtFirFunctionSymbol: - annotatedType: [] @EnhancedNullability kotlin/String - annotationClassIds: [org/jetbrains/annotations/NotNull] - annotations: [org/jetbrains/annotations/NotNull()] + annotatedType: [] ft + annotationClassIds: [] + annotations: [] callableIdIfNonLocal: java/lang/String.replace dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -1008,7 +1152,10 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(target), KtFirValueParameterSymbol(replacement)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + ] visibility: Public KtFirFunctionSymbol: @@ -1017,6 +1164,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: java/lang/String.matches dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -1031,7 +1179,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(regex)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirFunctionSymbol: @@ -1040,6 +1190,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: java/lang/String.contains dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -1054,15 +1205,18 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(s)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirFunctionSymbol: - annotatedType: [] @EnhancedNullability kotlin/String - annotationClassIds: [org/jetbrains/annotations/NotNull] - annotations: [org/jetbrains/annotations/NotNull()] + annotatedType: [] ft + annotationClassIds: [] + annotations: [] callableIdIfNonLocal: java/lang/String.replaceFirst dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -1077,15 +1231,19 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(regex), KtFirValueParameterSymbol(replacement)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + ] visibility: Public KtFirFunctionSymbol: - annotatedType: [] @EnhancedNullability kotlin/String - annotationClassIds: [org/jetbrains/annotations/NotNull] - annotations: [org/jetbrains/annotations/NotNull()] + annotatedType: [] ft + annotationClassIds: [] + annotations: [] callableIdIfNonLocal: java/lang/String.replaceAll dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -1100,15 +1258,19 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(regex), KtFirValueParameterSymbol(replacement)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + ] visibility: Public KtFirFunctionSymbol: - annotatedType: [] ft<@EnhancedNullability kotlin/Array>, @EnhancedNullability kotlin/Array>> - annotationClassIds: [org/jetbrains/annotations/NotNull] - annotations: [org/jetbrains/annotations/NotNull()] + annotatedType: [] ft>, kotlin/Array>?> + annotationClassIds: [] + annotations: [] callableIdIfNonLocal: java/lang/String.split dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -1123,15 +1285,19 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(regex), KtFirValueParameterSymbol(limit)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + ] visibility: Public KtFirFunctionSymbol: - annotatedType: [] ft<@EnhancedNullability kotlin/Array>, @EnhancedNullability kotlin/Array>> - annotationClassIds: [org/jetbrains/annotations/NotNull] - annotations: [org/jetbrains/annotations/NotNull()] + annotatedType: [] ft>, kotlin/Array>?> + annotationClassIds: [] + annotations: [] callableIdIfNonLocal: java/lang/String.split dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -1146,15 +1312,18 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(regex)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirFunctionSymbol: - annotatedType: [] @EnhancedNullability kotlin/String - annotationClassIds: [org/jetbrains/annotations/NotNull] - annotations: [org/jetbrains/annotations/NotNull()] + annotatedType: [] ft + annotationClassIds: [] + annotations: [] callableIdIfNonLocal: java/lang/String.toLowerCase dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -1169,15 +1338,18 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(locale)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirFunctionSymbol: - annotatedType: [] @EnhancedNullability kotlin/String - annotationClassIds: [org/jetbrains/annotations/NotNull] - annotations: [org/jetbrains/annotations/NotNull()] + annotatedType: [] ft + annotationClassIds: [] + annotations: [] callableIdIfNonLocal: java/lang/String.toLowerCase dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -1196,11 +1368,12 @@ KtFirFunctionSymbol: visibility: Public KtFirFunctionSymbol: - annotatedType: [] @EnhancedNullability kotlin/String - annotationClassIds: [org/jetbrains/annotations/NotNull] - annotations: [org/jetbrains/annotations/NotNull()] + annotatedType: [] ft + annotationClassIds: [] + annotations: [] callableIdIfNonLocal: java/lang/String.toUpperCase dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -1215,15 +1388,18 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(locale)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirFunctionSymbol: - annotatedType: [] @EnhancedNullability kotlin/String - annotationClassIds: [org/jetbrains/annotations/NotNull] - annotations: [org/jetbrains/annotations/NotNull()] + annotatedType: [] ft + annotationClassIds: [] + annotations: [] callableIdIfNonLocal: java/lang/String.toUpperCase dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -1242,11 +1418,12 @@ KtFirFunctionSymbol: visibility: Public KtFirFunctionSymbol: - annotatedType: [] @EnhancedNullability kotlin/String - annotationClassIds: [org/jetbrains/annotations/NotNull] - annotations: [org/jetbrains/annotations/NotNull()] + annotatedType: [] ft + annotationClassIds: [] + annotations: [] callableIdIfNonLocal: java/lang/String.trim dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -1270,6 +1447,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: java/lang/String.toString dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -1288,11 +1466,12 @@ KtFirFunctionSymbol: visibility: Public KtFirFunctionSymbol: - annotatedType: [] @EnhancedNullability kotlin/CharArray - annotationClassIds: [org/jetbrains/annotations/NotNull] - annotations: [org/jetbrains/annotations/NotNull()] + annotatedType: [] ft + annotationClassIds: [] + annotations: [] callableIdIfNonLocal: java/lang/String.toCharArray dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -1311,11 +1490,12 @@ KtFirFunctionSymbol: visibility: Public KtFirFunctionSymbol: - annotatedType: [] @EnhancedNullability kotlin/String - annotationClassIds: [org/jetbrains/annotations/NotNull] - annotations: [org/jetbrains/annotations/NotNull()] + annotatedType: [] ft + annotationClassIds: [] + annotations: [] callableIdIfNonLocal: java/lang/String.intern dispatchType: java/lang/String + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -1338,7 +1518,8 @@ KtFirFunctionSymbol: annotationClassIds: [] annotations: [] callableIdIfNonLocal: kotlin/CharSequence.get - dispatchType: kotlin/CharSequence + dispatchType: @EnhancedNullability kotlin/CharSequence + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -1353,7 +1534,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(index)] + valueParameters: [ + KtFirValueParameterSymbol(index) + ] visibility: Public KtFirNamedClassOrObjectSymbol: @@ -1370,7 +1553,11 @@ KtFirNamedClassOrObjectSymbol: modality: OPEN name: CaseInsensitiveComparator origin: JAVA - superTypes: [[] kotlin/Any, [] java/util/Comparator>, [] java/io/Serializable] + superTypes: [ + [] kotlin/Any + [] java/util/Comparator> + [] java/io/Serializable + ] symbolKind: MEMBER typeParameters: [] visibility: Private @@ -1382,6 +1569,7 @@ KtFirConstructorSymbol: callableIdIfNonLocal: null containingClassIdIfNonLocal: java/lang/String dispatchType: null + hasStableParameterNames: false isExtension: false isPrimary: false origin: JAVA @@ -1398,13 +1586,16 @@ KtFirConstructorSymbol: callableIdIfNonLocal: null containingClassIdIfNonLocal: java/lang/String dispatchType: null + hasStableParameterNames: false isExtension: false isPrimary: false origin: JAVA receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(original)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirConstructorSymbol: @@ -1414,13 +1605,16 @@ KtFirConstructorSymbol: callableIdIfNonLocal: null containingClassIdIfNonLocal: java/lang/String dispatchType: null + hasStableParameterNames: false isExtension: false isPrimary: false origin: JAVA receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(value)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirConstructorSymbol: @@ -1430,13 +1624,18 @@ KtFirConstructorSymbol: callableIdIfNonLocal: null containingClassIdIfNonLocal: java/lang/String dispatchType: null + hasStableParameterNames: false isExtension: false isPrimary: false origin: JAVA receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(value), KtFirValueParameterSymbol(offset), KtFirValueParameterSymbol(count)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + KtFirValueParameterSymbol(p2) + ] visibility: Public KtFirConstructorSymbol: @@ -1446,45 +1645,70 @@ KtFirConstructorSymbol: callableIdIfNonLocal: null containingClassIdIfNonLocal: java/lang/String dispatchType: null + hasStableParameterNames: false isExtension: false isPrimary: false origin: JAVA receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(codePoints), KtFirValueParameterSymbol(offset), KtFirValueParameterSymbol(count)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + KtFirValueParameterSymbol(p2) + ] visibility: Public KtFirConstructorSymbol: annotatedType: [] java/lang/String - annotationClassIds: [kotlin/Deprecated] - annotations: [kotlin/Deprecated(message = Deprecated in Java)] + annotationClassIds: [ + kotlin/Deprecated + ] + annotations: [ + kotlin/Deprecated(message = Deprecated in Java) + psi: null + ] callableIdIfNonLocal: null containingClassIdIfNonLocal: java/lang/String dispatchType: null + hasStableParameterNames: false isExtension: false isPrimary: false origin: JAVA receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(ascii), KtFirValueParameterSymbol(hibyte), KtFirValueParameterSymbol(offset), KtFirValueParameterSymbol(count)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + KtFirValueParameterSymbol(p2) + KtFirValueParameterSymbol(p3) + ] visibility: Public KtFirConstructorSymbol: annotatedType: [] java/lang/String - annotationClassIds: [kotlin/Deprecated] - annotations: [kotlin/Deprecated(message = Deprecated in Java)] + annotationClassIds: [ + kotlin/Deprecated + ] + annotations: [ + kotlin/Deprecated(message = Deprecated in Java) + psi: null + ] callableIdIfNonLocal: null containingClassIdIfNonLocal: java/lang/String dispatchType: null + hasStableParameterNames: false isExtension: false isPrimary: false origin: JAVA receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(ascii), KtFirValueParameterSymbol(hibyte)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + ] visibility: Public KtFirConstructorSymbol: @@ -1494,13 +1718,19 @@ KtFirConstructorSymbol: callableIdIfNonLocal: null containingClassIdIfNonLocal: java/lang/String dispatchType: null + hasStableParameterNames: false isExtension: false isPrimary: false origin: JAVA receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(bytes), KtFirValueParameterSymbol(offset), KtFirValueParameterSymbol(length), KtFirValueParameterSymbol(charsetName)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + KtFirValueParameterSymbol(p2) + KtFirValueParameterSymbol(p3) + ] visibility: Public KtFirConstructorSymbol: @@ -1510,13 +1740,19 @@ KtFirConstructorSymbol: callableIdIfNonLocal: null containingClassIdIfNonLocal: java/lang/String dispatchType: null + hasStableParameterNames: false isExtension: false isPrimary: false origin: JAVA receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(bytes), KtFirValueParameterSymbol(offset), KtFirValueParameterSymbol(length), KtFirValueParameterSymbol(charset)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + KtFirValueParameterSymbol(p2) + KtFirValueParameterSymbol(p3) + ] visibility: Public KtFirConstructorSymbol: @@ -1526,13 +1762,17 @@ KtFirConstructorSymbol: callableIdIfNonLocal: null containingClassIdIfNonLocal: java/lang/String dispatchType: null + hasStableParameterNames: false isExtension: false isPrimary: false origin: JAVA receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(bytes), KtFirValueParameterSymbol(charsetName)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + ] visibility: Public KtFirConstructorSymbol: @@ -1542,13 +1782,17 @@ KtFirConstructorSymbol: callableIdIfNonLocal: null containingClassIdIfNonLocal: java/lang/String dispatchType: null + hasStableParameterNames: false isExtension: false isPrimary: false origin: JAVA receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(bytes), KtFirValueParameterSymbol(charset)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + ] visibility: Public KtFirConstructorSymbol: @@ -1558,13 +1802,18 @@ KtFirConstructorSymbol: callableIdIfNonLocal: null containingClassIdIfNonLocal: java/lang/String dispatchType: null + hasStableParameterNames: false isExtension: false isPrimary: false origin: JAVA receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(bytes), KtFirValueParameterSymbol(offset), KtFirValueParameterSymbol(length)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + KtFirValueParameterSymbol(p2) + ] visibility: Public KtFirConstructorSymbol: @@ -1574,13 +1823,16 @@ KtFirConstructorSymbol: callableIdIfNonLocal: null containingClassIdIfNonLocal: java/lang/String dispatchType: null + hasStableParameterNames: false isExtension: false isPrimary: false origin: JAVA receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(bytes)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirConstructorSymbol: @@ -1590,13 +1842,16 @@ KtFirConstructorSymbol: callableIdIfNonLocal: null containingClassIdIfNonLocal: java/lang/String dispatchType: null + hasStableParameterNames: false isExtension: false isPrimary: false origin: JAVA receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(buffer)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirConstructorSymbol: @@ -1606,13 +1861,16 @@ KtFirConstructorSymbol: callableIdIfNonLocal: null containingClassIdIfNonLocal: java/lang/String dispatchType: null + hasStableParameterNames: false isExtension: false isPrimary: false origin: JAVA receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(builder)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirConstructorSymbol: @@ -1622,28 +1880,42 @@ KtFirConstructorSymbol: callableIdIfNonLocal: null containingClassIdIfNonLocal: java/lang/String dispatchType: null + hasStableParameterNames: false isExtension: false isPrimary: false origin: JAVA receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(value), KtFirValueParameterSymbol(share)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + ] visibility: PackageVisibility KtFirConstructorSymbol: annotatedType: [] java/lang/String - annotationClassIds: [kotlin/Deprecated] - annotations: [kotlin/Deprecated(message = Deprecated in Java)] + annotationClassIds: [ + kotlin/Deprecated + ] + annotations: [ + kotlin/Deprecated(message = Deprecated in Java) + psi: null + ] callableIdIfNonLocal: null containingClassIdIfNonLocal: java/lang/String dispatchType: null + hasStableParameterNames: false isExtension: false isPrimary: false origin: JAVA receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(offset), KtFirValueParameterSymbol(count), KtFirValueParameterSymbol(value)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + KtFirValueParameterSymbol(p2) + ] visibility: PackageVisibility */ 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 3fa3c3311e4..3e10ea76399 100644 --- a/idea/idea-frontend-fir/testData/memberScopeByFqName/java.lang.String.txt +++ b/idea/idea-frontend-fir/testData/memberScopeByFqName/java.lang.String.txt @@ -131,7 +131,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirFunctionSymbol: @@ -155,7 +157,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirFunctionSymbol: @@ -179,7 +183,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirFunctionSymbol: @@ -203,7 +209,10 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0), KtFirValueParameterSymbol(p1)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + ] visibility: Public KtFirFunctionSymbol: @@ -227,7 +236,10 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0), KtFirValueParameterSymbol(p1)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + ] visibility: Public KtFirFunctionSymbol: @@ -251,7 +263,10 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0), KtFirValueParameterSymbol(p1)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + ] visibility: PackageVisibility KtFirFunctionSymbol: @@ -275,13 +290,23 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0), KtFirValueParameterSymbol(p1), KtFirValueParameterSymbol(p2), KtFirValueParameterSymbol(p3)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + KtFirValueParameterSymbol(p2) + KtFirValueParameterSymbol(p3) + ] visibility: Public KtFirFunctionSymbol: annotatedType: [] kotlin/Unit - annotationClassIds: [kotlin/Deprecated] - annotations: [kotlin/Deprecated(message = Deprecated in Java)] + annotationClassIds: [ + kotlin/Deprecated + ] + annotations: [ + kotlin/Deprecated(message = Deprecated in Java) + psi: null + ] callableIdIfNonLocal: java/lang/String.getBytes dispatchType: java/lang/String hasStableParameterNames: false @@ -299,7 +324,12 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0), KtFirValueParameterSymbol(p1), KtFirValueParameterSymbol(p2), KtFirValueParameterSymbol(p3)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + KtFirValueParameterSymbol(p2) + KtFirValueParameterSymbol(p3) + ] visibility: Public KtFirFunctionSymbol: @@ -323,7 +353,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirFunctionSymbol: @@ -347,7 +379,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirFunctionSymbol: @@ -395,7 +429,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirFunctionSymbol: @@ -419,7 +455,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirFunctionSymbol: @@ -443,7 +481,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirFunctionSymbol: @@ -467,7 +507,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirFunctionSymbol: @@ -491,7 +533,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirFunctionSymbol: @@ -515,7 +559,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirFunctionSymbol: @@ -539,7 +585,12 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0), KtFirValueParameterSymbol(p1), KtFirValueParameterSymbol(p2), KtFirValueParameterSymbol(p3)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + KtFirValueParameterSymbol(p2) + KtFirValueParameterSymbol(p3) + ] visibility: Public KtFirFunctionSymbol: @@ -563,7 +614,13 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0), KtFirValueParameterSymbol(p1), KtFirValueParameterSymbol(p2), KtFirValueParameterSymbol(p3), KtFirValueParameterSymbol(p4)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + KtFirValueParameterSymbol(p2) + KtFirValueParameterSymbol(p3) + KtFirValueParameterSymbol(p4) + ] visibility: Public KtFirFunctionSymbol: @@ -587,7 +644,10 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0), KtFirValueParameterSymbol(p1)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + ] visibility: Public KtFirFunctionSymbol: @@ -611,7 +671,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirFunctionSymbol: @@ -635,7 +697,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirFunctionSymbol: @@ -683,7 +747,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirFunctionSymbol: @@ -707,7 +773,10 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0), KtFirValueParameterSymbol(p1)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + ] visibility: Public KtFirFunctionSymbol: @@ -731,7 +800,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirFunctionSymbol: @@ -755,7 +826,10 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0), KtFirValueParameterSymbol(p1)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + ] visibility: Public KtFirFunctionSymbol: @@ -779,7 +853,10 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0), KtFirValueParameterSymbol(p1)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + ] visibility: Private KtFirFunctionSymbol: @@ -803,7 +880,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirFunctionSymbol: @@ -827,7 +906,10 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0), KtFirValueParameterSymbol(p1)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + ] visibility: Public KtFirFunctionSymbol: @@ -851,7 +933,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirFunctionSymbol: @@ -875,7 +959,10 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0), KtFirValueParameterSymbol(p1)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + ] visibility: Public KtFirFunctionSymbol: @@ -899,7 +986,10 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0), KtFirValueParameterSymbol(p1)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + ] visibility: Private KtFirFunctionSymbol: @@ -923,7 +1013,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirFunctionSymbol: @@ -947,7 +1039,10 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0), KtFirValueParameterSymbol(p1)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + ] visibility: Public KtFirFunctionSymbol: @@ -971,7 +1066,10 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0), KtFirValueParameterSymbol(p1)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + ] visibility: Public KtFirFunctionSymbol: @@ -995,7 +1093,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirFunctionSymbol: @@ -1019,7 +1119,10 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0), KtFirValueParameterSymbol(p1)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + ] visibility: Public KtFirFunctionSymbol: @@ -1043,7 +1146,10 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0), KtFirValueParameterSymbol(p1)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + ] visibility: Public KtFirFunctionSymbol: @@ -1067,7 +1173,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirFunctionSymbol: @@ -1091,7 +1199,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirFunctionSymbol: @@ -1115,7 +1225,10 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0), KtFirValueParameterSymbol(p1)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + ] visibility: Public KtFirFunctionSymbol: @@ -1139,7 +1252,10 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0), KtFirValueParameterSymbol(p1)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + ] visibility: Public KtFirFunctionSymbol: @@ -1163,7 +1279,10 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0), KtFirValueParameterSymbol(p1)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + ] visibility: Public KtFirFunctionSymbol: @@ -1187,7 +1306,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirFunctionSymbol: @@ -1211,7 +1332,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirFunctionSymbol: @@ -1259,7 +1382,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirFunctionSymbol: @@ -1403,7 +1528,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(index)] + valueParameters: [ + KtFirValueParameterSymbol(index) + ] visibility: Public KtFirNamedClassOrObjectSymbol: @@ -1420,7 +1547,11 @@ KtFirNamedClassOrObjectSymbol: modality: OPEN name: CaseInsensitiveComparator origin: JAVA - superTypes: [[] kotlin/Any, [] java/util/Comparator>, [] java/io/Serializable] + superTypes: [ + [] kotlin/Any + [] java/util/Comparator> + [] java/io/Serializable + ] symbolKind: MEMBER typeParameters: [] visibility: Private @@ -1456,7 +1587,9 @@ KtFirConstructorSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirConstructorSymbol: @@ -1473,7 +1606,9 @@ KtFirConstructorSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirConstructorSymbol: @@ -1490,7 +1625,11 @@ KtFirConstructorSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0), KtFirValueParameterSymbol(p1), KtFirValueParameterSymbol(p2)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + KtFirValueParameterSymbol(p2) + ] visibility: Public KtFirConstructorSymbol: @@ -1507,13 +1646,22 @@ KtFirConstructorSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0), KtFirValueParameterSymbol(p1), KtFirValueParameterSymbol(p2)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + KtFirValueParameterSymbol(p2) + ] visibility: Public KtFirConstructorSymbol: annotatedType: [] java/lang/String - annotationClassIds: [kotlin/Deprecated] - annotations: [kotlin/Deprecated(message = Deprecated in Java)] + annotationClassIds: [ + kotlin/Deprecated + ] + annotations: [ + kotlin/Deprecated(message = Deprecated in Java) + psi: null + ] callableIdIfNonLocal: null containingClassIdIfNonLocal: java/lang/String dispatchType: null @@ -1524,13 +1672,23 @@ KtFirConstructorSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0), KtFirValueParameterSymbol(p1), KtFirValueParameterSymbol(p2), KtFirValueParameterSymbol(p3)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + KtFirValueParameterSymbol(p2) + KtFirValueParameterSymbol(p3) + ] visibility: Public KtFirConstructorSymbol: annotatedType: [] java/lang/String - annotationClassIds: [kotlin/Deprecated] - annotations: [kotlin/Deprecated(message = Deprecated in Java)] + annotationClassIds: [ + kotlin/Deprecated + ] + annotations: [ + kotlin/Deprecated(message = Deprecated in Java) + psi: null + ] callableIdIfNonLocal: null containingClassIdIfNonLocal: java/lang/String dispatchType: null @@ -1541,7 +1699,10 @@ KtFirConstructorSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0), KtFirValueParameterSymbol(p1)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + ] visibility: Public KtFirConstructorSymbol: @@ -1558,7 +1719,12 @@ KtFirConstructorSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0), KtFirValueParameterSymbol(p1), KtFirValueParameterSymbol(p2), KtFirValueParameterSymbol(p3)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + KtFirValueParameterSymbol(p2) + KtFirValueParameterSymbol(p3) + ] visibility: Public KtFirConstructorSymbol: @@ -1575,7 +1741,12 @@ KtFirConstructorSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0), KtFirValueParameterSymbol(p1), KtFirValueParameterSymbol(p2), KtFirValueParameterSymbol(p3)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + KtFirValueParameterSymbol(p2) + KtFirValueParameterSymbol(p3) + ] visibility: Public KtFirConstructorSymbol: @@ -1592,7 +1763,10 @@ KtFirConstructorSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0), KtFirValueParameterSymbol(p1)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + ] visibility: Public KtFirConstructorSymbol: @@ -1609,7 +1783,10 @@ KtFirConstructorSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0), KtFirValueParameterSymbol(p1)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + ] visibility: Public KtFirConstructorSymbol: @@ -1626,7 +1803,11 @@ KtFirConstructorSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0), KtFirValueParameterSymbol(p1), KtFirValueParameterSymbol(p2)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + KtFirValueParameterSymbol(p2) + ] visibility: Public KtFirConstructorSymbol: @@ -1643,7 +1824,9 @@ KtFirConstructorSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirConstructorSymbol: @@ -1660,7 +1843,9 @@ KtFirConstructorSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirConstructorSymbol: @@ -1677,7 +1862,9 @@ KtFirConstructorSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + ] visibility: Public KtFirConstructorSymbol: @@ -1694,13 +1881,21 @@ KtFirConstructorSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0), KtFirValueParameterSymbol(p1)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + ] visibility: PackageVisibility KtFirConstructorSymbol: annotatedType: [] java/lang/String - annotationClassIds: [kotlin/Deprecated] - annotations: [kotlin/Deprecated(message = Deprecated in Java)] + annotationClassIds: [ + kotlin/Deprecated + ] + annotations: [ + kotlin/Deprecated(message = Deprecated in Java) + psi: null + ] callableIdIfNonLocal: null containingClassIdIfNonLocal: java/lang/String dispatchType: null @@ -1711,5 +1906,9 @@ KtFirConstructorSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p0), KtFirValueParameterSymbol(p1), KtFirValueParameterSymbol(p2)] + valueParameters: [ + KtFirValueParameterSymbol(p0) + KtFirValueParameterSymbol(p1) + KtFirValueParameterSymbol(p2) + ] visibility: PackageVisibility diff --git a/idea/idea-frontend-fir/testData/memberScopeByFqName/kotlin.Function2.kt b/idea/idea-frontend-fir/testData/memberScopeByFqName/kotlin.Function2.kt index 537c3d81de0..1b9b0e5855a 100644 --- a/idea/idea-frontend-fir/testData/memberScopeByFqName/kotlin.Function2.kt +++ b/idea/idea-frontend-fir/testData/memberScopeByFqName/kotlin.Function2.kt @@ -10,6 +10,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Function2.invoke dispatchType: kotlin/Function2 + hasStableParameterNames: false isExtension: false isExternal: false isInfix: false @@ -24,7 +25,10 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p1), KtFirValueParameterSymbol(p2)] + valueParameters: [ + KtFirValueParameterSymbol(p1) + KtFirValueParameterSymbol(p2) + ] visibility: Public KtFirFunctionSymbol: @@ -33,6 +37,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Any.equals dispatchType: kotlin/Any + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -47,7 +52,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: @@ -56,6 +63,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Any.hashCode dispatchType: kotlin/Any + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -79,6 +87,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/Any.toString dispatchType: kotlin/Any + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false diff --git a/idea/idea-frontend-fir/testData/memberScopeByFqName/kotlin.Function2.txt b/idea/idea-frontend-fir/testData/memberScopeByFqName/kotlin.Function2.txt index f244ca4a602..c62bb20ea7f 100644 --- a/idea/idea-frontend-fir/testData/memberScopeByFqName/kotlin.Function2.txt +++ b/idea/idea-frontend-fir/testData/memberScopeByFqName/kotlin.Function2.txt @@ -19,7 +19,10 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(p1), KtFirValueParameterSymbol(p2)] + valueParameters: [ + KtFirValueParameterSymbol(p1) + KtFirValueParameterSymbol(p2) + ] visibility: Public KtFirFunctionSymbol: @@ -43,7 +46,9 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(other)] + valueParameters: [ + KtFirValueParameterSymbol(other) + ] visibility: Public KtFirFunctionSymbol: diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/class.kt b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/class.kt index 0ed1e5c8062..27ba24bbb11 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/class.kt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/class.kt @@ -18,8 +18,12 @@ KtFirNamedClassOrObjectSymbol: modality: ABSTRACT name: Lazy origin: LIBRARY - superTypes: [[] kotlin/Any] + superTypes: [ + [] kotlin/Any + ] symbolKind: TOP_LEVEL - typeParameters: [KtFirTypeParameterSymbol(T)] + typeParameters: [ + KtFirTypeParameterSymbol(T) + ] visibility: Public */ diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/class.txt b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/class.txt index cb6ad62b236..fd0dc1f32b5 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/class.txt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/class.txt @@ -12,7 +12,11 @@ KtFirNamedClassOrObjectSymbol: modality: ABSTRACT name: Lazy origin: LIBRARY - superTypes: [[] kotlin/Any] + superTypes: [ + [] kotlin/Any + ] symbolKind: TOP_LEVEL - typeParameters: [KtFirTypeParameterSymbol(T)] + typeParameters: [ + KtFirTypeParameterSymbol(T) + ] visibility: Public diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/classFromJdk.kt b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/classFromJdk.kt index c7a69e008aa..43dcc5e987f 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/classFromJdk.kt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/classFromJdk.kt @@ -18,7 +18,12 @@ KtFirNamedClassOrObjectSymbol: modality: FINAL name: String origin: JAVA - superTypes: [[] kotlin/Any, [] java/io/Serializable, [] kotlin/Comparable>, [] kotlin/CharSequence] + superTypes: [ + [] kotlin/Any + [] java/io/Serializable + [] kotlin/Comparable> + [] kotlin/CharSequence + ] symbolKind: TOP_LEVEL typeParameters: [] visibility: Public diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/classFromJdk.txt b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/classFromJdk.txt index a2a8553c90e..f4266058b86 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/classFromJdk.txt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/classFromJdk.txt @@ -12,7 +12,12 @@ KtFirNamedClassOrObjectSymbol: modality: FINAL name: String origin: JAVA - superTypes: [[] kotlin/Any, [] java/io/Serializable, [] kotlin/Comparable>, [] kotlin/CharSequence] + superTypes: [ + [] kotlin/Any + [] java/io/Serializable + [] kotlin/Comparable> + [] kotlin/CharSequence + ] symbolKind: TOP_LEVEL typeParameters: [] visibility: Public diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/fileWalkDirectionEnum.kt b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/fileWalkDirectionEnum.kt index eac57cf293d..8ad8b10ec86 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/fileWalkDirectionEnum.kt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/fileWalkDirectionEnum.kt @@ -10,6 +10,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/collections/listOf dispatchType: null + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -23,16 +24,26 @@ KtFirFunctionSymbol: origin: LIBRARY receiverType: null symbolKind: TOP_LEVEL - typeParameters: [KtFirTypeParameterSymbol(T)] - valueParameters: [KtFirValueParameterSymbol(element)] + typeParameters: [ + KtFirTypeParameterSymbol(T) + ] + valueParameters: [ + KtFirValueParameterSymbol(element) + ] visibility: Public KtFirFunctionSymbol: annotatedType: [] kotlin/collections/List - annotationClassIds: [kotlin/internal/InlineOnly] - annotations: [kotlin/internal/InlineOnly()] + annotationClassIds: [ + kotlin/internal/InlineOnly + ] + annotations: [ + kotlin/internal/InlineOnly() + psi: null + ] callableIdIfNonLocal: kotlin/collections/listOf dispatchType: null + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -46,7 +57,9 @@ KtFirFunctionSymbol: origin: LIBRARY receiverType: null symbolKind: TOP_LEVEL - typeParameters: [KtFirTypeParameterSymbol(T)] + typeParameters: [ + KtFirTypeParameterSymbol(T) + ] valueParameters: [] visibility: Public @@ -56,6 +69,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/collections/listOf dispatchType: null + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -69,7 +83,11 @@ KtFirFunctionSymbol: origin: LIBRARY receiverType: null symbolKind: TOP_LEVEL - typeParameters: [KtFirTypeParameterSymbol(T)] - valueParameters: [KtFirValueParameterSymbol(elements)] + typeParameters: [ + KtFirTypeParameterSymbol(T) + ] + valueParameters: [ + KtFirValueParameterSymbol(elements) + ] visibility: Public */ diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/fileWalkDirectionEnum.txt b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/fileWalkDirectionEnum.txt index d62fa87f092..2e2c44a1e64 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/fileWalkDirectionEnum.txt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/fileWalkDirectionEnum.txt @@ -18,14 +18,23 @@ KtFirFunctionSymbol: origin: LIBRARY receiverType: null symbolKind: TOP_LEVEL - typeParameters: [KtFirTypeParameterSymbol(T)] - valueParameters: [KtFirValueParameterSymbol(element)] + typeParameters: [ + KtFirTypeParameterSymbol(T) + ] + valueParameters: [ + KtFirValueParameterSymbol(element) + ] visibility: Public KtFirFunctionSymbol: annotatedType: [] kotlin/collections/List - annotationClassIds: [kotlin/internal/InlineOnly] - annotations: [kotlin/internal/InlineOnly()] + annotationClassIds: [ + kotlin/internal/InlineOnly + ] + annotations: [ + kotlin/internal/InlineOnly() + psi: null + ] callableIdIfNonLocal: kotlin/collections/listOf dispatchType: null hasStableParameterNames: true @@ -42,7 +51,9 @@ KtFirFunctionSymbol: origin: LIBRARY receiverType: null symbolKind: TOP_LEVEL - typeParameters: [KtFirTypeParameterSymbol(T)] + typeParameters: [ + KtFirTypeParameterSymbol(T) + ] valueParameters: [] visibility: Public @@ -66,6 +77,10 @@ KtFirFunctionSymbol: origin: LIBRARY receiverType: null symbolKind: TOP_LEVEL - typeParameters: [KtFirTypeParameterSymbol(T)] - valueParameters: [KtFirValueParameterSymbol(elements)] + typeParameters: [ + KtFirTypeParameterSymbol(T) + ] + valueParameters: [ + KtFirValueParameterSymbol(elements) + ] visibility: Public diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/iterator.kt b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/iterator.kt index 6dfc0c07efa..f4403377b6c 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/iterator.kt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/iterator.kt @@ -16,8 +16,12 @@ KtFirNamedClassOrObjectSymbol: modality: ABSTRACT name: Iterator origin: LIBRARY - superTypes: [[] kotlin/Any] + superTypes: [ + [] kotlin/Any + ] symbolKind: TOP_LEVEL - typeParameters: [KtFirTypeParameterSymbol(T)] + typeParameters: [ + KtFirTypeParameterSymbol(T) + ] visibility: Public */ diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/iterator.txt b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/iterator.txt index ce16cf18730..ac156207870 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/iterator.txt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/iterator.txt @@ -12,7 +12,11 @@ KtFirNamedClassOrObjectSymbol: modality: ABSTRACT name: Iterator origin: LIBRARY - superTypes: [[] kotlin/Any] + superTypes: [ + [] kotlin/Any + ] symbolKind: TOP_LEVEL - typeParameters: [KtFirTypeParameterSymbol(T)] + typeParameters: [ + KtFirTypeParameterSymbol(T) + ] visibility: Public diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/listOf.kt b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/listOf.kt index 25992181903..db3eb07266e 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/listOf.kt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/listOf.kt @@ -18,7 +18,9 @@ KtFirNamedClassOrObjectSymbol: modality: FINAL name: FileWalkDirection origin: LIBRARY - superTypes: [[] kotlin/Enum] + superTypes: [ + [] kotlin/Enum + ] symbolKind: TOP_LEVEL typeParameters: [] visibility: Public diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/listOf.txt b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/listOf.txt index 2767ea56adb..6c0e9be4dcc 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/listOf.txt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/listOf.txt @@ -12,7 +12,9 @@ KtFirNamedClassOrObjectSymbol: modality: FINAL name: FileWalkDirection origin: LIBRARY - superTypes: [[] kotlin/Enum] + superTypes: [ + [] kotlin/Enum + ] symbolKind: TOP_LEVEL typeParameters: [] visibility: Public diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/memberFunction.kt b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/memberFunction.kt index 38e848cbe3b..f074fc4b518 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/memberFunction.kt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/memberFunction.kt @@ -8,6 +8,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/collections/List.get dispatchType: kotlin/collections/List + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -22,6 +23,8 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(index)] + valueParameters: [ + KtFirValueParameterSymbol(index) + ] visibility: Public */ diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/memberFunction.txt b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/memberFunction.txt index a0264132f7e..d50f44e915e 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/memberFunction.txt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/memberFunction.txt @@ -19,5 +19,7 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(index)] + valueParameters: [ + KtFirValueParameterSymbol(index) + ] visibility: Public diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/memberFunctionWithOverloads.kt b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/memberFunctionWithOverloads.kt index fc05bdd676d..20f41ececbb 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/memberFunctionWithOverloads.kt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/memberFunctionWithOverloads.kt @@ -8,6 +8,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/collections/List.listIterator dispatchType: kotlin/collections/List + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -31,6 +32,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: kotlin/collections/List.listIterator dispatchType: kotlin/collections/List + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -45,6 +47,8 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(index)] + valueParameters: [ + KtFirValueParameterSymbol(index) + ] visibility: Public */ diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/memberFunctionWithOverloads.txt b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/memberFunctionWithOverloads.txt index 4eb63aedbd4..79ec320ef05 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/memberFunctionWithOverloads.txt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/memberFunctionWithOverloads.txt @@ -43,5 +43,7 @@ KtFirFunctionSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(index)] + valueParameters: [ + KtFirValueParameterSymbol(index) + ] visibility: Public diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/nestedClass.kt b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/nestedClass.kt index 342eb00d115..e3fc6002b59 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/nestedClass.kt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/nestedClass.kt @@ -16,8 +16,13 @@ KtFirNamedClassOrObjectSymbol: modality: ABSTRACT name: MutableEntry origin: LIBRARY - superTypes: [[] kotlin/collections/Map.Entry] + superTypes: [ + [] kotlin/collections/Map.Entry + ] symbolKind: MEMBER - typeParameters: [KtFirTypeParameterSymbol(K), KtFirTypeParameterSymbol(V)] + typeParameters: [ + KtFirTypeParameterSymbol(K) + KtFirTypeParameterSymbol(V) + ] visibility: Public */ diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/nestedClass.txt b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/nestedClass.txt index 0a9d4ccaf9b..9cc4aa35b72 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByFqName/nestedClass.txt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByFqName/nestedClass.txt @@ -12,7 +12,12 @@ KtFirNamedClassOrObjectSymbol: modality: ABSTRACT name: MutableEntry origin: LIBRARY - superTypes: [[] kotlin/collections/Map.Entry] + superTypes: [ + [] kotlin/collections/Map.Entry + ] symbolKind: MEMBER - typeParameters: [KtFirTypeParameterSymbol(K), KtFirTypeParameterSymbol(V)] + typeParameters: [ + KtFirTypeParameterSymbol(K) + KtFirTypeParameterSymbol(V) + ] visibility: Public diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/annotations.kt b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/annotations.kt index 2797c601471..63b5b3e1b26 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/annotations.kt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/annotations.kt @@ -43,13 +43,17 @@ KtFirConstructorSymbol: callableIdIfNonLocal: null containingClassIdIfNonLocal: Anno dispatchType: null + hasStableParameterNames: true isExtension: false isPrimary: true origin: SOURCE receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(param1), KtFirValueParameterSymbol(param2)] + valueParameters: [ + KtFirValueParameterSymbol(param1) + KtFirValueParameterSymbol(param2) + ] visibility: Public KtFirNamedClassOrObjectSymbol: @@ -66,17 +70,25 @@ KtFirNamedClassOrObjectSymbol: modality: FINAL name: Anno origin: SOURCE - superTypes: [[] kotlin/Annotation] + superTypes: [ + [] kotlin/Annotation + ] symbolKind: TOP_LEVEL typeParameters: [] visibility: Public KtFirFunctionSymbol: annotatedType: [] kotlin/Unit - annotationClassIds: [Anno] - annotations: [Anno(param1 = funparam, param2 = 3)] + annotationClassIds: [ + Anno + ] + annotations: [ + Anno(param1 = funparam, param2 = 3) + psi: null + ] callableIdIfNonLocal: /X.x dispatchType: X + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -95,8 +107,13 @@ KtFirFunctionSymbol: visibility: Public KtFirNamedClassOrObjectSymbol: - annotationClassIds: [Anno] - annotations: [Anno(param1 = param, param2 = 2)] + annotationClassIds: [ + Anno + ] + annotations: [ + Anno(param1 = param, param2 = 2) + psi: null + ] classIdIfNonLocal: X classKind: CLASS companionObject: null @@ -108,7 +125,9 @@ KtFirNamedClassOrObjectSymbol: modality: FINAL name: X origin: SOURCE - superTypes: [[] kotlin/Any] + superTypes: [ + [] kotlin/Any + ] symbolKind: TOP_LEVEL typeParameters: [] visibility: Public diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/annotations.txt b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/annotations.txt index 6bfcf84152e..ee7469479a3 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/annotations.txt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/annotations.txt @@ -38,7 +38,10 @@ KtFirConstructorSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(param1), KtFirValueParameterSymbol(param2)] + valueParameters: [ + KtFirValueParameterSymbol(param1) + KtFirValueParameterSymbol(param2) + ] visibility: Public KtFirNamedClassOrObjectSymbol: @@ -55,15 +58,22 @@ KtFirNamedClassOrObjectSymbol: modality: FINAL name: Anno origin: SOURCE - superTypes: [[] kotlin/Annotation] + superTypes: [ + [] kotlin/Annotation + ] symbolKind: TOP_LEVEL typeParameters: [] visibility: Public KtFirFunctionSymbol: annotatedType: [] kotlin/Unit - annotationClassIds: [Anno] - annotations: [Anno(param1 = funparam, param2 = 3)] + annotationClassIds: [ + Anno + ] + annotations: [ + Anno(param1 = funparam, param2 = 3) + psi: null + ] callableIdIfNonLocal: /X.x dispatchType: X hasStableParameterNames: true @@ -85,8 +95,13 @@ KtFirFunctionSymbol: visibility: Public KtFirNamedClassOrObjectSymbol: - annotationClassIds: [Anno] - annotations: [Anno(param1 = param, param2 = 2)] + annotationClassIds: [ + Anno + ] + annotations: [ + Anno(param1 = param, param2 = 2) + psi: null + ] classIdIfNonLocal: X classKind: CLASS companionObject: null @@ -98,7 +113,9 @@ KtFirNamedClassOrObjectSymbol: modality: FINAL name: X origin: SOURCE - superTypes: [[] kotlin/Any] + superTypes: [ + [] kotlin/Any + ] symbolKind: TOP_LEVEL typeParameters: [] visibility: Public diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/anonymousObject.kt b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/anonymousObject.kt index aa4148569ac..e4c51921314 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/anonymousObject.kt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/anonymousObject.kt @@ -15,6 +15,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: null dispatchType: + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -64,7 +65,9 @@ KtFirAnonymousObjectSymbol: classKind: ANONYMOUS_OBJECT name: null origin: SOURCE - superTypes: [[] java/lang/Runnable] + superTypes: [ + [] java/lang/Runnable + ] symbolKind: LOCAL KtFirKotlinPropertySymbol: @@ -106,7 +109,9 @@ KtFirNamedClassOrObjectSymbol: modality: FINAL name: AnonymousContainer origin: SOURCE - superTypes: [[] kotlin/Any] + superTypes: [ + [] kotlin/Any + ] symbolKind: TOP_LEVEL typeParameters: [] visibility: Public diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/anonymousObject.txt b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/anonymousObject.txt index 3c38b86d9bc..b81d80d2c3a 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/anonymousObject.txt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/anonymousObject.txt @@ -54,7 +54,9 @@ KtFirAnonymousObjectSymbol: classKind: ANONYMOUS_OBJECT name: null origin: SOURCE - superTypes: [[] java/lang/Runnable] + superTypes: [ + [] java/lang/Runnable + ] symbolKind: LOCAL KtFirKotlinPropertySymbol: @@ -96,7 +98,9 @@ KtFirNamedClassOrObjectSymbol: modality: FINAL name: AnonymousContainer origin: SOURCE - superTypes: [[] kotlin/Any] + superTypes: [ + [] kotlin/Any + ] symbolKind: TOP_LEVEL typeParameters: [] visibility: Public diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/class.kt b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/class.kt index 09eba53dfb8..a555586b7a9 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/class.kt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/class.kt @@ -17,7 +17,9 @@ KtFirNamedClassOrObjectSymbol: modality: FINAL name: A origin: SOURCE - superTypes: [[] kotlin/Any] + superTypes: [ + [] kotlin/Any + ] symbolKind: TOP_LEVEL typeParameters: [] visibility: Public diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/class.txt b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/class.txt index f122dfc2ada..132df395f6c 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/class.txt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/class.txt @@ -12,7 +12,9 @@ KtFirNamedClassOrObjectSymbol: modality: FINAL name: A origin: SOURCE - superTypes: [[] kotlin/Any] + superTypes: [ + [] kotlin/Any + ] symbolKind: TOP_LEVEL typeParameters: [] visibility: Public diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/classMembes.kt b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/classMembes.kt index 89af8b1d636..84e294fe380 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/classMembes.kt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/classMembes.kt @@ -36,6 +36,7 @@ KtFirFunctionSymbol: annotations: [] callableIdIfNonLocal: /A.x dispatchType: A + hasStableParameterNames: true isExtension: false isExternal: false isInfix: false @@ -67,7 +68,9 @@ KtFirNamedClassOrObjectSymbol: modality: FINAL name: A origin: SOURCE - superTypes: [[] kotlin/Any] + superTypes: [ + [] kotlin/Any + ] symbolKind: TOP_LEVEL typeParameters: [] visibility: Public diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/classMembes.txt b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/classMembes.txt index 94b6d6186cd..9d586cf02b4 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/classMembes.txt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/classMembes.txt @@ -61,7 +61,9 @@ KtFirNamedClassOrObjectSymbol: modality: FINAL name: A origin: SOURCE - superTypes: [[] kotlin/Any] + superTypes: [ + [] kotlin/Any + ] symbolKind: TOP_LEVEL typeParameters: [] visibility: Public diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/classPrimaryConstructor.kt b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/classPrimaryConstructor.kt index 85a2c82d439..5f4ed7d15f0 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/classPrimaryConstructor.kt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/classPrimaryConstructor.kt @@ -10,6 +10,7 @@ KtFirConstructorSymbol: callableIdIfNonLocal: null containingClassIdIfNonLocal: A dispatchType: null + hasStableParameterNames: true isExtension: false isPrimary: true origin: SOURCE @@ -33,7 +34,9 @@ KtFirNamedClassOrObjectSymbol: modality: FINAL name: A origin: SOURCE - superTypes: [[] kotlin/Any] + superTypes: [ + [] kotlin/Any + ] symbolKind: TOP_LEVEL typeParameters: [] visibility: Public diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/classPrimaryConstructor.txt b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/classPrimaryConstructor.txt index f30936b8402..1a120dd759c 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/classPrimaryConstructor.txt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/classPrimaryConstructor.txt @@ -29,7 +29,9 @@ KtFirNamedClassOrObjectSymbol: modality: FINAL name: A origin: SOURCE - superTypes: [[] kotlin/Any] + superTypes: [ + [] kotlin/Any + ] symbolKind: TOP_LEVEL typeParameters: [] visibility: Public diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/classSecondaryConstructors.kt b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/classSecondaryConstructors.kt index 1c7a9deb056..8ab68658647 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/classSecondaryConstructors.kt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/classSecondaryConstructors.kt @@ -12,6 +12,7 @@ KtFirConstructorSymbol: callableIdIfNonLocal: null containingClassIdIfNonLocal: A dispatchType: null + hasStableParameterNames: true isExtension: false isPrimary: true origin: SOURCE @@ -41,13 +42,16 @@ KtFirConstructorSymbol: callableIdIfNonLocal: null containingClassIdIfNonLocal: A dispatchType: null + hasStableParameterNames: true isExtension: false isPrimary: false origin: SOURCE receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(x)] + valueParameters: [ + KtFirValueParameterSymbol(x) + ] visibility: Public KtFirValueParameterSymbol: @@ -83,13 +87,17 @@ KtFirConstructorSymbol: callableIdIfNonLocal: null containingClassIdIfNonLocal: A dispatchType: null + hasStableParameterNames: true isExtension: false isPrimary: false origin: SOURCE receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(y), KtFirValueParameterSymbol(z)] + valueParameters: [ + KtFirValueParameterSymbol(y) + KtFirValueParameterSymbol(z) + ] visibility: Public KtFirNamedClassOrObjectSymbol: @@ -106,7 +114,9 @@ KtFirNamedClassOrObjectSymbol: modality: FINAL name: A origin: SOURCE - superTypes: [[] kotlin/Any] + superTypes: [ + [] kotlin/Any + ] symbolKind: TOP_LEVEL typeParameters: [] visibility: Public diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/classSecondaryConstructors.txt b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/classSecondaryConstructors.txt index 817c42d6c48..7104ecccfe6 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/classSecondaryConstructors.txt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/classSecondaryConstructors.txt @@ -42,7 +42,9 @@ KtFirConstructorSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(x)] + valueParameters: [ + KtFirValueParameterSymbol(x) + ] visibility: Public KtFirValueParameterSymbol: @@ -85,7 +87,10 @@ KtFirConstructorSymbol: receiverType: null symbolKind: MEMBER typeParameters: [] - valueParameters: [KtFirValueParameterSymbol(y), KtFirValueParameterSymbol(z)] + valueParameters: [ + KtFirValueParameterSymbol(y) + KtFirValueParameterSymbol(z) + ] visibility: Public KtFirNamedClassOrObjectSymbol: @@ -102,7 +107,9 @@ KtFirNamedClassOrObjectSymbol: modality: FINAL name: A origin: SOURCE - superTypes: [[] kotlin/Any] + superTypes: [ + [] kotlin/Any + ] symbolKind: TOP_LEVEL typeParameters: [] visibility: Public diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/classWithTypeParams.kt b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/classWithTypeParams.kt index a1f3dfdcd5c..e72e1237161 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/classWithTypeParams.kt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/classWithTypeParams.kt @@ -7,14 +7,18 @@ KtFirTypeParameterSymbol: isReified: false name: T origin: SOURCE - upperBounds: [kotlin/Any?] + upperBounds: [ + kotlin/Any? + ] variance: INVARIANT KtFirTypeParameterSymbol: isReified: false name: R origin: SOURCE - upperBounds: [kotlin/Any?] + upperBounds: [ + kotlin/Any? + ] variance: INVARIANT KtFirNamedClassOrObjectSymbol: @@ -31,8 +35,13 @@ KtFirNamedClassOrObjectSymbol: modality: FINAL name: A origin: SOURCE - superTypes: [[] kotlin/Any] + superTypes: [ + [] kotlin/Any + ] symbolKind: TOP_LEVEL - typeParameters: [KtFirTypeParameterSymbol(T), KtFirTypeParameterSymbol(R)] + typeParameters: [ + KtFirTypeParameterSymbol(T) + KtFirTypeParameterSymbol(R) + ] visibility: Public */ diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/classWithTypeParams.txt b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/classWithTypeParams.txt index c7f634b7ca3..e55d5bd0acd 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/classWithTypeParams.txt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/classWithTypeParams.txt @@ -2,14 +2,18 @@ KtFirTypeParameterSymbol: isReified: false name: T origin: SOURCE - upperBounds: [kotlin/Any?] + upperBounds: [ + kotlin/Any? + ] variance: INVARIANT KtFirTypeParameterSymbol: isReified: false name: R origin: SOURCE - upperBounds: [kotlin/Any?] + upperBounds: [ + kotlin/Any? + ] variance: INVARIANT KtFirNamedClassOrObjectSymbol: @@ -26,7 +30,12 @@ KtFirNamedClassOrObjectSymbol: modality: FINAL name: A origin: SOURCE - superTypes: [[] kotlin/Any] + superTypes: [ + [] kotlin/Any + ] symbolKind: TOP_LEVEL - typeParameters: [KtFirTypeParameterSymbol(T), KtFirTypeParameterSymbol(R)] + typeParameters: [ + KtFirTypeParameterSymbol(T) + KtFirTypeParameterSymbol(R) + ] visibility: Public diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/enum.kt b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/enum.kt index ad5c5721dc1..3f04ff8df31 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/enum.kt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/enum.kt @@ -38,7 +38,9 @@ KtFirNamedClassOrObjectSymbol: modality: FINAL name: X origin: SOURCE - superTypes: [[] kotlin/Enum] + superTypes: [ + [] kotlin/Enum + ] symbolKind: TOP_LEVEL typeParameters: [] visibility: Public diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/enum.txt b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/enum.txt index efc46eac38b..3bd730e019c 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/enum.txt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/enum.txt @@ -32,7 +32,9 @@ KtFirNamedClassOrObjectSymbol: modality: FINAL name: X origin: SOURCE - superTypes: [[] kotlin/Enum] + superTypes: [ + [] kotlin/Enum + ] symbolKind: TOP_LEVEL typeParameters: [] visibility: Public diff --git a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/enumValueMember.kt b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/enumValueMember.kt index 84df05256e7..7c5f70cf40b 100644 --- a/idea/idea-frontend-fir/testData/symbols/symbolByPsi/enumValueMember.kt +++ b/idea/idea-frontend-fir/testData/symbols/symbolByPsi/enumValueMember.kt @@ -36,7 +36,9 @@ origin: SOURCE receiverType: null symbolKind: MEMBER typeParameters: [] -valueParameters: [KtFirValueParameterSymbol(value)] +valueParameters: [ + KtFirValueParameterSymbol(value) + ] visibility: Private KtFirPropertyGetterSymbol: @@ -130,7 +132,9 @@ isInner: false modality: FINAL name: Style origin: SOURCE -superTypes: [[] kotlin/Enum