From 4ee5bf178c16f4179b34ec90076a3fde4a8302e0 Mon Sep 17 00:00:00 2001 From: Dmitrii Gridin Date: Mon, 10 Oct 2022 17:51:08 +0200 Subject: [PATCH] [AA] DebugSymbolRenderer: render symbols recursively ^KT-54311 --- .../api/symbols/DebugSymbolRenderer.kt | 8 +- .../innerClassTypeParamsSubstitution.txt | 73 +- .../scopeProvider/typeScope/intList.txt | 181 +- .../outerClassTypeParamsSubstitution.txt | 73 +- .../typeScope/outerTypeParamsSubstitution.txt | 73 +- .../scopeProvider/typeScope/typeParamList.txt | 181 +- .../propertyWithGetter.descriptors.txt | 19 +- .../simple.descriptors.txt | 184 +- .../fileScopeTest/fileScope.descriptors.txt | 655 +++++- .../scopes/fileScopeTest/fileScope.txt | 655 +++++- .../simpleFileScope.descriptors.txt | 136 ++ .../scopes/fileScopeTest/simpleFileScope.txt | 19 +- .../scopes/memberScopeByFqName/Int.txt | 936 +++++++- .../memberScopeByFqName/MutableList.txt | 397 +++- .../scopes/memberScopeByFqName/enumEntry.txt | 93 +- .../memberScopeByFqName/java.lang.String.txt | 2035 ++++++++++++++++- .../memberScopeByFqName/kotlin.Function2.txt | 54 +- .../customSerlializable.txt | 54 +- .../generatedCompanionWithFoo.txt | 18 +- .../nestedClassAndMaterializeMember.txt | 18 +- .../fileWalkDirectionEnum.descriptors.txt | 122 + .../symbolByFqName/fileWalkDirectionEnum.txt | 36 +- .../memberFunction.descriptors.txt | 18 +- .../symbols/symbolByFqName/memberFunction.txt | 18 +- ...emberFunctionWithOverloads.descriptors.txt | 18 +- .../memberFunctionWithOverloads.txt | 18 +- .../symbols/symbolByPsi/annotations.txt | 36 +- .../anonymousObject.descriptors.txt | 38 +- .../symbols/symbolByPsi/anonymousObject.txt | 38 +- .../symbols/symbolByPsi/backingField.txt | 109 +- .../classInitializer.descriptors.txt | 79 + .../symbols/symbolByPsi/classInitializer.txt | 19 +- .../symbolByPsi/classMembes.descriptors.txt | 100 + .../symbols/symbolByPsi/classMembes.txt | 19 +- .../symbolByPsi/classPrimaryConstructor.txt | 36 +- .../classSecondaryConstructors.txt | 54 +- .../contextReceiversOnClass.txt | 18 +- .../contextReceiversOnProperty.txt | 19 +- .../symbolByPsi/delegateField.descriptors.txt | 358 +++ .../symbols/symbolByPsi/delegateField.txt | 111 +- .../symbolByPsi/deprecated.descriptors.txt | 260 ++- .../symbols/symbolByPsi/deprecated.txt | 272 ++- .../symbolByPsi/destructuringDeclaration.txt | 36 +- .../symbolByPsi/dynamic.descriptors.txt | 153 ++ .../testData/symbols/symbolByPsi/dynamic.txt | 37 +- .../enumValueMember.descriptors.txt | 56 +- .../symbols/symbolByPsi/enumValueMember.txt | 58 +- .../symbolByPsi/explicitBackingField.txt | 109 +- .../testData/symbols/symbolByPsi/function.txt | 18 +- .../symbolByPsi/functionWithTypeParams.txt | 18 +- .../implicitConstructorDelegationCall.txt | 18 +- .../symbolByPsi/implicitReturnInLambda.txt | 72 +- .../symbolByPsi/jvmField.descriptors.txt | 146 +- .../testData/symbols/symbolByPsi/jvmField.txt | 146 +- .../symbolByPsi/jvmName.descriptors.txt | 188 +- .../testData/symbols/symbolByPsi/jvmName.txt | 194 +- .../memberProperties.descriptors.txt | 38 +- .../symbols/symbolByPsi/memberProperties.txt | 38 +- .../propertyWithAnnotations.descriptors.txt | 92 +- .../symbolByPsi/propertyWithAnnotations.txt | 104 +- .../topLevelProperties.descriptors.txt | 38 +- .../symbolByPsi/topLevelProperties.txt | 38 +- .../typeAnnotations.descriptors.txt | 40 +- .../symbols/symbolByPsi/typeAnnotations.txt | 43 +- .../valueParameters/parameterInlining.txt | 56 +- .../symbols/symbolByPsi/varargFunctions.txt | 72 +- .../constructorViaTypeAlias.txt | 18 +- .../symbolByReference/samConstructor.txt | 18 +- 68 files changed, 9096 insertions(+), 406 deletions(-) create mode 100644 analysis/analysis-api/testData/scopes/fileScopeTest/simpleFileScope.descriptors.txt create mode 100644 analysis/analysis-api/testData/symbols/symbolByFqName/fileWalkDirectionEnum.descriptors.txt create mode 100644 analysis/analysis-api/testData/symbols/symbolByPsi/classInitializer.descriptors.txt create mode 100644 analysis/analysis-api/testData/symbols/symbolByPsi/classMembes.descriptors.txt create mode 100644 analysis/analysis-api/testData/symbols/symbolByPsi/delegateField.descriptors.txt create mode 100644 analysis/analysis-api/testData/symbols/symbolByPsi/dynamic.descriptors.txt diff --git a/analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/symbols/DebugSymbolRenderer.kt b/analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/symbols/DebugSymbolRenderer.kt index 9d1177a0957..9bc2864f48e 100644 --- a/analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/symbols/DebugSymbolRenderer.kt +++ b/analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/symbols/DebugSymbolRenderer.kt @@ -134,13 +134,15 @@ public object DebugSymbolRenderer { } } + if (symbol is KtPropertyGetterSymbol || symbol is KtPropertySetterSymbol || symbol is KtValueParameterSymbol) { + renderSymbol(symbol) + return + } + append(getSymbolApiClass(symbol).simpleName) append("(") when (symbol) { is KtClassLikeSymbol -> renderId(symbol.classIdIfNonLocal, symbol) - is KtValueParameterSymbol -> renderValue(symbol.name) - is KtPropertyGetterSymbol -> append("") - is KtPropertySetterSymbol -> append("") is KtCallableSymbol -> renderId(symbol.callableIdIfNonLocal, symbol) is KtNamedSymbol -> renderValue(symbol.name) else -> error("Unsupported symbol ${symbol::class.java.name}") diff --git a/analysis/analysis-api/testData/components/scopeProvider/typeScope/innerClassTypeParamsSubstitution.txt b/analysis/analysis-api/testData/components/scopeProvider/typeScope/innerClassTypeParamsSubstitution.txt index c9c9730d00d..2d80a796fe0 100644 --- a/analysis/analysis-api/testData/components/scopeProvider/typeScope/innerClassTypeParamsSubstitution.txt +++ b/analysis/analysis-api/testData/components/scopeProvider/typeScope/innerClassTypeParamsSubstitution.txt @@ -85,15 +85,64 @@ KtFunctionSymbol: KtTypeParameterSymbol(Y) ] valueParameters: [ - KtValueParameterSymbol(x) - KtValueParameterSymbol(y) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: x + origin: SOURCE + receiverType: null + returnType: X + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: y + origin: SOURCE + receiverType: null + returnType: Y + symbolKind: LOCAL + typeParameters: [] ] visibility: Public KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /Outer.A.map contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/collections/Map + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: false @@ -160,7 +209,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Any? + symbolKind: LOCAL + typeParameters: [] ] visibility: Public KtFunctionSymbol: diff --git a/analysis/analysis-api/testData/components/scopeProvider/typeScope/intList.txt b/analysis/analysis-api/testData/components/scopeProvider/typeScope/intList.txt index 715c87e4f48..19d89933789 100644 --- a/analysis/analysis-api/testData/components/scopeProvider/typeScope/intList.txt +++ b/analysis/analysis-api/testData/components/scopeProvider/typeScope/intList.txt @@ -173,7 +173,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(element) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: element + origin: LIBRARY + receiverType: null + returnType: E + symbolKind: LOCAL + typeParameters: [] ] visibility: Public KtFunctionSymbol: @@ -198,7 +214,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(elements) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: elements + origin: LIBRARY + receiverType: null + returnType: kotlin/collections/Collection + symbolKind: LOCAL + typeParameters: [] ] visibility: Public KtFunctionSymbol: @@ -223,7 +255,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(index) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: index + origin: LIBRARY + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public KtFunctionSymbol: @@ -248,7 +296,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(element) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: element + origin: LIBRARY + receiverType: null + returnType: E + symbolKind: LOCAL + typeParameters: [] ] visibility: Public KtFunctionSymbol: @@ -319,7 +383,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(element) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: element + origin: LIBRARY + receiverType: null + returnType: E + symbolKind: LOCAL + typeParameters: [] ] visibility: Public KtFunctionSymbol: @@ -367,7 +447,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(index) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: index + origin: LIBRARY + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public KtFunctionSymbol: @@ -392,15 +488,64 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(fromIndex) - KtValueParameterSymbol(toIndex) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: fromIndex + origin: LIBRARY + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: toIndex + origin: LIBRARY + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: kotlin/collections/List.size contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: ABSTRACT + origin: LIBRARY + receiverType: null + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: false hasGetter: true hasSetter: false @@ -444,7 +589,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Any? + symbolKind: LOCAL + typeParameters: [] ] visibility: Public KtFunctionSymbol: diff --git a/analysis/analysis-api/testData/components/scopeProvider/typeScope/outerClassTypeParamsSubstitution.txt b/analysis/analysis-api/testData/components/scopeProvider/typeScope/outerClassTypeParamsSubstitution.txt index ad7fa4cd24c..9d7257bafbb 100644 --- a/analysis/analysis-api/testData/components/scopeProvider/typeScope/outerClassTypeParamsSubstitution.txt +++ b/analysis/analysis-api/testData/components/scopeProvider/typeScope/outerClassTypeParamsSubstitution.txt @@ -79,15 +79,64 @@ KtFunctionSymbol: KtTypeParameterSymbol(Y) ] valueParameters: [ - KtValueParameterSymbol(x) - KtValueParameterSymbol(y) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: x + origin: SOURCE + receiverType: null + returnType: X + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: y + origin: SOURCE + receiverType: null + returnType: Y + symbolKind: LOCAL + typeParameters: [] ] visibility: Public KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /Outer.A.map contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/collections/Map + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: false @@ -131,7 +180,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Any? + symbolKind: LOCAL + typeParameters: [] ] visibility: Public KtFunctionSymbol: diff --git a/analysis/analysis-api/testData/components/scopeProvider/typeScope/outerTypeParamsSubstitution.txt b/analysis/analysis-api/testData/components/scopeProvider/typeScope/outerTypeParamsSubstitution.txt index 1cefe68e817..cfdc04300a7 100644 --- a/analysis/analysis-api/testData/components/scopeProvider/typeScope/outerTypeParamsSubstitution.txt +++ b/analysis/analysis-api/testData/components/scopeProvider/typeScope/outerTypeParamsSubstitution.txt @@ -79,15 +79,64 @@ KtFunctionSymbol: KtTypeParameterSymbol(Y) ] valueParameters: [ - KtValueParameterSymbol(x) - KtValueParameterSymbol(y) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: x + origin: SOURCE + receiverType: null + returnType: X + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: y + origin: SOURCE + receiverType: null + returnType: Y + symbolKind: LOCAL + typeParameters: [] ] visibility: Public KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /A.map contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/collections/Map + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: false @@ -131,7 +180,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Any? + symbolKind: LOCAL + typeParameters: [] ] visibility: Public KtFunctionSymbol: diff --git a/analysis/analysis-api/testData/components/scopeProvider/typeScope/typeParamList.txt b/analysis/analysis-api/testData/components/scopeProvider/typeScope/typeParamList.txt index 1774c0cca24..3a1a1e34ee9 100644 --- a/analysis/analysis-api/testData/components/scopeProvider/typeScope/typeParamList.txt +++ b/analysis/analysis-api/testData/components/scopeProvider/typeScope/typeParamList.txt @@ -173,7 +173,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(element) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: element + origin: LIBRARY + receiverType: null + returnType: E + symbolKind: LOCAL + typeParameters: [] ] visibility: Public KtFunctionSymbol: @@ -198,7 +214,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(elements) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: elements + origin: LIBRARY + receiverType: null + returnType: kotlin/collections/Collection + symbolKind: LOCAL + typeParameters: [] ] visibility: Public KtFunctionSymbol: @@ -223,7 +255,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(index) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: index + origin: LIBRARY + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public KtFunctionSymbol: @@ -248,7 +296,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(element) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: element + origin: LIBRARY + receiverType: null + returnType: E + symbolKind: LOCAL + typeParameters: [] ] visibility: Public KtFunctionSymbol: @@ -319,7 +383,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(element) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: element + origin: LIBRARY + receiverType: null + returnType: E + symbolKind: LOCAL + typeParameters: [] ] visibility: Public KtFunctionSymbol: @@ -367,7 +447,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(index) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: index + origin: LIBRARY + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public KtFunctionSymbol: @@ -392,15 +488,64 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(fromIndex) - KtValueParameterSymbol(toIndex) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: fromIndex + origin: LIBRARY + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: toIndex + origin: LIBRARY + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: kotlin/collections/List.size contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: ABSTRACT + origin: LIBRARY + receiverType: null + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: false hasGetter: true hasSetter: false @@ -444,7 +589,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Any? + symbolKind: LOCAL + typeParameters: [] ] visibility: Public KtFunctionSymbol: diff --git a/analysis/analysis-api/testData/scopes/delegatedMemberScope/propertyWithGetter.descriptors.txt b/analysis/analysis-api/testData/scopes/delegatedMemberScope/propertyWithGetter.descriptors.txt index fd3eded0718..75f78f23e22 100644 --- a/analysis/analysis-api/testData/scopes/delegatedMemberScope/propertyWithGetter.descriptors.txt +++ b/analysis/analysis-api/testData/scopes/delegatedMemberScope/propertyWithGetter.descriptors.txt @@ -2,7 +2,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /I.foo contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: false + isDefault: false + isExtension: false + isInline: false + isOverride: false + modality: OPEN + origin: DELEGATED + receiverType: null + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: false hasGetter: true hasSetter: false diff --git a/analysis/analysis-api/testData/scopes/delegatedMemberScope/simple.descriptors.txt b/analysis/analysis-api/testData/scopes/delegatedMemberScope/simple.descriptors.txt index 96e70650591..f6b73b6e82d 100644 --- a/analysis/analysis-api/testData/scopes/delegatedMemberScope/simple.descriptors.txt +++ b/analysis/analysis-api/testData/scopes/delegatedMemberScope/simple.descriptors.txt @@ -2,7 +2,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /I.zoo contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: false + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: OPEN + origin: DELEGATED + receiverType: kotlin/Int + returnType: kotlin/Unit + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: false hasGetter: true hasSetter: true @@ -20,7 +37,59 @@ KtKotlinPropertySymbol: origin: DELEGATED receiverType: kotlin/Int returnType: kotlin/Unit - setter: KtPropertySetterSymbol() + setter: KtPropertySetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: false + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: OPEN + origin: DELEGATED + parameter: KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SOURCE + receiverType: null + returnType: kotlin/Unit + symbolKind: LOCAL + typeParameters: [] + receiverType: kotlin/Int + returnType: kotlin/Unit + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [ + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SOURCE + receiverType: null + returnType: kotlin/Unit + symbolKind: LOCAL + typeParameters: [] + ] + visibility: Public symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public @@ -90,7 +159,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /I.foo contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: false + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: OPEN + origin: DELEGATED + receiverType: null + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: false hasGetter: true hasSetter: false @@ -124,7 +210,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /I.bar contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: false + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: OPEN + origin: DELEGATED + receiverType: null + returnType: kotlin/Long + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: false hasGetter: true hasSetter: true @@ -142,7 +245,59 @@ KtKotlinPropertySymbol: origin: DELEGATED receiverType: null returnType: kotlin/Long - setter: KtPropertySetterSymbol() + setter: KtPropertySetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: false + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: OPEN + origin: DELEGATED + parameter: KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SOURCE + receiverType: null + returnType: kotlin/Long + symbolKind: LOCAL + typeParameters: [] + receiverType: null + returnType: kotlin/Unit + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [ + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SOURCE + receiverType: null + returnType: kotlin/Long + symbolKind: LOCAL + typeParameters: [] + ] + visibility: Public symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public @@ -158,7 +313,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /I.doo contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: false + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: OPEN + origin: DELEGATED + receiverType: kotlin/Int + returnType: kotlin/String + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: false hasGetter: true hasSetter: false diff --git a/analysis/analysis-api/testData/scopes/fileScopeTest/fileScope.descriptors.txt b/analysis/analysis-api/testData/scopes/fileScopeTest/fileScope.descriptors.txt index c660d4d17a3..c7f1021b3c6 100644 --- a/analysis/analysis-api/testData/scopes/fileScopeTest/fileScope.descriptors.txt +++ b/analysis/analysis-api/testData/scopes/fileScopeTest/fileScope.descriptors.txt @@ -60,7 +60,23 @@ KtFunctionSymbol: symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [ - KtValueParameterSymbol(par1) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: par1 + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getContainingModule: KtSourceModule "Sources of main" @@ -70,7 +86,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /testVal contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: false + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: false @@ -103,7 +136,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /initializedVariable contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: false + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: true @@ -121,7 +171,59 @@ KtKotlinPropertySymbol: origin: SOURCE receiverType: null returnType: kotlin/Int - setter: KtPropertySetterSymbol() + setter: KtPropertySetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: false + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + parameter: KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + receiverType: null + returnType: kotlin/Unit + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [ + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + ] + visibility: Public symbolKind: TOP_LEVEL typeParameters: [] visibility: Public @@ -136,7 +238,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /unitializedVariable contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: false + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/Long + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: true @@ -154,7 +273,59 @@ KtKotlinPropertySymbol: origin: SOURCE receiverType: null returnType: kotlin/Long - setter: KtPropertySetterSymbol() + setter: KtPropertySetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: false + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + parameter: KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SOURCE + receiverType: null + returnType: kotlin/Long + symbolKind: LOCAL + typeParameters: [] + receiverType: null + returnType: kotlin/Unit + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [ + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SOURCE + receiverType: null + returnType: kotlin/Long + symbolKind: LOCAL + typeParameters: [] + ] + visibility: Public symbolKind: TOP_LEVEL typeParameters: [] visibility: Public @@ -169,7 +340,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /lateinitVariable contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: false + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/String + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: true @@ -187,7 +375,59 @@ KtKotlinPropertySymbol: origin: SOURCE receiverType: null returnType: kotlin/String - setter: KtPropertySetterSymbol() + setter: KtPropertySetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: false + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + parameter: KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SOURCE + receiverType: null + returnType: kotlin/String + symbolKind: LOCAL + typeParameters: [] + receiverType: null + returnType: kotlin/Unit + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [ + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SOURCE + receiverType: null + returnType: kotlin/String + symbolKind: LOCAL + typeParameters: [] + ] + visibility: Public symbolKind: TOP_LEVEL typeParameters: [] visibility: Public @@ -202,7 +442,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /variableWithBackingField contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: true + hasStableParameterNames: false + isDefault: false + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/Long + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: true @@ -220,7 +477,59 @@ KtKotlinPropertySymbol: origin: SOURCE receiverType: null returnType: kotlin/Long - setter: KtPropertySetterSymbol() + setter: KtPropertySetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: false + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + parameter: KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SOURCE + receiverType: null + returnType: kotlin/Long + symbolKind: LOCAL + typeParameters: [] + receiverType: null + returnType: kotlin/Unit + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [ + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SOURCE + receiverType: null + returnType: kotlin/Long + symbolKind: LOCAL + typeParameters: [] + ] + visibility: Public symbolKind: TOP_LEVEL typeParameters: [] visibility: Public @@ -235,7 +544,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /privateSetter contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: false + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/String + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: true @@ -253,7 +579,62 @@ KtKotlinPropertySymbol: origin: SOURCE receiverType: null returnType: kotlin/String - setter: KtPropertySetterSymbol() + setter: KtPropertySetterSymbol: + annotationsList: [ + kotlin/jvm/JvmName(name = "customPrivateSetter") + psi: KtAnnotationEntry + ] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: false + isDefault: false + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + parameter: KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SOURCE + receiverType: null + returnType: kotlin/String + symbolKind: LOCAL + typeParameters: [] + receiverType: null + returnType: kotlin/Unit + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [ + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SOURCE + receiverType: null + returnType: kotlin/String + symbolKind: LOCAL + typeParameters: [] + ] + visibility: Private symbolKind: TOP_LEVEL typeParameters: [] visibility: Public @@ -268,7 +649,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /jvmNameOnSetter contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: false + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/String + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: true @@ -286,7 +684,62 @@ KtKotlinPropertySymbol: origin: SOURCE receiverType: null returnType: kotlin/String - setter: KtPropertySetterSymbol() + setter: KtPropertySetterSymbol: + annotationsList: [ + kotlin/jvm/JvmName(name = "customPrivateSetter") + psi: KtAnnotationEntry + ] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: false + isDefault: false + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + parameter: KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SOURCE + receiverType: null + returnType: kotlin/String + symbolKind: LOCAL + typeParameters: [] + receiverType: null + returnType: kotlin/Unit + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [ + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SOURCE + receiverType: null + returnType: kotlin/String + symbolKind: LOCAL + typeParameters: [] + ] + visibility: Private symbolKind: TOP_LEVEL typeParameters: [] visibility: Public @@ -301,7 +754,27 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /customGetter contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [ + kotlin/jvm/JvmName(name = "myCustomGetter") + psi: KtAnnotationEntry + ] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: true + hasStableParameterNames: false + isDefault: false + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: false hasGetter: true hasSetter: false @@ -334,7 +807,27 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /jvmNameOnGetter contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [ + kotlin/jvm/JvmName(name = "myCustomGetter") + psi: KtAnnotationEntry + ] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: true + hasStableParameterNames: false + isDefault: false + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: false hasGetter: true hasSetter: false @@ -367,7 +860,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /propertyWithReceiver contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: true + hasStableParameterNames: false + isDefault: false + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: kotlin/Int + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: false hasGetter: true hasSetter: false @@ -400,7 +910,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /propertyWithGenericReceiver contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: true + hasStableParameterNames: false + isDefault: false + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: T + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: false hasGetter: true hasSetter: false @@ -435,7 +962,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /constant contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: false + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: false @@ -468,7 +1012,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /jvmField contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: false + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/Long + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: true @@ -486,7 +1047,59 @@ KtKotlinPropertySymbol: origin: SOURCE receiverType: null returnType: kotlin/Long - setter: KtPropertySetterSymbol() + setter: KtPropertySetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: false + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + parameter: KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SOURCE + receiverType: null + returnType: kotlin/Long + symbolKind: LOCAL + typeParameters: [] + receiverType: null + returnType: kotlin/Unit + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [ + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SOURCE + receiverType: null + returnType: kotlin/Long + symbolKind: LOCAL + typeParameters: [] + ] + visibility: Public symbolKind: TOP_LEVEL typeParameters: [] visibility: Public diff --git a/analysis/analysis-api/testData/scopes/fileScopeTest/fileScope.txt b/analysis/analysis-api/testData/scopes/fileScopeTest/fileScope.txt index f29ca40068b..f904277829e 100644 --- a/analysis/analysis-api/testData/scopes/fileScopeTest/fileScope.txt +++ b/analysis/analysis-api/testData/scopes/fileScopeTest/fileScope.txt @@ -60,7 +60,23 @@ KtFunctionSymbol: symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [ - KtValueParameterSymbol(par1) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: par1 + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getContainingModule: KtSourceModule "Sources of main" @@ -70,7 +86,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /testVal contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: false @@ -103,7 +136,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /initializedVariable contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: true @@ -121,7 +171,59 @@ KtKotlinPropertySymbol: origin: SOURCE receiverType: null returnType: kotlin/Int - setter: KtPropertySetterSymbol() + setter: KtPropertySetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + parameter: KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + receiverType: null + returnType: kotlin/Unit + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [ + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + ] + visibility: Public symbolKind: TOP_LEVEL typeParameters: [] visibility: Public @@ -136,7 +238,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /unitializedVariable contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/Long + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: true @@ -154,7 +273,59 @@ KtKotlinPropertySymbol: origin: SOURCE receiverType: null returnType: kotlin/Long - setter: KtPropertySetterSymbol() + setter: KtPropertySetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + parameter: KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: + origin: SOURCE + receiverType: null + returnType: kotlin/Long + symbolKind: LOCAL + typeParameters: [] + receiverType: null + returnType: kotlin/Unit + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [ + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: + origin: SOURCE + receiverType: null + returnType: kotlin/Long + symbolKind: LOCAL + typeParameters: [] + ] + visibility: Public symbolKind: TOP_LEVEL typeParameters: [] visibility: Public @@ -169,7 +340,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /lateinitVariable contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/String + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: true @@ -187,7 +375,59 @@ KtKotlinPropertySymbol: origin: SOURCE receiverType: null returnType: kotlin/String - setter: KtPropertySetterSymbol() + setter: KtPropertySetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + parameter: KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: + origin: SOURCE + receiverType: null + returnType: kotlin/String + symbolKind: LOCAL + typeParameters: [] + receiverType: null + returnType: kotlin/Unit + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [ + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: + origin: SOURCE + receiverType: null + returnType: kotlin/String + symbolKind: LOCAL + typeParameters: [] + ] + visibility: Public symbolKind: TOP_LEVEL typeParameters: [] visibility: Public @@ -202,7 +442,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /variableWithBackingField contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: true + hasStableParameterNames: true + isDefault: false + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/Long + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: true @@ -220,7 +477,59 @@ KtKotlinPropertySymbol: origin: SOURCE receiverType: null returnType: kotlin/Long - setter: KtPropertySetterSymbol() + setter: KtPropertySetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + parameter: KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: + origin: SOURCE + receiverType: null + returnType: kotlin/Long + symbolKind: LOCAL + typeParameters: [] + receiverType: null + returnType: kotlin/Unit + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [ + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: + origin: SOURCE + receiverType: null + returnType: kotlin/Long + symbolKind: LOCAL + typeParameters: [] + ] + visibility: Public symbolKind: TOP_LEVEL typeParameters: [] visibility: Public @@ -235,7 +544,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /privateSetter contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/String + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: true @@ -253,7 +579,62 @@ KtKotlinPropertySymbol: origin: SOURCE receiverType: null returnType: kotlin/String - setter: KtPropertySetterSymbol() + setter: KtPropertySetterSymbol: + annotationsList: [ + kotlin/jvm/JvmName(name = "customPrivateSetter") + psi: KtAnnotationEntry + ] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + parameter: KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: + origin: SOURCE + receiverType: null + returnType: kotlin/String + symbolKind: LOCAL + typeParameters: [] + receiverType: null + returnType: kotlin/Unit + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [ + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: + origin: SOURCE + receiverType: null + returnType: kotlin/String + symbolKind: LOCAL + typeParameters: [] + ] + visibility: Private symbolKind: TOP_LEVEL typeParameters: [] visibility: Public @@ -268,7 +649,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /jvmNameOnSetter contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/String + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: true @@ -286,7 +684,62 @@ KtKotlinPropertySymbol: origin: SOURCE receiverType: null returnType: kotlin/String - setter: KtPropertySetterSymbol() + setter: KtPropertySetterSymbol: + annotationsList: [ + kotlin/jvm/JvmName(name = "customPrivateSetter") + psi: KtAnnotationEntry + ] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + parameter: KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: + origin: SOURCE + receiverType: null + returnType: kotlin/String + symbolKind: LOCAL + typeParameters: [] + receiverType: null + returnType: kotlin/Unit + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [ + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: + origin: SOURCE + receiverType: null + returnType: kotlin/String + symbolKind: LOCAL + typeParameters: [] + ] + visibility: Private symbolKind: TOP_LEVEL typeParameters: [] visibility: Public @@ -301,7 +754,27 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /customGetter contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [ + kotlin/jvm/JvmName(name = "myCustomGetter") + psi: KtAnnotationEntry + ] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: true + hasStableParameterNames: true + isDefault: false + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: false hasGetter: true hasSetter: false @@ -334,7 +807,27 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /jvmNameOnGetter contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [ + kotlin/jvm/JvmName(name = "myCustomGetter") + psi: KtAnnotationEntry + ] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: true + hasStableParameterNames: true + isDefault: false + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: false hasGetter: true hasSetter: false @@ -367,7 +860,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /propertyWithReceiver contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: true + hasStableParameterNames: true + isDefault: false + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: false hasGetter: true hasSetter: false @@ -400,7 +910,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /propertyWithGenericReceiver contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: true + hasStableParameterNames: true + isDefault: false + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: false hasGetter: true hasSetter: false @@ -435,7 +962,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /constant contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: false @@ -471,7 +1015,24 @@ KtKotlinPropertySymbol: ] callableIdIfNonLocal: /jvmField contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/Long + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: true @@ -489,7 +1050,59 @@ KtKotlinPropertySymbol: origin: SOURCE receiverType: null returnType: kotlin/Long - setter: KtPropertySetterSymbol() + setter: KtPropertySetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + parameter: KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: + origin: SOURCE + receiverType: null + returnType: kotlin/Long + symbolKind: LOCAL + typeParameters: [] + receiverType: null + returnType: kotlin/Unit + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [ + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: + origin: SOURCE + receiverType: null + returnType: kotlin/Long + symbolKind: LOCAL + typeParameters: [] + ] + visibility: Public symbolKind: TOP_LEVEL typeParameters: [] visibility: Public diff --git a/analysis/analysis-api/testData/scopes/fileScopeTest/simpleFileScope.descriptors.txt b/analysis/analysis-api/testData/scopes/fileScopeTest/simpleFileScope.descriptors.txt new file mode 100644 index 00000000000..e77f4fdcd82 --- /dev/null +++ b/analysis/analysis-api/testData/scopes/fileScopeTest/simpleFileScope.descriptors.txt @@ -0,0 +1,136 @@ +FILE SYMBOL: +KtFileSymbol: + annotationsList: [] + origin: SOURCE + getContainingModule: KtSourceModule "Sources of main" + deprecationStatus: null + +CALLABLE NAMES: +[test, testVal] + +CALLABLE SYMBOLS: +KtFunctionSymbol: + annotationsList: [] + callableIdIfNonLocal: /test + contextReceivers: [] + hasStableParameterNames: true + isBuiltinFunctionInvoke: false + isExtension: false + isExternal: false + isInfix: false + isInline: false + isOperator: false + isOverride: false + isStatic: false + isSuspend: false + modality: FINAL + name: test + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: TOP_LEVEL + typeParameters: [] + valueParameters: [] + visibility: Public + getContainingModule: KtSourceModule "Sources of main" + deprecationStatus: null + +KtKotlinPropertySymbol: + annotationsList: [] + callableIdIfNonLocal: /testVal + contextReceivers: [] + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: false + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public + hasBackingField: true + hasGetter: true + hasSetter: false + initializer: KtConstantInitializerValue(2) + isConst: false + isDelegatedProperty: false + isExtension: false + isFromPrimaryConstructor: false + isLateInit: false + isOverride: false + isStatic: false + isVal: true + modality: FINAL + name: testVal + origin: SOURCE + receiverType: null + returnType: kotlin/Int + setter: null + symbolKind: TOP_LEVEL + typeParameters: [] + visibility: Public + getContainingModule: KtSourceModule "Sources of main" + deprecationStatus: null + getterDeprecationStatus: null + javaGetterName: getTestVal + javaSetterName: null + setterDeprecationStatus: null + +CLASSIFIER NAMES: +[C, I] + +CLASSIFIER SYMBOLS: +KtNamedClassOrObjectSymbol: + annotationsList: [] + classIdIfNonLocal: C + classKind: CLASS + companionObject: null + contextReceivers: [] + isData: false + isExternal: false + isFun: false + isInline: false + isInner: false + modality: FINAL + name: C + origin: SOURCE + superTypes: [ + kotlin/Any + ] + symbolKind: TOP_LEVEL + typeParameters: [] + visibility: Public + getContainingModule: KtSourceModule "Sources of main" + deprecationStatus: null + +KtNamedClassOrObjectSymbol: + annotationsList: [] + classIdIfNonLocal: I + classKind: INTERFACE + companionObject: null + contextReceivers: [] + isData: false + isExternal: false + isFun: false + isInline: false + isInner: false + modality: ABSTRACT + name: I + origin: SOURCE + superTypes: [ + kotlin/Any + ] + symbolKind: TOP_LEVEL + typeParameters: [] + visibility: Public + getContainingModule: KtSourceModule "Sources of main" + deprecationStatus: null \ No newline at end of file diff --git a/analysis/analysis-api/testData/scopes/fileScopeTest/simpleFileScope.txt b/analysis/analysis-api/testData/scopes/fileScopeTest/simpleFileScope.txt index 891476fd023..f5c1d96dd5d 100644 --- a/analysis/analysis-api/testData/scopes/fileScopeTest/simpleFileScope.txt +++ b/analysis/analysis-api/testData/scopes/fileScopeTest/simpleFileScope.txt @@ -39,7 +39,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /testVal contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: false diff --git a/analysis/analysis-api/testData/scopes/memberScopeByFqName/Int.txt b/analysis/analysis-api/testData/scopes/memberScopeByFqName/Int.txt index 37045ff8930..58e0649fe29 100644 --- a/analysis/analysis-api/testData/scopes/memberScopeByFqName/Int.txt +++ b/analysis/analysis-api/testData/scopes/memberScopeByFqName/Int.txt @@ -23,7 +23,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -55,7 +71,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Byte + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -87,7 +119,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Double + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -119,7 +167,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Float + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -151,7 +215,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -183,7 +263,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Long + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -215,7 +311,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Short + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -274,7 +386,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Byte + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -306,7 +434,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Double + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -338,7 +482,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Float + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -370,7 +530,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -402,7 +578,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Long + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -434,7 +626,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Short + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -466,7 +674,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Any? + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -555,7 +779,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Byte + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -587,7 +827,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Double + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -619,7 +875,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Float + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -651,7 +923,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -683,7 +971,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Long + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -715,7 +1019,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Short + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -747,7 +1067,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -779,7 +1115,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Byte + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -811,7 +1163,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Double + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -843,7 +1211,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Float + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -875,7 +1259,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -907,7 +1307,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Long + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -939,7 +1355,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Short + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -968,7 +1400,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Byte + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -997,7 +1445,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -1026,7 +1490,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Long + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -1055,7 +1535,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Short + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -1089,7 +1585,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Byte + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -1123,7 +1635,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -1157,7 +1685,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Long + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -1191,7 +1735,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Short + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -1225,7 +1785,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Byte + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -1259,7 +1835,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Double + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -1293,7 +1885,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Float + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -1327,7 +1935,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -1361,7 +1985,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Long + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -1395,7 +2035,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Short + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -1427,7 +2083,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(bitCount) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: bitCount + origin: LIBRARY + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -1459,7 +2131,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(bitCount) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: bitCount + origin: LIBRARY + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -1491,7 +2179,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Byte + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -1523,7 +2227,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Double + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -1555,7 +2275,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Float + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -1587,7 +2323,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -1619,7 +2371,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Long + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -1651,7 +2419,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Short + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -1983,7 +2767,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(bitCount) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: bitCount + origin: LIBRARY + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -2015,7 +2815,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Int @@ -2086,7 +2902,23 @@ KtConstructorSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(value) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SUBSTITUTION_OVERRIDE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getContainingModule: KtSourceModule "Sources of main" diff --git a/analysis/analysis-api/testData/scopes/memberScopeByFqName/MutableList.txt b/analysis/analysis-api/testData/scopes/memberScopeByFqName/MutableList.txt index 3ba649e40d6..1d17d90cf25 100644 --- a/analysis/analysis-api/testData/scopes/memberScopeByFqName/MutableList.txt +++ b/analysis/analysis-api/testData/scopes/memberScopeByFqName/MutableList.txt @@ -20,7 +20,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(element) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: element + origin: LIBRARY + receiverType: null + returnType: E + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/collections/MutableList @@ -49,8 +65,40 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(index) - KtValueParameterSymbol(element) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: index + origin: LIBRARY + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: element + origin: LIBRARY + receiverType: null + returnType: E + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/collections/MutableList @@ -79,8 +127,40 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(index) - KtValueParameterSymbol(elements) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: index + origin: LIBRARY + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: elements + origin: LIBRARY + receiverType: null + returnType: kotlin/collections/Collection + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/collections/MutableList @@ -109,7 +189,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(elements) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: elements + origin: LIBRARY + receiverType: null + returnType: kotlin/collections/Collection + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/collections/MutableList @@ -192,7 +288,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(index) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: index + origin: LIBRARY + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/collections/MutableList @@ -221,7 +333,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(element) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: element + origin: LIBRARY + receiverType: null + returnType: E + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/collections/MutableList @@ -250,7 +378,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(elements) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: elements + origin: LIBRARY + receiverType: null + returnType: kotlin/collections/Collection + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/collections/MutableList @@ -279,7 +423,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(index) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: index + origin: LIBRARY + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/collections/MutableList @@ -308,7 +468,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(elements) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: elements + origin: LIBRARY + receiverType: null + returnType: kotlin/collections/Collection + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/collections/MutableList @@ -337,8 +513,40 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(index) - KtValueParameterSymbol(element) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: index + origin: LIBRARY + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: element + origin: LIBRARY + receiverType: null + returnType: E + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/collections/MutableList @@ -367,8 +575,40 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(fromIndex) - KtValueParameterSymbol(toIndex) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: fromIndex + origin: LIBRARY + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: toIndex + origin: LIBRARY + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/collections/MutableList @@ -397,7 +637,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(element) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: element + origin: SUBSTITUTION_OVERRIDE + receiverType: null + returnType: E + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/collections/MutableList @@ -426,7 +682,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(elements) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: elements + origin: SUBSTITUTION_OVERRIDE + receiverType: null + returnType: kotlin/collections/Collection + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/collections/MutableList @@ -455,7 +727,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(index) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: index + origin: SUBSTITUTION_OVERRIDE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/collections/MutableList @@ -484,7 +772,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(element) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: element + origin: SUBSTITUTION_OVERRIDE + receiverType: null + returnType: E + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/collections/MutableList @@ -567,7 +871,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(element) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: element + origin: SUBSTITUTION_OVERRIDE + receiverType: null + returnType: E + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/collections/MutableList @@ -578,7 +898,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: kotlin/collections/List.size contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: ABSTRACT + origin: LIBRARY + receiverType: null + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: false hasGetter: true hasSetter: false @@ -630,7 +967,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Any? + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Any diff --git a/analysis/analysis-api/testData/scopes/memberScopeByFqName/enumEntry.txt b/analysis/analysis-api/testData/scopes/memberScopeByFqName/enumEntry.txt index fb49af9e624..2fb95d94b61 100644 --- a/analysis/analysis-api/testData/scopes/memberScopeByFqName/enumEntry.txt +++ b/analysis/analysis-api/testData/scopes/memberScopeByFqName/enumEntry.txt @@ -2,7 +2,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: null contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/String + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: false @@ -81,7 +98,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: SUBSTITUTION_OVERRIDE + receiverType: null + returnType: test/E + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): test/E @@ -110,7 +143,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Any? + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Enum @@ -178,7 +227,24 @@ KtKotlinPropertySymbol: ] callableIdIfNonLocal: kotlin/Enum.name contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: LIBRARY + receiverType: null + returnType: kotlin/String + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: false @@ -212,7 +278,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: kotlin/Enum.ordinal contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: LIBRARY + receiverType: null + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: false diff --git a/analysis/analysis-api/testData/scopes/memberScopeByFqName/java.lang.String.txt b/analysis/analysis-api/testData/scopes/memberScopeByFqName/java.lang.String.txt index bf399f366bf..d13071b7c81 100644 --- a/analysis/analysis-api/testData/scopes/memberScopeByFqName/java.lang.String.txt +++ b/analysis/analysis-api/testData/scopes/memberScopeByFqName/java.lang.String.txt @@ -86,7 +86,24 @@ KtSyntheticJavaPropertySymbol: annotationsList: [] callableIdIfNonLocal: java/lang/String.length contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: java/lang/String.length + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: false + isExtension: false + isInline: false + isOverride: false + modality: OPEN + origin: JAVA_SYNTHETIC_PROPERTY + receiverType: null + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: false @@ -165,7 +182,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(index) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: index + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): java/lang/String @@ -194,7 +227,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(index) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: index + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): java/lang/String @@ -223,8 +272,40 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(beginIndex) - KtValueParameterSymbol(endIndex) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: beginIndex + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: endIndex + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): java/lang/String @@ -253,8 +334,40 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(index) - KtValueParameterSymbol(codePointOffset) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: index + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: codePointOffset + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): java/lang/String @@ -283,8 +396,40 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(dst) - KtValueParameterSymbol(dstBegin) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: dst + origin: JAVA + receiverType: null + returnType: kotlin/CharArray! + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: dstBegin + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: PackageVisibility getDispatchReceiver(): java/lang/String @@ -313,10 +458,74 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(srcBegin) - KtValueParameterSymbol(srcEnd) - KtValueParameterSymbol(dst) - KtValueParameterSymbol(dstBegin) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: srcBegin + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: srcEnd + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: dst + origin: JAVA + receiverType: null + returnType: kotlin/CharArray! + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: dstBegin + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): java/lang/String @@ -348,10 +557,74 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(srcBegin) - KtValueParameterSymbol(srcEnd) - KtValueParameterSymbol(dst) - KtValueParameterSymbol(dstBegin) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: srcBegin + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: srcEnd + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: dst + origin: JAVA + receiverType: null + returnType: kotlin/ByteArray! + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: dstBegin + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): java/lang/String @@ -380,7 +653,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(charsetName) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: charsetName + origin: JAVA + receiverType: null + returnType: kotlin/String! + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): java/lang/String @@ -409,7 +698,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(charset) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: charset + origin: JAVA + receiverType: null + returnType: java/nio/charset/Charset! + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): java/lang/String @@ -465,7 +770,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(anObject) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: anObject + origin: JAVA + receiverType: null + returnType: kotlin/Any? + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): java/lang/String @@ -494,7 +815,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(sb) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: sb + origin: JAVA + receiverType: null + returnType: java/lang/StringBuffer! + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): java/lang/String @@ -523,7 +860,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(cs) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: cs + origin: JAVA + receiverType: null + returnType: kotlin/CharSequence! + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): java/lang/String @@ -552,7 +905,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(anotherString) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: anotherString + origin: JAVA + receiverType: null + returnType: kotlin/String! + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): java/lang/String @@ -581,7 +950,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(anotherString) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: anotherString + origin: JAVA + receiverType: null + returnType: kotlin/String! + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): java/lang/String @@ -610,7 +995,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(str) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: str + origin: JAVA + receiverType: null + returnType: kotlin/String! + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): java/lang/String @@ -639,10 +1040,74 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(toffset) - KtValueParameterSymbol(other) - KtValueParameterSymbol(ooffset) - KtValueParameterSymbol(len) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: toffset + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: JAVA + receiverType: null + returnType: kotlin/String! + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: ooffset + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: len + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): java/lang/String @@ -671,11 +1136,91 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(ignoreCase) - KtValueParameterSymbol(toffset) - KtValueParameterSymbol(other) - KtValueParameterSymbol(ooffset) - KtValueParameterSymbol(len) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: ignoreCase + origin: JAVA + receiverType: null + returnType: kotlin/Boolean + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: toffset + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: JAVA + receiverType: null + returnType: kotlin/String! + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: ooffset + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: len + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): java/lang/String @@ -704,8 +1249,40 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(prefix) - KtValueParameterSymbol(toffset) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: prefix + origin: JAVA + receiverType: null + returnType: kotlin/String! + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: toffset + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): java/lang/String @@ -734,7 +1311,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(prefix) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: prefix + origin: JAVA + receiverType: null + returnType: kotlin/String! + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): java/lang/String @@ -763,7 +1356,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(suffix) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: suffix + origin: JAVA + receiverType: null + returnType: kotlin/String! + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): java/lang/String @@ -819,7 +1428,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(ch) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: ch + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): java/lang/String @@ -848,8 +1473,40 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(ch) - KtValueParameterSymbol(fromIndex) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: ch + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: fromIndex + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): java/lang/String @@ -878,7 +1535,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(str) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: str + origin: JAVA + receiverType: null + returnType: kotlin/String! + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): java/lang/String @@ -907,8 +1580,40 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(str) - KtValueParameterSymbol(fromIndex) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: str + origin: JAVA + receiverType: null + returnType: kotlin/String! + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: fromIndex + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): java/lang/String @@ -937,8 +1642,40 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(ch) - KtValueParameterSymbol(fromIndex) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: ch + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: fromIndex + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Private getDispatchReceiver(): java/lang/String @@ -967,7 +1704,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(ch) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: ch + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): java/lang/String @@ -996,8 +1749,40 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(ch) - KtValueParameterSymbol(fromIndex) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: ch + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: fromIndex + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): java/lang/String @@ -1026,7 +1811,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(str) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: str + origin: JAVA + receiverType: null + returnType: kotlin/String! + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): java/lang/String @@ -1055,8 +1856,40 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(str) - KtValueParameterSymbol(fromIndex) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: str + origin: JAVA + receiverType: null + returnType: kotlin/String! + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: fromIndex + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): java/lang/String @@ -1085,8 +1918,40 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(ch) - KtValueParameterSymbol(fromIndex) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: ch + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: fromIndex + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Private getDispatchReceiver(): java/lang/String @@ -1115,7 +1980,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(beginIndex) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: beginIndex + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): java/lang/String @@ -1144,8 +2025,40 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(beginIndex) - KtValueParameterSymbol(endIndex) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: beginIndex + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: endIndex + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): java/lang/String @@ -1174,8 +2087,40 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(beginIndex) - KtValueParameterSymbol(endIndex) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: beginIndex + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: endIndex + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): java/lang/String @@ -1204,7 +2149,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(str) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: str + origin: JAVA + receiverType: null + returnType: kotlin/String! + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): java/lang/String @@ -1233,8 +2194,40 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(oldChar) - KtValueParameterSymbol(newChar) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: oldChar + origin: JAVA + receiverType: null + returnType: kotlin/Char + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: newChar + origin: JAVA + receiverType: null + returnType: kotlin/Char + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): java/lang/String @@ -1263,8 +2256,40 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(target) - KtValueParameterSymbol(replacement) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: target + origin: JAVA + receiverType: null + returnType: kotlin/CharSequence! + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: replacement + origin: JAVA + receiverType: null + returnType: kotlin/CharSequence! + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): java/lang/String @@ -1293,7 +2318,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(regex) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: regex + origin: JAVA + receiverType: null + returnType: kotlin/String! + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): java/lang/String @@ -1322,7 +2363,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(s) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: s + origin: JAVA + receiverType: null + returnType: kotlin/CharSequence! + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): java/lang/String @@ -1351,8 +2408,40 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(regex) - KtValueParameterSymbol(replacement) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: regex + origin: JAVA + receiverType: null + returnType: kotlin/String! + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: replacement + origin: JAVA + receiverType: null + returnType: kotlin/String! + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): java/lang/String @@ -1381,8 +2470,40 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(regex) - KtValueParameterSymbol(replacement) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: regex + origin: JAVA + receiverType: null + returnType: kotlin/String! + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: replacement + origin: JAVA + receiverType: null + returnType: kotlin/String! + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): java/lang/String @@ -1411,8 +2532,40 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(regex) - KtValueParameterSymbol(limit) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: regex + origin: JAVA + receiverType: null + returnType: kotlin/String! + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: limit + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): java/lang/String @@ -1441,7 +2594,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(regex) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: regex + origin: JAVA + receiverType: null + returnType: kotlin/String! + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): java/lang/String @@ -1470,7 +2639,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(locale) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: locale + origin: JAVA + receiverType: null + returnType: java/util/Locale! + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): java/lang/String @@ -1526,7 +2711,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(locale) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: locale + origin: JAVA + receiverType: null + returnType: java/util/Locale! + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): java/lang/String @@ -1690,7 +2891,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(index) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: index + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): java/lang/String @@ -1754,7 +2971,23 @@ KtConstructorSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(original) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: original + origin: JAVA + receiverType: null + returnType: kotlin/String! + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getContainingModule: KtSdkModule "SDK jdk" @@ -1774,7 +3007,23 @@ KtConstructorSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(value) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: JAVA + receiverType: null + returnType: kotlin/CharArray! + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getContainingModule: KtSdkModule "SDK jdk" @@ -1794,9 +3043,57 @@ KtConstructorSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(value) - KtValueParameterSymbol(offset) - KtValueParameterSymbol(count) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: JAVA + receiverType: null + returnType: kotlin/CharArray! + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: offset + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: count + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getContainingModule: KtSdkModule "SDK jdk" @@ -1816,9 +3113,57 @@ KtConstructorSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(codePoints) - KtValueParameterSymbol(offset) - KtValueParameterSymbol(count) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: codePoints + origin: JAVA + receiverType: null + returnType: kotlin/IntArray! + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: offset + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: count + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getContainingModule: KtSdkModule "SDK jdk" @@ -1841,10 +3186,74 @@ KtConstructorSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(ascii) - KtValueParameterSymbol(hibyte) - KtValueParameterSymbol(offset) - KtValueParameterSymbol(count) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: ascii + origin: JAVA + receiverType: null + returnType: kotlin/ByteArray! + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: hibyte + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: offset + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: count + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getContainingModule: KtSdkModule "SDK jdk" @@ -1867,8 +3276,40 @@ KtConstructorSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(ascii) - KtValueParameterSymbol(hibyte) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: ascii + origin: JAVA + receiverType: null + returnType: kotlin/ByteArray! + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: hibyte + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getContainingModule: KtSdkModule "SDK jdk" @@ -1888,10 +3329,74 @@ KtConstructorSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(bytes) - KtValueParameterSymbol(offset) - KtValueParameterSymbol(length) - KtValueParameterSymbol(charsetName) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: bytes + origin: JAVA + receiverType: null + returnType: kotlin/ByteArray! + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: offset + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: length + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: charsetName + origin: JAVA + receiverType: null + returnType: kotlin/String! + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getContainingModule: KtSdkModule "SDK jdk" @@ -1911,10 +3416,74 @@ KtConstructorSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(bytes) - KtValueParameterSymbol(offset) - KtValueParameterSymbol(length) - KtValueParameterSymbol(charset) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: bytes + origin: JAVA + receiverType: null + returnType: kotlin/ByteArray! + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: offset + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: length + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: charset + origin: JAVA + receiverType: null + returnType: java/nio/charset/Charset! + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getContainingModule: KtSdkModule "SDK jdk" @@ -1934,8 +3503,40 @@ KtConstructorSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(bytes) - KtValueParameterSymbol(charsetName) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: bytes + origin: JAVA + receiverType: null + returnType: kotlin/ByteArray! + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: charsetName + origin: JAVA + receiverType: null + returnType: kotlin/String! + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getContainingModule: KtSdkModule "SDK jdk" @@ -1955,8 +3556,40 @@ KtConstructorSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(bytes) - KtValueParameterSymbol(charset) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: bytes + origin: JAVA + receiverType: null + returnType: kotlin/ByteArray! + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: charset + origin: JAVA + receiverType: null + returnType: java/nio/charset/Charset! + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getContainingModule: KtSdkModule "SDK jdk" @@ -1976,9 +3609,57 @@ KtConstructorSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(bytes) - KtValueParameterSymbol(offset) - KtValueParameterSymbol(length) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: bytes + origin: JAVA + receiverType: null + returnType: kotlin/ByteArray! + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: offset + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: length + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getContainingModule: KtSdkModule "SDK jdk" @@ -1998,7 +3679,23 @@ KtConstructorSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(bytes) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: bytes + origin: JAVA + receiverType: null + returnType: kotlin/ByteArray! + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getContainingModule: KtSdkModule "SDK jdk" @@ -2018,7 +3715,23 @@ KtConstructorSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(buffer) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: buffer + origin: JAVA + receiverType: null + returnType: java/lang/StringBuffer! + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getContainingModule: KtSdkModule "SDK jdk" @@ -2038,7 +3751,23 @@ KtConstructorSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(builder) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: builder + origin: JAVA + receiverType: null + returnType: java/lang/StringBuilder! + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getContainingModule: KtSdkModule "SDK jdk" @@ -2058,8 +3787,40 @@ KtConstructorSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(value) - KtValueParameterSymbol(share) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: JAVA + receiverType: null + returnType: kotlin/CharArray! + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: share + origin: JAVA + receiverType: null + returnType: kotlin/Boolean + symbolKind: LOCAL + typeParameters: [] ] visibility: PackageVisibility getContainingModule: KtSdkModule "SDK jdk" @@ -2082,9 +3843,57 @@ KtConstructorSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(offset) - KtValueParameterSymbol(count) - KtValueParameterSymbol(value) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: offset + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: count + origin: JAVA + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: JAVA + receiverType: null + returnType: kotlin/CharArray! + symbolKind: LOCAL + typeParameters: [] ] visibility: PackageVisibility getContainingModule: KtSdkModule "SDK jdk" diff --git a/analysis/analysis-api/testData/scopes/memberScopeByFqName/kotlin.Function2.txt b/analysis/analysis-api/testData/scopes/memberScopeByFqName/kotlin.Function2.txt index 8151756dc15..0de0ef90ae6 100644 --- a/analysis/analysis-api/testData/scopes/memberScopeByFqName/kotlin.Function2.txt +++ b/analysis/analysis-api/testData/scopes/memberScopeByFqName/kotlin.Function2.txt @@ -20,8 +20,40 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p1) - KtValueParameterSymbol(p2) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: p1 + origin: LIBRARY + receiverType: null + returnType: P1 + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: p2 + origin: LIBRARY + receiverType: null + returnType: P2 + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Function2 @@ -50,7 +82,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Any? + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Any diff --git a/analysis/analysis-api/testData/scopes/memberScopeByFqName/withTestCompilerPluginEnabled/customSerlializable.txt b/analysis/analysis-api/testData/scopes/memberScopeByFqName/withTestCompilerPluginEnabled/customSerlializable.txt index 9c133d55665..711045e8eec 100644 --- a/analysis/analysis-api/testData/scopes/memberScopeByFqName/withTestCompilerPluginEnabled/customSerlializable.txt +++ b/analysis/analysis-api/testData/scopes/memberScopeByFqName/withTestCompilerPluginEnabled/customSerlializable.txt @@ -20,7 +20,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(x) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: x + origin: PLUGIN + receiverType: null + returnType: test/FirstTarget + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): test/Serializer @@ -49,7 +65,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(x) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: x + origin: PLUGIN + receiverType: null + returnType: test/SecondTarget + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): test/Serializer @@ -78,7 +110,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Any? + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Any diff --git a/analysis/analysis-api/testData/scopes/memberScopeByFqName/withTestCompilerPluginEnabled/generatedCompanionWithFoo.txt b/analysis/analysis-api/testData/scopes/memberScopeByFqName/withTestCompilerPluginEnabled/generatedCompanionWithFoo.txt index 3ac466e3c22..3647d579529 100644 --- a/analysis/analysis-api/testData/scopes/memberScopeByFqName/withTestCompilerPluginEnabled/generatedCompanionWithFoo.txt +++ b/analysis/analysis-api/testData/scopes/memberScopeByFqName/withTestCompilerPluginEnabled/generatedCompanionWithFoo.txt @@ -47,7 +47,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Any? + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Any diff --git a/analysis/analysis-api/testData/scopes/memberScopeByFqName/withTestCompilerPluginEnabled/nestedClassAndMaterializeMember.txt b/analysis/analysis-api/testData/scopes/memberScopeByFqName/withTestCompilerPluginEnabled/nestedClassAndMaterializeMember.txt index c57b96108e1..d93298140a0 100644 --- a/analysis/analysis-api/testData/scopes/memberScopeByFqName/withTestCompilerPluginEnabled/nestedClassAndMaterializeMember.txt +++ b/analysis/analysis-api/testData/scopes/memberScopeByFqName/withTestCompilerPluginEnabled/nestedClassAndMaterializeMember.txt @@ -47,7 +47,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(other) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: other + origin: LIBRARY + receiverType: null + returnType: kotlin/Any? + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/Any diff --git a/analysis/analysis-api/testData/symbols/symbolByFqName/fileWalkDirectionEnum.descriptors.txt b/analysis/analysis-api/testData/symbols/symbolByFqName/fileWalkDirectionEnum.descriptors.txt new file mode 100644 index 00000000000..e9a39e1bc2d --- /dev/null +++ b/analysis/analysis-api/testData/symbols/symbolByFqName/fileWalkDirectionEnum.descriptors.txt @@ -0,0 +1,122 @@ +KtFunctionSymbol: + annotationsList: [] + callableIdIfNonLocal: kotlin/collections/listOf + contextReceivers: [] + hasStableParameterNames: true + isBuiltinFunctionInvoke: false + isExtension: false + isExternal: false + isInfix: false + isInline: false + isOperator: false + isOverride: false + isStatic: false + isSuspend: false + modality: FINAL + name: listOf + origin: LIBRARY + receiverType: null + returnType: kotlin/collections/List + symbolKind: TOP_LEVEL + typeParameters: [ + KtTypeParameterSymbol(T) + ] + valueParameters: [ + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: element + origin: SOURCE + receiverType: null + returnType: T + symbolKind: LOCAL + typeParameters: [] + ] + visibility: Public + getContainingModule: KtLibraryModule "Library kotlin-stdlib" + deprecationStatus: null + +KtFunctionSymbol: + annotationsList: [ + kotlin/internal/InlineOnly() + psi: null + ] + callableIdIfNonLocal: kotlin/collections/listOf + contextReceivers: [] + hasStableParameterNames: true + isBuiltinFunctionInvoke: false + isExtension: false + isExternal: false + isInfix: false + isInline: true + isOperator: false + isOverride: false + isStatic: false + isSuspend: false + modality: FINAL + name: listOf + origin: LIBRARY + receiverType: null + returnType: kotlin/collections/List + symbolKind: TOP_LEVEL + typeParameters: [ + KtTypeParameterSymbol(T) + ] + valueParameters: [] + visibility: Public + getContainingModule: KtLibraryModule "Library kotlin-stdlib" + deprecationStatus: null + +KtFunctionSymbol: + annotationsList: [] + callableIdIfNonLocal: kotlin/collections/listOf + contextReceivers: [] + hasStableParameterNames: true + isBuiltinFunctionInvoke: false + isExtension: false + isExternal: false + isInfix: false + isInline: false + isOperator: false + isOverride: false + isStatic: false + isSuspend: false + modality: FINAL + name: listOf + origin: LIBRARY + receiverType: null + returnType: kotlin/collections/List + symbolKind: TOP_LEVEL + typeParameters: [ + KtTypeParameterSymbol(T) + ] + valueParameters: [ + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: true + name: elements + origin: SOURCE + receiverType: null + returnType: T + symbolKind: LOCAL + typeParameters: [] + ] + visibility: Public + getContainingModule: KtLibraryModule "Library kotlin-stdlib" + deprecationStatus: null \ No newline at end of file diff --git a/analysis/analysis-api/testData/symbols/symbolByFqName/fileWalkDirectionEnum.txt b/analysis/analysis-api/testData/symbols/symbolByFqName/fileWalkDirectionEnum.txt index 9dc56c571fd..69499dac247 100644 --- a/analysis/analysis-api/testData/symbols/symbolByFqName/fileWalkDirectionEnum.txt +++ b/analysis/analysis-api/testData/symbols/symbolByFqName/fileWalkDirectionEnum.txt @@ -22,7 +22,23 @@ KtFunctionSymbol: KtTypeParameterSymbol(T) ] valueParameters: [ - KtValueParameterSymbol(element) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: element + origin: LIBRARY + receiverType: null + returnType: T + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getContainingModule: KtLibraryModule "Library kotlin-stdlib" @@ -83,7 +99,23 @@ KtFunctionSymbol: KtTypeParameterSymbol(T) ] valueParameters: [ - KtValueParameterSymbol(elements) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: true + name: elements + origin: LIBRARY + receiverType: null + returnType: T + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getContainingModule: KtLibraryModule "Library kotlin-stdlib" diff --git a/analysis/analysis-api/testData/symbols/symbolByFqName/memberFunction.descriptors.txt b/analysis/analysis-api/testData/symbols/symbolByFqName/memberFunction.descriptors.txt index 6efe2f36f84..9cfeb03cb13 100644 --- a/analysis/analysis-api/testData/symbols/symbolByFqName/memberFunction.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/symbolByFqName/memberFunction.descriptors.txt @@ -20,7 +20,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(index) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: index + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/collections/List diff --git a/analysis/analysis-api/testData/symbols/symbolByFqName/memberFunction.txt b/analysis/analysis-api/testData/symbols/symbolByFqName/memberFunction.txt index 171c0cb0a42..fde38f266cd 100644 --- a/analysis/analysis-api/testData/symbols/symbolByFqName/memberFunction.txt +++ b/analysis/analysis-api/testData/symbols/symbolByFqName/memberFunction.txt @@ -20,7 +20,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(index) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: index + origin: LIBRARY + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/collections/List diff --git a/analysis/analysis-api/testData/symbols/symbolByFqName/memberFunctionWithOverloads.descriptors.txt b/analysis/analysis-api/testData/symbols/symbolByFqName/memberFunctionWithOverloads.descriptors.txt index 0ef66d9db58..4907ef273c5 100644 --- a/analysis/analysis-api/testData/symbols/symbolByFqName/memberFunctionWithOverloads.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/symbolByFqName/memberFunctionWithOverloads.descriptors.txt @@ -48,7 +48,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(index) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: index + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/collections/List diff --git a/analysis/analysis-api/testData/symbols/symbolByFqName/memberFunctionWithOverloads.txt b/analysis/analysis-api/testData/symbols/symbolByFqName/memberFunctionWithOverloads.txt index fcc03043efd..ffead3ccd06 100644 --- a/analysis/analysis-api/testData/symbols/symbolByFqName/memberFunctionWithOverloads.txt +++ b/analysis/analysis-api/testData/symbols/symbolByFqName/memberFunctionWithOverloads.txt @@ -47,7 +47,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(index) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: index + origin: LIBRARY + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): kotlin/collections/List diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/annotations.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/annotations.txt index e6d9c33a45d..87fd7620e89 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/annotations.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/annotations.txt @@ -52,8 +52,40 @@ KtConstructorSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(param1) - KtValueParameterSymbol(param2) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: KtKotlinPropertySymbol(/Anno.param1) + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: param1 + origin: SOURCE + receiverType: null + returnType: kotlin/String + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: KtKotlinPropertySymbol(/Anno.param2) + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: param2 + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getContainingModule: KtSourceModule "Sources of main" diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/anonymousObject.descriptors.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/anonymousObject.descriptors.txt index 971300b8f5c..26cb69b8777 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/anonymousObject.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/anonymousObject.descriptors.txt @@ -29,7 +29,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: null contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: ERROR_TYPE + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: false @@ -77,7 +94,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /AnonymousContainer.anonymousObject contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: ERROR_TYPE + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: false diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/anonymousObject.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/anonymousObject.txt index 2061b4c266e..a0bc5e45951 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/anonymousObject.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/anonymousObject.txt @@ -29,7 +29,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: null contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: false @@ -77,7 +94,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /AnonymousContainer.anonymousObject contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: java/lang/Runnable + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: false diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/backingField.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/backingField.txt index 7b64ef120b3..d1b1d6b54c5 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/backingField.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/backingField.txt @@ -51,13 +51,45 @@ KtPropertySetterSymbol: isOverride: false modality: FINAL origin: SOURCE - parameter: KtValueParameterSymbol(value) + parameter: KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] receiverType: null returnType: kotlin/Unit symbolKind: ACCESSOR typeParameters: [] valueParameters: [ - KtValueParameterSymbol(value) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getContainingModule: KtSourceModule "Sources of main" @@ -67,7 +99,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /p contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: true + hasStableParameterNames: true + isDefault: false + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: true @@ -85,7 +134,59 @@ KtKotlinPropertySymbol: origin: SOURCE receiverType: null returnType: kotlin/Int - setter: KtPropertySetterSymbol() + setter: KtPropertySetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: true + hasStableParameterNames: true + isDefault: false + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + parameter: KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + receiverType: null + returnType: kotlin/Unit + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [ + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + ] + visibility: Public symbolKind: TOP_LEVEL typeParameters: [] visibility: Public diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/classInitializer.descriptors.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/classInitializer.descriptors.txt new file mode 100644 index 00000000000..b47cc998a0c --- /dev/null +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/classInitializer.descriptors.txt @@ -0,0 +1,79 @@ +KtKotlinPropertySymbol: + annotationsList: [] + callableIdIfNonLocal: /A.i + contextReceivers: [] + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: ERROR_TYPE + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public + hasBackingField: true + hasGetter: true + hasSetter: false + initializer: null + isConst: false + isDelegatedProperty: false + isExtension: false + isFromPrimaryConstructor: false + isLateInit: false + isOverride: false + isStatic: false + isVal: true + modality: FINAL + name: i + origin: SOURCE + receiverType: null + returnType: kotlin/Int + setter: null + symbolKind: CLASS_MEMBER + typeParameters: [] + visibility: Public + getDispatchReceiver(): A + getContainingModule: KtSourceModule "Sources of main" + deprecationStatus: null + getterDeprecationStatus: null + javaGetterName: getI + javaSetterName: null + setterDeprecationStatus: null + +KtClassInitializerSymbol: + origin: SOURCE + symbolKind: CLASS_MEMBER + getContainingModule: KtSourceModule "Sources of main" + deprecationStatus: null + +KtNamedClassOrObjectSymbol: + annotationsList: [] + classIdIfNonLocal: A + classKind: CLASS + companionObject: null + contextReceivers: [] + isData: false + isExternal: false + isFun: false + isInline: false + isInner: false + modality: FINAL + name: A + origin: SOURCE + superTypes: [ + kotlin/Any + ] + symbolKind: TOP_LEVEL + typeParameters: [] + visibility: Public + getContainingModule: KtSourceModule "Sources of main" + deprecationStatus: null \ No newline at end of file diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/classInitializer.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/classInitializer.txt index d64ed91ea65..df088df5edd 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/classInitializer.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/classInitializer.txt @@ -2,7 +2,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /A.i contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: false diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/classMembes.descriptors.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/classMembes.descriptors.txt new file mode 100644 index 00000000000..c335c6285fc --- /dev/null +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/classMembes.descriptors.txt @@ -0,0 +1,100 @@ +KtKotlinPropertySymbol: + annotationsList: [] + callableIdIfNonLocal: /A.a + contextReceivers: [] + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: ERROR_TYPE + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public + hasBackingField: true + hasGetter: true + hasSetter: false + initializer: KtConstantInitializerValue(10) + isConst: false + isDelegatedProperty: false + isExtension: false + isFromPrimaryConstructor: false + isLateInit: false + isOverride: false + isStatic: false + isVal: true + modality: FINAL + name: a + origin: SOURCE + receiverType: null + returnType: kotlin/Int + setter: null + symbolKind: CLASS_MEMBER + typeParameters: [] + visibility: Public + getDispatchReceiver(): A + getContainingModule: KtSourceModule "Sources of main" + deprecationStatus: null + getterDeprecationStatus: null + javaGetterName: getA + javaSetterName: null + setterDeprecationStatus: null + +KtFunctionSymbol: + annotationsList: [] + callableIdIfNonLocal: /A.x + contextReceivers: [] + hasStableParameterNames: true + isBuiltinFunctionInvoke: false + isExtension: false + isExternal: false + isInfix: false + isInline: false + isOperator: false + isOverride: false + isStatic: false + isSuspend: false + modality: FINAL + name: x + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: CLASS_MEMBER + typeParameters: [] + valueParameters: [] + visibility: Public + getDispatchReceiver(): A + getContainingModule: KtSourceModule "Sources of main" + deprecationStatus: null + +KtNamedClassOrObjectSymbol: + annotationsList: [] + classIdIfNonLocal: A + classKind: CLASS + companionObject: null + contextReceivers: [] + isData: false + isExternal: false + isFun: false + isInline: false + isInner: false + modality: FINAL + name: A + origin: SOURCE + superTypes: [ + kotlin/Any + ] + symbolKind: TOP_LEVEL + typeParameters: [] + visibility: Public + getContainingModule: KtSourceModule "Sources of main" + deprecationStatus: null \ No newline at end of file diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/classMembes.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/classMembes.txt index 42df463e407..f530d8dea9d 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/classMembes.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/classMembes.txt @@ -2,7 +2,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /A.a contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: false diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/classPrimaryConstructor.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/classPrimaryConstructor.txt index b42013a3a28..4a5d2eeaa11 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/classPrimaryConstructor.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/classPrimaryConstructor.txt @@ -52,8 +52,40 @@ KtConstructorSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(a) - KtValueParameterSymbol(b) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: KtKotlinPropertySymbol(/A.a) + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: a + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: b + origin: SOURCE + receiverType: null + returnType: kotlin/String + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getContainingModule: KtSourceModule "Sources of main" diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/classSecondaryConstructors.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/classSecondaryConstructors.txt index 9b06636fc82..323bdbe80f8 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/classSecondaryConstructors.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/classSecondaryConstructors.txt @@ -50,7 +50,23 @@ KtConstructorSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(x) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: x + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getContainingModule: KtSourceModule "Sources of main" @@ -110,8 +126,40 @@ KtConstructorSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(y) - KtValueParameterSymbol(z) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: y + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: z + origin: SOURCE + receiverType: null + returnType: kotlin/String + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getContainingModule: KtSourceModule "Sources of main" diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/contextReceivers/contextReceiversOnClass.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/contextReceivers/contextReceiversOnClass.txt index 8b20c2f325c..f1c5f050a75 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/contextReceivers/contextReceiversOnClass.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/contextReceivers/contextReceiversOnClass.txt @@ -32,7 +32,23 @@ KtConstructorSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(int) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: int + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getContainingModule: KtSourceModule "Sources of main" diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/contextReceivers/contextReceiversOnProperty.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/contextReceivers/contextReceiversOnProperty.txt index 9efa2606c4c..f271c487e86 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/contextReceivers/contextReceiversOnProperty.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/contextReceivers/contextReceiversOnProperty.txt @@ -26,7 +26,24 @@ KtKotlinPropertySymbol: ContextReceiver(kotlin/Int) ContextReceiver(s@kotlin/String) ] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: true + hasStableParameterNames: true + isDefault: false + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: false hasGetter: true hasSetter: false diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/delegateField.descriptors.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/delegateField.descriptors.txt new file mode 100644 index 00000000000..93fe5333459 --- /dev/null +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/delegateField.descriptors.txt @@ -0,0 +1,358 @@ +KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: KtKotlinPropertySymbol(/MyColor.x) + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: x + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + getContainingModule: KtSourceModule "Sources of main" + deprecationStatus: null + +KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: KtKotlinPropertySymbol(/MyColor.y) + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: y + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + getContainingModule: KtSourceModule "Sources of main" + deprecationStatus: null + +KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: KtKotlinPropertySymbol(/MyColor.z) + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: z + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + getContainingModule: KtSourceModule "Sources of main" + deprecationStatus: null + +KtConstructorSymbol: + annotationsList: [] + callableIdIfNonLocal: null + containingClassIdIfNonLocal: MyColor + contextReceivers: [] + hasStableParameterNames: true + isExtension: false + isPrimary: true + origin: SOURCE + receiverType: null + returnType: MyColor + symbolKind: CLASS_MEMBER + typeParameters: [] + valueParameters: [ + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: KtKotlinPropertySymbol(/MyColor.x) + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: x + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: KtKotlinPropertySymbol(/MyColor.y) + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: y + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: KtKotlinPropertySymbol(/MyColor.z) + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: z + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + ] + visibility: Public + getContainingModule: KtSourceModule "Sources of main" + deprecationStatus: null + +KtNamedClassOrObjectSymbol: + annotationsList: [] + classIdIfNonLocal: MyColor + classKind: CLASS + companionObject: null + contextReceivers: [] + isData: false + isExternal: false + isFun: false + isInline: false + isInner: false + modality: FINAL + name: MyColor + origin: SOURCE + superTypes: [ + kotlin/Any + ] + symbolKind: TOP_LEVEL + typeParameters: [] + visibility: Public + getContainingModule: KtSourceModule "Sources of main" + deprecationStatus: null + +KtAnonymousFunctionSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasStableParameterNames: true + isExtension: false + origin: SOURCE + receiverType: null + returnType: MyColor + symbolKind: LOCAL + typeParameters: [] + valueParameters: [] + getContainingModule: KtSourceModule "Sources of main" + deprecationStatus: null + +KtKotlinPropertySymbol: + annotationsList: [] + callableIdIfNonLocal: /Some.delegate + contextReceivers: [] + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: ERROR_TYPE + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public + hasBackingField: false + hasGetter: true + hasSetter: false + initializer: null + isConst: false + isDelegatedProperty: true + isExtension: false + isFromPrimaryConstructor: false + isLateInit: false + isOverride: false + isStatic: false + isVal: true + modality: FINAL + name: delegate + origin: SOURCE + receiverType: null + returnType: MyColor + setter: null + symbolKind: CLASS_MEMBER + typeParameters: [] + visibility: Public + getDispatchReceiver(): Some + getContainingModule: KtSourceModule "Sources of main" + deprecationStatus: null + getterDeprecationStatus: null + javaGetterName: getDelegate + javaSetterName: null + setterDeprecationStatus: null + +KtAnonymousFunctionSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasStableParameterNames: true + isExtension: false + origin: SOURCE + receiverType: null + returnType: MyColor + symbolKind: LOCAL + typeParameters: [] + valueParameters: [] + getContainingModule: KtSourceModule "Sources of main" + deprecationStatus: null + +KtKotlinPropertySymbol: + annotationsList: [] + callableIdIfNonLocal: /Some.lambda + contextReceivers: [] + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: ERROR_TYPE + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public + hasBackingField: true + hasGetter: true + hasSetter: false + initializer: KtNonConstantInitializerValue(lazy { MyColor(1, 2, 3) }) + isConst: false + isDelegatedProperty: false + isExtension: false + isFromPrimaryConstructor: false + isLateInit: false + isOverride: false + isStatic: false + isVal: true + modality: FINAL + name: lambda + origin: SOURCE + receiverType: null + returnType: kotlin/Lazy + setter: null + symbolKind: CLASS_MEMBER + typeParameters: [] + visibility: Public + getDispatchReceiver(): Some + getContainingModule: KtSourceModule "Sources of main" + deprecationStatus: null + getterDeprecationStatus: null + javaGetterName: getLambda + javaSetterName: null + setterDeprecationStatus: null + +KtKotlinPropertySymbol: + annotationsList: [] + callableIdIfNonLocal: /Some.nonLazy + contextReceivers: [] + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: ERROR_TYPE + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public + hasBackingField: true + hasGetter: true + hasSetter: false + initializer: KtNonConstantInitializerValue(MyColor(1, 2, 3)) + isConst: false + isDelegatedProperty: false + isExtension: false + isFromPrimaryConstructor: false + isLateInit: false + isOverride: false + isStatic: false + isVal: true + modality: FINAL + name: nonLazy + origin: SOURCE + receiverType: null + returnType: MyColor + setter: null + symbolKind: CLASS_MEMBER + typeParameters: [] + visibility: Public + getDispatchReceiver(): Some + getContainingModule: KtSourceModule "Sources of main" + deprecationStatus: null + getterDeprecationStatus: null + javaGetterName: getNonLazy + javaSetterName: null + setterDeprecationStatus: null + +KtNamedClassOrObjectSymbol: + annotationsList: [] + classIdIfNonLocal: Some + classKind: CLASS + companionObject: null + contextReceivers: [] + isData: false + isExternal: false + isFun: false + isInline: false + isInner: false + modality: FINAL + name: Some + origin: SOURCE + superTypes: [ + kotlin/Any + ] + symbolKind: TOP_LEVEL + typeParameters: [] + visibility: Public + getContainingModule: KtSourceModule "Sources of main" + deprecationStatus: null \ No newline at end of file diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/delegateField.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/delegateField.txt index e61823fd3cc..79065d2a25d 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/delegateField.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/delegateField.txt @@ -72,9 +72,57 @@ KtConstructorSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(x) - KtValueParameterSymbol(y) - KtValueParameterSymbol(z) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: KtKotlinPropertySymbol(/MyColor.x) + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: x + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: KtKotlinPropertySymbol(/MyColor.y) + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: y + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: KtKotlinPropertySymbol(/MyColor.z) + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: z + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getContainingModule: KtSourceModule "Sources of main" @@ -122,7 +170,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /Some.delegate contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: true + hasStableParameterNames: true + isDefault: false + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: MyColor + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: false hasGetter: true hasSetter: false @@ -171,7 +236,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /Some.lambda contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/Lazy + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: false @@ -205,7 +287,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /Some.nonLazy contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: MyColor + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: false diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/deprecated.descriptors.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/deprecated.descriptors.txt index 3189e326e8f..5aca3e23dca 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/deprecated.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/deprecated.descriptors.txt @@ -5,7 +5,24 @@ KtKotlinPropertySymbol: ] callableIdIfNonLocal: /i contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: ERROR_TYPE + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: false @@ -38,7 +55,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /i2 contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: ERROR_TYPE + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: false @@ -71,7 +105,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /i3 contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: ERROR_TYPE + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: true @@ -89,7 +140,59 @@ KtKotlinPropertySymbol: origin: SOURCE receiverType: null returnType: kotlin/Int - setter: KtPropertySetterSymbol() + setter: KtPropertySetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + parameter: KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SOURCE + receiverType: null + returnType: ERROR_TYPE + symbolKind: LOCAL + typeParameters: [] + receiverType: null + returnType: kotlin/Unit + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [ + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SOURCE + receiverType: null + returnType: ERROR_TYPE + symbolKind: LOCAL + typeParameters: [] + ] + visibility: Public symbolKind: TOP_LEVEL typeParameters: [] visibility: Public @@ -104,7 +207,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /i4 contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: ERROR_TYPE + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: true @@ -122,7 +242,59 @@ KtKotlinPropertySymbol: origin: SOURCE receiverType: null returnType: kotlin/Int - setter: KtPropertySetterSymbol() + setter: KtPropertySetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + parameter: KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SOURCE + receiverType: null + returnType: ERROR_TYPE + symbolKind: LOCAL + typeParameters: [] + receiverType: null + returnType: kotlin/Unit + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [ + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SOURCE + receiverType: null + returnType: ERROR_TYPE + symbolKind: LOCAL + typeParameters: [] + ] + visibility: Public symbolKind: TOP_LEVEL typeParameters: [] visibility: Public @@ -195,7 +367,24 @@ KtKotlinPropertySymbol: ] callableIdIfNonLocal: /Foo.i2 contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: ERROR_TYPE + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: false @@ -285,7 +474,24 @@ KtKotlinPropertySymbol: ] callableIdIfNonLocal: /j contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: ERROR_TYPE + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: false @@ -321,7 +527,24 @@ KtKotlinPropertySymbol: ] callableIdIfNonLocal: /j2 contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: ERROR_TYPE + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: false @@ -354,7 +577,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /j2 contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: ERROR_TYPE + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: false diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/deprecated.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/deprecated.txt index d7d31fbc7e9..3f08944ac4b 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/deprecated.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/deprecated.txt @@ -5,7 +5,24 @@ KtKotlinPropertySymbol: ] callableIdIfNonLocal: /i contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: false @@ -38,7 +55,27 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /i2 contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [ + kotlin/Deprecated(message = "don't use getter of i2") + psi: KtAnnotationEntry + ] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: false @@ -71,7 +108,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /i3 contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: true @@ -89,7 +143,62 @@ KtKotlinPropertySymbol: origin: SOURCE receiverType: null returnType: kotlin/Int - setter: KtPropertySetterSymbol() + setter: KtPropertySetterSymbol: + annotationsList: [ + kotlin/Deprecated(message = "don't use getter of i3") + psi: KtAnnotationEntry + ] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + parameter: KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + receiverType: null + returnType: kotlin/Unit + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [ + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + ] + visibility: Public symbolKind: TOP_LEVEL typeParameters: [] visibility: Public @@ -104,7 +213,27 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /i4 contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [ + kotlin/Deprecated(message = "don't use getter of i4") + psi: KtAnnotationEntry + ] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: true @@ -122,7 +251,62 @@ KtKotlinPropertySymbol: origin: SOURCE receiverType: null returnType: kotlin/Int - setter: KtPropertySetterSymbol() + setter: KtPropertySetterSymbol: + annotationsList: [ + kotlin/Deprecated(message = "don't use setter of i4") + psi: KtAnnotationEntry + ] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + parameter: KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + receiverType: null + returnType: kotlin/Unit + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [ + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + ] + visibility: Public symbolKind: TOP_LEVEL typeParameters: [] visibility: Public @@ -195,7 +379,24 @@ KtKotlinPropertySymbol: ] callableIdIfNonLocal: /Foo.i2 contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: false @@ -285,7 +486,24 @@ KtKotlinPropertySymbol: ] callableIdIfNonLocal: /j contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: false @@ -321,7 +539,24 @@ KtKotlinPropertySymbol: ] callableIdIfNonLocal: /j2 contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: false @@ -357,7 +592,24 @@ KtKotlinPropertySymbol: ] callableIdIfNonLocal: /j2 contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: false diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/destructuringDeclaration.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/destructuringDeclaration.txt index b70afb46ca2..4ed79e4df93 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/destructuringDeclaration.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/destructuringDeclaration.txt @@ -52,8 +52,40 @@ KtConstructorSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(x) - KtValueParameterSymbol(y) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: KtKotlinPropertySymbol(/P.x) + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: x + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: KtKotlinPropertySymbol(/P.y) + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: y + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getContainingModule: KtSourceModule "Sources of main" diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/dynamic.descriptors.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/dynamic.descriptors.txt new file mode 100644 index 00000000000..387233c57c2 --- /dev/null +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/dynamic.descriptors.txt @@ -0,0 +1,153 @@ +KtKotlinPropertySymbol: + annotationsList: [] + callableIdIfNonLocal: /Foo.p + contextReceivers: [] + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: ERROR_TYPE + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public + hasBackingField: true + hasGetter: true + hasSetter: false + initializer: KtConstantInitializerValue(null) + isConst: false + isDelegatedProperty: false + isExtension: false + isFromPrimaryConstructor: false + isLateInit: false + isOverride: false + isStatic: false + isVal: true + modality: FINAL + name: p + origin: SOURCE + receiverType: null + returnType: dynamic + setter: null + symbolKind: CLASS_MEMBER + typeParameters: [] + visibility: Public + getDispatchReceiver(): Foo + getContainingModule: KtSourceModule "Sources of main" + deprecationStatus: null + getterDeprecationStatus: null + javaGetterName: getP + javaSetterName: null + setterDeprecationStatus: null + +KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: p + origin: SOURCE + receiverType: null + returnType: dynamic + symbolKind: LOCAL + typeParameters: [] + getContainingModule: KtSourceModule "Sources of main" + deprecationStatus: null + +KtAnonymousFunctionSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasStableParameterNames: true + isExtension: false + origin: SOURCE + receiverType: null + returnType: dynamic + symbolKind: LOCAL + typeParameters: [] + valueParameters: [] + getContainingModule: KtSourceModule "Sources of main" + deprecationStatus: null + +KtFunctionSymbol: + annotationsList: [] + callableIdIfNonLocal: /Foo.f + contextReceivers: [] + hasStableParameterNames: true + isBuiltinFunctionInvoke: false + isExtension: false + isExternal: false + isInfix: false + isInline: false + isOperator: false + isOverride: false + isStatic: false + isSuspend: false + modality: FINAL + name: f + origin: SOURCE + receiverType: null + returnType: dynamic + symbolKind: CLASS_MEMBER + typeParameters: [] + valueParameters: [ + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: p + origin: SOURCE + receiverType: null + returnType: dynamic + symbolKind: LOCAL + typeParameters: [] + ] + visibility: Public + getDispatchReceiver(): Foo + getContainingModule: KtSourceModule "Sources of main" + deprecationStatus: null + +KtNamedClassOrObjectSymbol: + annotationsList: [] + classIdIfNonLocal: Foo + classKind: CLASS + companionObject: null + contextReceivers: [] + isData: false + isExternal: false + isFun: false + isInline: false + isInner: false + modality: FINAL + name: Foo + origin: SOURCE + superTypes: [ + kotlin/Any + ] + symbolKind: TOP_LEVEL + typeParameters: [] + visibility: Public + getContainingModule: KtSourceModule "Sources of main" + deprecationStatus: null \ No newline at end of file diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/dynamic.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/dynamic.txt index 2b216e3368c..625966b45d8 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/dynamic.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/dynamic.txt @@ -2,7 +2,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /Foo.p contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: dynamic + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: false @@ -89,7 +106,23 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: p + origin: SOURCE + receiverType: null + returnType: dynamic + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): Foo diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/enumValueMember.descriptors.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/enumValueMember.descriptors.txt index 9e2e7fbff5a..7ee0c1a213d 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/enumValueMember.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/enumValueMember.descriptors.txt @@ -32,7 +32,23 @@ KtConstructorSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(value) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: KtKotlinPropertySymbol(/Style.value) + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SOURCE + receiverType: null + returnType: kotlin/String + symbolKind: LOCAL + typeParameters: [] ] visibility: Private getContainingModule: KtSourceModule "Sources of main" @@ -64,7 +80,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: null contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: true + hasStableParameterNames: true + isDefault: false + isExtension: false + isInline: false + isOverride: true + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/String + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: false hasGetter: true hasSetter: false @@ -113,7 +146,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /Style.exitAnimation contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: ABSTRACT + origin: SOURCE + receiverType: null + returnType: ERROR_TYPE + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: false hasGetter: true hasSetter: false diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/enumValueMember.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/enumValueMember.txt index feebe4b8b58..4a5ef04adde 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/enumValueMember.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/enumValueMember.txt @@ -32,7 +32,23 @@ KtConstructorSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(value) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: KtKotlinPropertySymbol(/Style.value) + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SOURCE + receiverType: null + returnType: kotlin/String + symbolKind: LOCAL + typeParameters: [] ] visibility: Private getContainingModule: KtSourceModule "Sources of main" @@ -63,7 +79,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: null contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: true + hasStableParameterNames: true + isDefault: false + isExtension: false + isInline: false + isOverride: true + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/String + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: false hasGetter: true hasSetter: false @@ -112,7 +145,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /Style.exitAnimation contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/String + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: false hasGetter: true hasSetter: false @@ -163,4 +213,4 @@ KtNamedClassOrObjectSymbol: typeParameters: [] visibility: Public getContainingModule: KtSourceModule "Sources of main" - deprecationStatus: null + deprecationStatus: null \ No newline at end of file diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/explicitBackingField.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/explicitBackingField.txt index 7b64ef120b3..d1b1d6b54c5 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/explicitBackingField.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/explicitBackingField.txt @@ -51,13 +51,45 @@ KtPropertySetterSymbol: isOverride: false modality: FINAL origin: SOURCE - parameter: KtValueParameterSymbol(value) + parameter: KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] receiverType: null returnType: kotlin/Unit symbolKind: ACCESSOR typeParameters: [] valueParameters: [ - KtValueParameterSymbol(value) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getContainingModule: KtSourceModule "Sources of main" @@ -67,7 +99,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /p contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: true + hasStableParameterNames: true + isDefault: false + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: true @@ -85,7 +134,59 @@ KtKotlinPropertySymbol: origin: SOURCE receiverType: null returnType: kotlin/Int - setter: KtPropertySetterSymbol() + setter: KtPropertySetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: true + hasStableParameterNames: true + isDefault: false + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + parameter: KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + receiverType: null + returnType: kotlin/Unit + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [ + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + ] + visibility: Public symbolKind: TOP_LEVEL typeParameters: [] visibility: Public diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/function.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/function.txt index 87f10ca37bb..00b8c04a9bc 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/function.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/function.txt @@ -40,7 +40,23 @@ KtFunctionSymbol: symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [ - KtValueParameterSymbol(x) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: x + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getContainingModule: KtSourceModule "Sources of main" diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/functionWithTypeParams.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/functionWithTypeParams.txt index 436b2055f98..a4e0b463ebe 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/functionWithTypeParams.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/functionWithTypeParams.txt @@ -55,7 +55,23 @@ KtFunctionSymbol: KtTypeParameterSymbol(X) ] valueParameters: [ - KtValueParameterSymbol(x) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: x + origin: SOURCE + receiverType: null + returnType: X + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getContainingModule: KtSourceModule "Sources of main" diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/implicitConstructorDelegationCall.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/implicitConstructorDelegationCall.txt index 3833439f81b..f0a87fb78a9 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/implicitConstructorDelegationCall.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/implicitConstructorDelegationCall.txt @@ -32,7 +32,23 @@ KtConstructorSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(i) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: i + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getContainingModule: KtSourceModule "Sources of main" diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/implicitReturnInLambda.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/implicitReturnInLambda.txt index 08cc1445733..0001bdb0b38 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/implicitReturnInLambda.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/implicitReturnInLambda.txt @@ -45,7 +45,23 @@ KtAnonymousFunctionSymbol: symbolKind: LOCAL typeParameters: [] valueParameters: [ - KtValueParameterSymbol(a) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: a + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -112,7 +128,23 @@ KtAnonymousFunctionSymbol: symbolKind: LOCAL typeParameters: [] valueParameters: [ - KtValueParameterSymbol(a) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: a + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -159,7 +191,23 @@ KtAnonymousFunctionSymbol: symbolKind: LOCAL typeParameters: [] valueParameters: [ - KtValueParameterSymbol(it) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: true + isNoinline: false + isVararg: false + name: it + origin: SOURCE_MEMBER_GENERATED + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -232,7 +280,23 @@ KtFunctionSymbol: symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [ - KtValueParameterSymbol(lmbd) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: lmbd + origin: SOURCE + receiverType: null + returnType: kotlin/Function1 + symbolKind: LOCAL + typeParameters: [] ] visibility: Private getContainingModule: KtSourceModule "Sources of main" diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/jvmField.descriptors.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/jvmField.descriptors.txt index 3337cff7de7..2920971323f 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/jvmField.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/jvmField.descriptors.txt @@ -2,7 +2,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /jvmField contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: ERROR_TYPE + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: true @@ -20,7 +37,59 @@ KtKotlinPropertySymbol: origin: SOURCE receiverType: null returnType: kotlin/Long - setter: KtPropertySetterSymbol() + setter: KtPropertySetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + parameter: KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SOURCE + receiverType: null + returnType: ERROR_TYPE + symbolKind: LOCAL + typeParameters: [] + receiverType: null + returnType: kotlin/Unit + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [ + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SOURCE + receiverType: null + returnType: ERROR_TYPE + symbolKind: LOCAL + typeParameters: [] + ] + visibility: Public symbolKind: TOP_LEVEL typeParameters: [] visibility: Public @@ -35,7 +104,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /jvmFieldOnField contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: ERROR_TYPE + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: true @@ -53,7 +139,59 @@ KtKotlinPropertySymbol: origin: SOURCE receiverType: null returnType: kotlin/Int - setter: KtPropertySetterSymbol() + setter: KtPropertySetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + parameter: KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SOURCE + receiverType: null + returnType: ERROR_TYPE + symbolKind: LOCAL + typeParameters: [] + receiverType: null + returnType: kotlin/Unit + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [ + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SOURCE + receiverType: null + returnType: ERROR_TYPE + symbolKind: LOCAL + typeParameters: [] + ] + visibility: Public symbolKind: TOP_LEVEL typeParameters: [] visibility: Public diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/jvmField.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/jvmField.txt index cbb131deb0a..93b1559f108 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/jvmField.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/jvmField.txt @@ -5,7 +5,24 @@ KtKotlinPropertySymbol: ] callableIdIfNonLocal: /jvmField contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/Long + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: true @@ -23,7 +40,59 @@ KtKotlinPropertySymbol: origin: SOURCE receiverType: null returnType: kotlin/Long - setter: KtPropertySetterSymbol() + setter: KtPropertySetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + parameter: KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: + origin: SOURCE + receiverType: null + returnType: kotlin/Long + symbolKind: LOCAL + typeParameters: [] + receiverType: null + returnType: kotlin/Unit + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [ + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: + origin: SOURCE + receiverType: null + returnType: kotlin/Long + symbolKind: LOCAL + typeParameters: [] + ] + visibility: Public symbolKind: TOP_LEVEL typeParameters: [] visibility: Public @@ -41,7 +110,24 @@ KtKotlinPropertySymbol: ] callableIdIfNonLocal: /jvmFieldOnField contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: true @@ -59,7 +145,59 @@ KtKotlinPropertySymbol: origin: SOURCE receiverType: null returnType: kotlin/Int - setter: KtPropertySetterSymbol() + setter: KtPropertySetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + parameter: KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + receiverType: null + returnType: kotlin/Unit + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [ + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + ] + visibility: Public symbolKind: TOP_LEVEL typeParameters: [] visibility: Public diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/jvmName.descriptors.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/jvmName.descriptors.txt index 1c5ea34de50..d915a231f2a 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/jvmName.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/jvmName.descriptors.txt @@ -2,7 +2,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /Foo.i contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: ERROR_TYPE + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: true @@ -20,7 +37,59 @@ KtKotlinPropertySymbol: origin: SOURCE receiverType: null returnType: kotlin/Int - setter: KtPropertySetterSymbol() + setter: KtPropertySetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + parameter: KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SOURCE + receiverType: null + returnType: ERROR_TYPE + symbolKind: LOCAL + typeParameters: [] + receiverType: null + returnType: kotlin/Unit + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [ + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SOURCE + receiverType: null + returnType: ERROR_TYPE + symbolKind: LOCAL + typeParameters: [] + ] + visibility: Public symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public @@ -92,13 +161,45 @@ KtPropertySetterSymbol: isOverride: false modality: FINAL origin: SOURCE - parameter: KtValueParameterSymbol(value) + parameter: KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] receiverType: null returnType: kotlin/Unit symbolKind: ACCESSOR typeParameters: [] valueParameters: [ - KtValueParameterSymbol(value) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): Foo @@ -109,7 +210,27 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /Foo.j contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [ + kotlin/jvm/JvmName(name = "getMyJ") + psi: KtAnnotationEntry + ] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: true + hasStableParameterNames: true + isDefault: false + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: false hasGetter: true hasSetter: true @@ -127,7 +248,62 @@ KtKotlinPropertySymbol: origin: SOURCE receiverType: null returnType: kotlin/Int - setter: KtPropertySetterSymbol() + setter: KtPropertySetterSymbol: + annotationsList: [ + kotlin/jvm/JvmName(name = "setMyJ") + psi: KtAnnotationEntry + ] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: true + hasStableParameterNames: true + isDefault: false + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + parameter: KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + receiverType: null + returnType: kotlin/Unit + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [ + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + ] + visibility: Public symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/jvmName.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/jvmName.txt index 95d490a6430..517b630bb52 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/jvmName.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/jvmName.txt @@ -2,7 +2,27 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /Foo.i contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [ + kotlin/jvm/JvmName(name = "getMyI") + psi: KtAnnotationEntry + ] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: true @@ -20,7 +40,62 @@ KtKotlinPropertySymbol: origin: SOURCE receiverType: null returnType: kotlin/Int - setter: KtPropertySetterSymbol() + setter: KtPropertySetterSymbol: + annotationsList: [ + kotlin/jvm/JvmName(name = "setMyI") + psi: KtAnnotationEntry + ] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + parameter: KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + receiverType: null + returnType: kotlin/Unit + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [ + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + ] + visibility: Public symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public @@ -91,13 +166,45 @@ KtPropertySetterSymbol: isOverride: false modality: FINAL origin: SOURCE - parameter: KtValueParameterSymbol(value) + parameter: KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] receiverType: null returnType: kotlin/Unit symbolKind: ACCESSOR typeParameters: [] valueParameters: [ - KtValueParameterSymbol(value) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getContainingModule: KtSourceModule "Sources of main" @@ -107,7 +214,27 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /Foo.j contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [ + kotlin/jvm/JvmName(name = "getMyJ") + psi: KtAnnotationEntry + ] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: true + hasStableParameterNames: true + isDefault: false + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: false hasGetter: true hasSetter: true @@ -125,7 +252,62 @@ KtKotlinPropertySymbol: origin: SOURCE receiverType: null returnType: kotlin/Int - setter: KtPropertySetterSymbol() + setter: KtPropertySetterSymbol: + annotationsList: [ + kotlin/jvm/JvmName(name = "setMyJ") + psi: KtAnnotationEntry + ] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: true + hasStableParameterNames: true + isDefault: false + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + parameter: KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + receiverType: null + returnType: kotlin/Unit + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [ + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + ] + visibility: Public symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/memberProperties.descriptors.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/memberProperties.descriptors.txt index 48a7b995758..0d1750b501b 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/memberProperties.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/memberProperties.descriptors.txt @@ -2,7 +2,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /A.x contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: ERROR_TYPE + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: false @@ -58,7 +75,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /A.y contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: true + hasStableParameterNames: true + isDefault: false + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: kotlin/Int + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: false hasGetter: true hasSetter: false diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/memberProperties.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/memberProperties.txt index 2ea852268d0..ffa5ac28922 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/memberProperties.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/memberProperties.txt @@ -2,7 +2,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /A.x contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: false @@ -57,7 +74,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /A.y contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: true + hasStableParameterNames: true + isDefault: false + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: false hasGetter: true hasSetter: false diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/propertyWithAnnotations.descriptors.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/propertyWithAnnotations.descriptors.txt index c6c81d4acd1..645a3646405 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/propertyWithAnnotations.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/propertyWithAnnotations.descriptors.txt @@ -120,7 +120,24 @@ KtKotlinPropertySymbol: ] callableIdIfNonLocal: /prop contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: ERROR_TYPE + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: true @@ -138,7 +155,59 @@ KtKotlinPropertySymbol: origin: SOURCE receiverType: null returnType: kotlin/Int - setter: KtPropertySetterSymbol() + setter: KtPropertySetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + parameter: KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SOURCE + receiverType: null + returnType: ERROR_TYPE + symbolKind: LOCAL + typeParameters: [] + receiverType: null + returnType: kotlin/Unit + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [ + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: value + origin: SOURCE + receiverType: null + returnType: ERROR_TYPE + symbolKind: LOCAL + typeParameters: [] + ] + visibility: Public symbolKind: TOP_LEVEL typeParameters: [] visibility: Public @@ -191,7 +260,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /lazyProperty contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: ERROR_TYPE + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: false hasGetter: true hasSetter: false diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/propertyWithAnnotations.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/propertyWithAnnotations.txt index cc428d729fd..3d1e2ad2f72 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/propertyWithAnnotations.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/propertyWithAnnotations.txt @@ -122,7 +122,27 @@ KtKotlinPropertySymbol: ] callableIdIfNonLocal: /prop contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [ + GetAnnotation() + psi: KtAnnotationEntry + ] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: true @@ -140,7 +160,68 @@ KtKotlinPropertySymbol: origin: SOURCE receiverType: null returnType: kotlin/Int - setter: KtPropertySetterSymbol() + setter: KtPropertySetterSymbol: + annotationsList: [ + SetAnnotation() + psi: KtAnnotationEntry + ] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + parameter: KtValueParameterSymbol: + annotationsList: [ + SetparamAnnotation() + psi: KtAnnotationEntry + ] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + receiverType: null + returnType: kotlin/Unit + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [ + KtValueParameterSymbol: + annotationsList: [ + SetparamAnnotation() + psi: KtAnnotationEntry + ] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] + ] + visibility: Public symbolKind: TOP_LEVEL typeParameters: [] visibility: Public @@ -196,7 +277,24 @@ KtKotlinPropertySymbol: ] callableIdIfNonLocal: /lazyProperty contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: true + hasStableParameterNames: true + isDefault: false + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: false hasGetter: true hasSetter: false diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/topLevelProperties.descriptors.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/topLevelProperties.descriptors.txt index ad2aa0ff345..f1b853bcc74 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/topLevelProperties.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/topLevelProperties.descriptors.txt @@ -2,7 +2,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /x contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: ERROR_TYPE + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: false @@ -56,7 +73,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /y contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: true + hasStableParameterNames: true + isDefault: false + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: kotlin/Int + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: false hasGetter: true hasSetter: false diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/topLevelProperties.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/topLevelProperties.txt index 23e5770791e..340b9b419eb 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/topLevelProperties.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/topLevelProperties.txt @@ -2,7 +2,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /x contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: false @@ -56,7 +73,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /y contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: true + hasStableParameterNames: true + isDefault: false + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: false hasGetter: true hasSetter: false diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/typeAnnotations.descriptors.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/typeAnnotations.descriptors.txt index 07460b8ea1f..c2f855a1bf0 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/typeAnnotations.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/typeAnnotations.descriptors.txt @@ -173,7 +173,26 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(arg) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: arg + origin: SOURCE + receiverType: null + returnType: [ + Anno2() + psi: KtAnnotationEntry + ] @R|Anno2|() I + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): X @@ -184,7 +203,24 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /X.x contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: ERROR_TYPE + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: false diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/typeAnnotations.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/typeAnnotations.txt index 1493995548c..448b41ee92f 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/typeAnnotations.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/typeAnnotations.txt @@ -173,7 +173,26 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(arg) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: arg + origin: SOURCE + receiverType: null + returnType: [ + Anno2() + psi: KtAnnotationEntry + ] @R|Anno2|() I + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getDispatchReceiver(): X @@ -184,7 +203,27 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /X.x contextReceivers: [] - getter: KtPropertyGetterSymbol() + getter: KtPropertyGetterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + hasBody: false + hasStableParameterNames: true + isDefault: true + isExtension: false + isInline: false + isOverride: false + modality: FINAL + origin: SOURCE + receiverType: null + returnType: [ + Anno4() + psi: KtAnnotationEntry + ] @R|Anno4|() I + symbolKind: ACCESSOR + typeParameters: [] + valueParameters: [] + visibility: Public hasBackingField: true hasGetter: true hasSetter: false diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters/parameterInlining.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters/parameterInlining.txt index de819a8a060..6329f6101c4 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters/parameterInlining.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters/parameterInlining.txt @@ -80,10 +80,58 @@ KtFunctionSymbol: symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [ - KtValueParameterSymbol(inlineParameter) - KtValueParameterSymbol(crossinlineParameter) - KtValueParameterSymbol(noinlineParameter) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: inlineParameter + origin: SOURCE + receiverType: null + returnType: kotlin/Function0 + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: true + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: crossinlineParameter + origin: SOURCE + receiverType: null + returnType: kotlin/Function0 + symbolKind: LOCAL + typeParameters: [] + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: true + isVararg: false + name: noinlineParameter + origin: SOURCE + receiverType: null + returnType: kotlin/Function0 + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getContainingModule: KtSourceModule "Sources of main" - deprecationStatus: null + deprecationStatus: null \ No newline at end of file diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/varargFunctions.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/varargFunctions.txt index 137d0e8f312..d61f225f4f4 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/varargFunctions.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/varargFunctions.txt @@ -40,7 +40,23 @@ KtFunctionSymbol: symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [ - KtValueParameterSymbol(a) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: true + name: a + origin: SOURCE + receiverType: null + returnType: kotlin/Int + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getContainingModule: KtSourceModule "Sources of main" @@ -88,7 +104,23 @@ KtFunctionSymbol: symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [ - KtValueParameterSymbol(b) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: true + name: b + origin: SOURCE + receiverType: null + returnType: kotlin/Float? + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getContainingModule: KtSourceModule "Sources of main" @@ -136,7 +168,23 @@ KtFunctionSymbol: symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [ - KtValueParameterSymbol(c) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: true + name: c + origin: SOURCE + receiverType: null + returnType: kotlin/Any + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getContainingModule: KtSourceModule "Sources of main" @@ -184,7 +232,23 @@ KtFunctionSymbol: symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [ - KtValueParameterSymbol(d) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: true + name: d + origin: SOURCE + receiverType: null + returnType: ERROR_TYPE + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getContainingModule: KtSourceModule "Sources of main" diff --git a/analysis/analysis-api/testData/symbols/symbolByReference/constructorViaTypeAlias.txt b/analysis/analysis-api/testData/symbols/symbolByReference/constructorViaTypeAlias.txt index 146b0c090dc..8e5f52f4538 100644 --- a/analysis/analysis-api/testData/symbols/symbolByReference/constructorViaTypeAlias.txt +++ b/analysis/analysis-api/testData/symbols/symbolByReference/constructorViaTypeAlias.txt @@ -14,7 +14,23 @@ KtConstructorSymbol: KtTypeParameterSymbol(E) ] valueParameters: [ - KtValueParameterSymbol(c) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: c + origin: JAVA + receiverType: null + returnType: ft>, kotlin/collections/Collection>?> + symbolKind: LOCAL + typeParameters: [] ] visibility: Public getContainingModule: KtSdkModule "SDK jdk" diff --git a/analysis/analysis-api/testData/symbols/symbolByReference/samConstructor.txt b/analysis/analysis-api/testData/symbols/symbolByReference/samConstructor.txt index b061fba21ca..29480c5c1d1 100644 --- a/analysis/analysis-api/testData/symbols/symbolByReference/samConstructor.txt +++ b/analysis/analysis-api/testData/symbols/symbolByReference/samConstructor.txt @@ -11,7 +11,23 @@ KtSamConstructorSymbol: symbolKind: SAM_CONSTRUCTOR typeParameters: [] valueParameters: [ - KtValueParameterSymbol(function) + KtValueParameterSymbol: + annotationsList: [] + callableIdIfNonLocal: null + contextReceivers: [] + generatedPrimaryConstructorProperty: null + hasDefaultValue: false + isCrossinline: false + isExtension: false + isImplicitLambdaParameter: false + isNoinline: false + isVararg: false + name: function + origin: SAM_CONSTRUCTOR + receiverType: null + returnType: kotlin/Function0 + symbolKind: LOCAL + typeParameters: [] ] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null \ No newline at end of file