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 33c0fde2a23..86e6bdc4b42 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 @@ -16,9 +16,7 @@ import org.jetbrains.kotlin.analysis.api.contracts.description.KtContractEffectD import org.jetbrains.kotlin.analysis.api.contracts.description.renderKtContractEffectDeclaration import org.jetbrains.kotlin.analysis.api.symbols.markers.KtNamedSymbol import org.jetbrains.kotlin.analysis.api.symbols.markers.KtPossiblyNamedSymbol -import org.jetbrains.kotlin.analysis.api.types.KtClassErrorType -import org.jetbrains.kotlin.analysis.api.types.KtClassTypeQualifier -import org.jetbrains.kotlin.analysis.api.types.KtType +import org.jetbrains.kotlin.analysis.api.types.* import org.jetbrains.kotlin.analysis.project.structure.KtModule import org.jetbrains.kotlin.analysis.utils.printer.PrettyPrinter import org.jetbrains.kotlin.analysis.utils.printer.prettyPrint @@ -144,7 +142,7 @@ public class DebugSymbolRenderer( } context(KtAnalysisSession) - private fun PrettyPrinter.renderSymbolHeader(symbol: KtSymbol) { + private fun PrettyPrinter.renderSymbolHeader(symbol: Any) { val apiClass = getSymbolApiClass(symbol) append(apiClass.simpleName).append(':') } @@ -207,14 +205,24 @@ public class DebugSymbolRenderer( return } - if (typeToRender.annotations.isNotEmpty()) { - renderList(typeToRender.annotations, renderSymbolsFully = false) - append(' ') - } + renderSymbolHeader(typeToRender) + withIndent { + appendLine() + append("type: ") + when (typeToRender) { + is KtClassErrorType -> append("ERROR_TYPE") + else -> append(typeToRender.asStringForDebugging()) + } - when (typeToRender) { - is KtClassErrorType -> append("ERROR_TYPE") - else -> append(typeToRender.asStringForDebugging()) + appendLine() + append("annotationsList: ") + renderAnnotationsList(typeToRender.annotationsList) + + if (typeToRender is KtNonErrorClassType) { + appendLine() + append("ownTypeArguments: ") + renderList(typeToRender.ownTypeArguments, renderSymbolsFully = false) + } } } @@ -329,7 +337,7 @@ public class DebugSymbolRenderer( context(KtAnalysisSession) private fun PrettyPrinter.renderKtModule(ktModule: KtModule) { - val ktModuleClass = ktModule::class.allSuperclasses.filter { it in ktModuleSubclasses }.first() + val ktModuleClass = ktModule::class.allSuperclasses.first { it in ktModuleSubclasses } append("${ktModuleClass.simpleName} \"${ktModule.moduleDescription}\"") } @@ -375,8 +383,8 @@ public class DebugSymbolRenderer( renderList(value.annotations, renderSymbolsFully = false) } - private fun getSymbolApiClass(symbol: KtSymbol): KClass<*> { - var current: Class = symbol.javaClass + private fun getSymbolApiClass(symbol: Any): KClass<*> { + var current: Class<*> = symbol.javaClass while (true) { val className = current.name diff --git a/analysis/analysis-api/testData/components/callResolver/resolveCall/builderInference.descriptors.txt b/analysis/analysis-api/testData/components/callResolver/resolveCall/builderInference.descriptors.txt index f532a9d69a1..c8787ccb574 100644 --- a/analysis/analysis-api/testData/components/callResolver/resolveCall/builderInference.descriptors.txt +++ b/analysis/analysis-api/testData/components/callResolver/resolveCall/builderInference.descriptors.txt @@ -7,7 +7,15 @@ KtSuccessCallInfo: annotationsList: [] origin: SOURCE owningCallableSymbol: KtAnonymousFunctionSymbol(/) - type: test/Target + type: KtUsualClassType: + type: test/Target + annotationsList: [] + ownTypeArguments: [ + KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] + ] type = test.Target extensionReceiver = null signature = KtFunctionLikeSignature: diff --git a/analysis/analysis-api/testData/components/callResolver/resolveCall/builderInference.txt b/analysis/analysis-api/testData/components/callResolver/resolveCall/builderInference.txt index 29a3c571124..879d537c0b6 100644 --- a/analysis/analysis-api/testData/components/callResolver/resolveCall/builderInference.txt +++ b/analysis/analysis-api/testData/components/callResolver/resolveCall/builderInference.txt @@ -7,7 +7,15 @@ KtSuccessCallInfo: annotationsList: [] origin: SOURCE owningCallableSymbol: KtAnonymousFunctionSymbol(/) - type: test/Target + type: KtUsualClassType: + type: test/Target + annotationsList: [] + ownTypeArguments: [ + KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] + ] type = test.Target extensionReceiver = null signature = KtFunctionLikeSignature: diff --git a/analysis/analysis-api/testData/components/callResolver/resolveCall/compoundAssignWithArrayAccessConvention_complexReceivers.txt b/analysis/analysis-api/testData/components/callResolver/resolveCall/compoundAssignWithArrayAccessConvention_complexReceivers.txt index 6469f7ca996..dfad70da8dd 100644 --- a/analysis/analysis-api/testData/components/callResolver/resolveCall/compoundAssignWithArrayAccessConvention_complexReceivers.txt +++ b/analysis/analysis-api/testData/components/callResolver/resolveCall/compoundAssignWithArrayAccessConvention_complexReceivers.txt @@ -61,7 +61,10 @@ KtSuccessCallInfo: name: Foo origin: SOURCE superTypes: [ - kotlin/Any + KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [] diff --git a/analysis/analysis-api/testData/components/callResolver/resolveCall/javaPropertyGetter_unqualified.txt b/analysis/analysis-api/testData/components/callResolver/resolveCall/javaPropertyGetter_unqualified.txt index a849706a23f..47e3f890359 100644 --- a/analysis/analysis-api/testData/components/callResolver/resolveCall/javaPropertyGetter_unqualified.txt +++ b/analysis/analysis-api/testData/components/callResolver/resolveCall/javaPropertyGetter_unqualified.txt @@ -6,7 +6,10 @@ KtSuccessCallInfo: annotationsList: [] origin: SOURCE owningCallableSymbol: KtFunctionSymbol(/call) - type: JavaClass + type: KtUsualClassType: + type: JavaClass + annotationsList: [] + ownTypeArguments: [] type = JavaClass extensionReceiver = null signature = KtVariableLikeSignature: @@ -16,5 +19,5 @@ KtSuccessCallInfo: symbol = val foo: kotlin.Int callableIdIfNonLocal = /JavaClass.foo simpleAccess = Read: - + typeArgumentsMapping = {} \ No newline at end of file diff --git a/analysis/analysis-api/testData/components/callResolver/resolveCall/javaPropertySetter_unqualified.txt b/analysis/analysis-api/testData/components/callResolver/resolveCall/javaPropertySetter_unqualified.txt index 4f6d02c865d..2749119f2d4 100644 --- a/analysis/analysis-api/testData/components/callResolver/resolveCall/javaPropertySetter_unqualified.txt +++ b/analysis/analysis-api/testData/components/callResolver/resolveCall/javaPropertySetter_unqualified.txt @@ -6,7 +6,10 @@ KtSuccessCallInfo: annotationsList: [] origin: SOURCE owningCallableSymbol: KtFunctionSymbol(/call) - type: JavaClass + type: KtUsualClassType: + type: JavaClass + annotationsList: [] + ownTypeArguments: [] type = JavaClass extensionReceiver = null signature = KtVariableLikeSignature: diff --git a/analysis/analysis-api/testData/components/callResolver/resolveCall/kotlinPropertyGetter_unqualified.txt b/analysis/analysis-api/testData/components/callResolver/resolveCall/kotlinPropertyGetter_unqualified.txt index 7710b9470c5..a0ae2f6befe 100644 --- a/analysis/analysis-api/testData/components/callResolver/resolveCall/kotlinPropertyGetter_unqualified.txt +++ b/analysis/analysis-api/testData/components/callResolver/resolveCall/kotlinPropertyGetter_unqualified.txt @@ -6,7 +6,10 @@ KtSuccessCallInfo: annotationsList: [] origin: SOURCE owningCallableSymbol: KtFunctionSymbol(/foo) - type: A + type: KtUsualClassType: + type: A + annotationsList: [] + ownTypeArguments: [] type = A extensionReceiver = null signature = KtVariableLikeSignature: @@ -16,5 +19,5 @@ KtSuccessCallInfo: symbol = val i: kotlin.Int callableIdIfNonLocal = /A.i simpleAccess = Read: - + typeArgumentsMapping = {} \ No newline at end of file diff --git a/analysis/analysis-api/testData/components/callResolver/resolveCall/kotlinPropertySetter_unqualified.txt b/analysis/analysis-api/testData/components/callResolver/resolveCall/kotlinPropertySetter_unqualified.txt index b70f7ff8c3a..c83ff5b4f26 100644 --- a/analysis/analysis-api/testData/components/callResolver/resolveCall/kotlinPropertySetter_unqualified.txt +++ b/analysis/analysis-api/testData/components/callResolver/resolveCall/kotlinPropertySetter_unqualified.txt @@ -6,7 +6,10 @@ KtSuccessCallInfo: annotationsList: [] origin: SOURCE owningCallableSymbol: KtFunctionSymbol(/foo) - type: A + type: KtUsualClassType: + type: A + annotationsList: [] + ownTypeArguments: [] type = A extensionReceiver = null signature = KtVariableLikeSignature: diff --git a/analysis/analysis-api/testData/components/callResolver/resolveCall/postfixUnaryOperatorWithArrayAccessConvention_complexDispatcher.txt b/analysis/analysis-api/testData/components/callResolver/resolveCall/postfixUnaryOperatorWithArrayAccessConvention_complexDispatcher.txt index ee2d4750689..0d5d2ee65b8 100644 --- a/analysis/analysis-api/testData/components/callResolver/resolveCall/postfixUnaryOperatorWithArrayAccessConvention_complexDispatcher.txt +++ b/analysis/analysis-api/testData/components/callResolver/resolveCall/postfixUnaryOperatorWithArrayAccessConvention_complexDispatcher.txt @@ -54,7 +54,10 @@ KtSuccessCallInfo: name: Foo origin: SOURCE superTypes: [ - kotlin/Any + KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [] diff --git a/analysis/analysis-api/testData/components/callResolver/resolveCall/prefixUnaryOperatorWithArrayAccessConvention_complexDispatcher.txt b/analysis/analysis-api/testData/components/callResolver/resolveCall/prefixUnaryOperatorWithArrayAccessConvention_complexDispatcher.txt index bcf9854f685..e51306652b7 100644 --- a/analysis/analysis-api/testData/components/callResolver/resolveCall/prefixUnaryOperatorWithArrayAccessConvention_complexDispatcher.txt +++ b/analysis/analysis-api/testData/components/callResolver/resolveCall/prefixUnaryOperatorWithArrayAccessConvention_complexDispatcher.txt @@ -54,7 +54,10 @@ KtSuccessCallInfo: name: Foo origin: SOURCE superTypes: [ - kotlin/Any + KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [] diff --git a/analysis/analysis-api/testData/components/callResolver/resolveCall/recursiveTypeParameter.descriptors.txt b/analysis/analysis-api/testData/components/callResolver/resolveCall/recursiveTypeParameter.descriptors.txt index 5391e0e60c1..ac246177e9a 100644 --- a/analysis/analysis-api/testData/components/callResolver/resolveCall/recursiveTypeParameter.descriptors.txt +++ b/analysis/analysis-api/testData/components/callResolver/resolveCall/recursiveTypeParameter.descriptors.txt @@ -18,7 +18,10 @@ KtSuccessCallInfo: name: RunnerModule origin: SOURCE superTypes: [ - AbstractModule + KtUsualClassType: + type: AbstractModule + annotationsList: [] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [] @@ -46,4 +49,4 @@ KtSuccessCallInfo: returnType = AbstractModule.Builder<*>! symbol = builder: AbstractModule.Builder<*>! callableIdIfNonLocal = null) - } + } \ No newline at end of file diff --git a/analysis/analysis-api/testData/components/callResolver/resolveCall/recursiveTypeParameter.txt b/analysis/analysis-api/testData/components/callResolver/resolveCall/recursiveTypeParameter.txt index 8eae8b0f56c..c3e57376b7b 100644 --- a/analysis/analysis-api/testData/components/callResolver/resolveCall/recursiveTypeParameter.txt +++ b/analysis/analysis-api/testData/components/callResolver/resolveCall/recursiveTypeParameter.txt @@ -18,7 +18,10 @@ KtSuccessCallInfo: name: RunnerModule origin: SOURCE superTypes: [ - AbstractModule + KtUsualClassType: + type: AbstractModule + annotationsList: [] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [] @@ -46,4 +49,4 @@ KtSuccessCallInfo: returnType = ft, AbstractModule.Builder<*>?> symbol = builder: ft, AbstractModule.Builder<*>?> callableIdIfNonLocal = null) - } + } \ No newline at end of file diff --git a/analysis/analysis-api/testData/components/callResolver/resolveCall/smartCastImplicitDispatchReceiver.txt b/analysis/analysis-api/testData/components/callResolver/resolveCall/smartCastImplicitDispatchReceiver.txt index f12b97bbc68..0c3ae41b4c6 100644 --- a/analysis/analysis-api/testData/components/callResolver/resolveCall/smartCastImplicitDispatchReceiver.txt +++ b/analysis/analysis-api/testData/components/callResolver/resolveCall/smartCastImplicitDispatchReceiver.txt @@ -7,7 +7,10 @@ KtSuccessCallInfo: annotationsList: [] origin: SOURCE owningCallableSymbol: KtFunctionSymbol(/test) - type: kotlin/Any + type: KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] type = kotlin.Any type = kotlin.String extensionReceiver = null @@ -18,5 +21,5 @@ KtSuccessCallInfo: symbol = val length: kotlin.Int callableIdIfNonLocal = kotlin/String.length simpleAccess = Read: - + typeArgumentsMapping = {} \ No newline at end of file diff --git a/analysis/analysis-api/testData/components/callResolver/resolveCall/smartCastImplicitExtensionReceiver.txt b/analysis/analysis-api/testData/components/callResolver/resolveCall/smartCastImplicitExtensionReceiver.txt index 54e46cd9018..a56288ef6c6 100644 --- a/analysis/analysis-api/testData/components/callResolver/resolveCall/smartCastImplicitExtensionReceiver.txt +++ b/analysis/analysis-api/testData/components/callResolver/resolveCall/smartCastImplicitExtensionReceiver.txt @@ -9,7 +9,10 @@ KtSuccessCallInfo: annotationsList: [] origin: SOURCE owningCallableSymbol: KtFunctionSymbol(/test) - type: kotlin/Any + type: KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] type = kotlin.Any type = kotlin.String signature = KtFunctionLikeSignature: diff --git a/analysis/analysis-api/testData/components/callResolver/resolveCandidates/singleCandidate/builderInference.descriptors.txt b/analysis/analysis-api/testData/components/callResolver/resolveCandidates/singleCandidate/builderInference.descriptors.txt index ac2ca8fefa3..dd4a38493d3 100644 --- a/analysis/analysis-api/testData/components/callResolver/resolveCandidates/singleCandidate/builderInference.descriptors.txt +++ b/analysis/analysis-api/testData/components/callResolver/resolveCandidates/singleCandidate/builderInference.descriptors.txt @@ -7,7 +7,15 @@ KtApplicableCallCandidateInfo: annotationsList: [] origin: SOURCE owningCallableSymbol: KtAnonymousFunctionSymbol(/) - type: test/Target + type: KtUsualClassType: + type: test/Target + annotationsList: [] + ownTypeArguments: [ + KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] + ] type = test.Target extensionReceiver = null signature = KtFunctionLikeSignature: diff --git a/analysis/analysis-api/testData/components/callResolver/resolveCandidates/singleCandidate/builderInference.txt b/analysis/analysis-api/testData/components/callResolver/resolveCandidates/singleCandidate/builderInference.txt index 276953d402b..7f5a6dc699c 100644 --- a/analysis/analysis-api/testData/components/callResolver/resolveCandidates/singleCandidate/builderInference.txt +++ b/analysis/analysis-api/testData/components/callResolver/resolveCandidates/singleCandidate/builderInference.txt @@ -7,7 +7,15 @@ KtApplicableCallCandidateInfo: annotationsList: [] origin: SOURCE owningCallableSymbol: KtAnonymousFunctionSymbol(/) - type: test/Target + type: KtUsualClassType: + type: test/Target + annotationsList: [] + ownTypeArguments: [ + KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] + ] type = test.Target extensionReceiver = null signature = KtFunctionLikeSignature: @@ -32,4 +40,4 @@ KtApplicableCallCandidateInfo: symbol = t: T callableIdIfNonLocal = null) } - isInBestCandidates = true + isInBestCandidates = true \ No newline at end of file diff --git a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionExpressionBody.txt b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionExpressionBody.txt index ea35df5d0f9..163680926e9 100644 --- a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionExpressionBody.txt +++ b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionExpressionBody.txt @@ -1,2 +1,5 @@ expression: av -expected type: kotlin/String +expected type: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] diff --git a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionExpressionBodyQualified.txt b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionExpressionBodyQualified.txt index ea35df5d0f9..163680926e9 100644 --- a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionExpressionBodyQualified.txt +++ b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionExpressionBodyQualified.txt @@ -1,2 +1,5 @@ expression: av -expected type: kotlin/String +expected type: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] diff --git a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionExpressionBodyWithTypeFromRHS.txt b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionExpressionBodyWithTypeFromRHS.txt index ea35df5d0f9..163680926e9 100644 --- a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionExpressionBodyWithTypeFromRHS.txt +++ b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionExpressionBodyWithTypeFromRHS.txt @@ -1,2 +1,5 @@ expression: av -expected type: kotlin/String +expected type: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] diff --git a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionExpressionBodyWithoutExplicitType.descriptors.txt b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionExpressionBodyWithoutExplicitType.descriptors.txt new file mode 100644 index 00000000000..845a42d44d5 --- /dev/null +++ b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionExpressionBodyWithoutExplicitType.descriptors.txt @@ -0,0 +1,4 @@ +expression: av +expected type: KtTypeErrorType: + type: ERROR_TYPE + annotationsList: [] diff --git a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionExpressionBodyWithoutExplicitType.txt b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionExpressionBodyWithoutExplicitType.txt index 8178d6d745f..32f723fd837 100644 --- a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionExpressionBodyWithoutExplicitType.txt +++ b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionExpressionBodyWithoutExplicitType.txt @@ -1,2 +1,4 @@ expression: av -expected type: ERROR_TYPE +expected type: KtClassErrorType: + type: ERROR_TYPE + annotationsList: [] diff --git a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionLambdaParam.txt b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionLambdaParam.txt index 339c8a7b5d4..47731132d1e 100644 --- a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionLambdaParam.txt +++ b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionLambdaParam.txt @@ -1,2 +1,14 @@ expression: av -expected type: kotlin/Function1 +expected type: KtFunctionalType: + type: kotlin/Function1 + annotationsList: [] + ownTypeArguments: [ + KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] + KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] + ] diff --git a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionNamedlParam.txt b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionNamedlParam.txt index 2e28a9c5a9b..0f149305472 100644 --- a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionNamedlParam.txt +++ b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionNamedlParam.txt @@ -1,2 +1,5 @@ expression: av -expected type: kotlin/Boolean +expected type: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] diff --git a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionParamWithTypeParam.txt b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionParamWithTypeParam.txt index 4ded861f829..5f43334dc43 100644 --- a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionParamWithTypeParam.txt +++ b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionParamWithTypeParam.txt @@ -1,2 +1,4 @@ expression: ab -expected type: T +expected type: KtTypeParameterType: + type: T + annotationsList: [] diff --git a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionPositionalParam.txt b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionPositionalParam.txt index ea35df5d0f9..163680926e9 100644 --- a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionPositionalParam.txt +++ b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionPositionalParam.txt @@ -1,2 +1,5 @@ expression: av -expected type: kotlin/String +expected type: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] diff --git a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionPositionalParamQualified.txt b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionPositionalParamQualified.txt index ea35df5d0f9..163680926e9 100644 --- a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionPositionalParamQualified.txt +++ b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/functionPositionalParamQualified.txt @@ -1,2 +1,5 @@ expression: av -expected type: kotlin/String +expected type: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] diff --git a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/ifCondition.txt b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/ifCondition.txt index a678b7e0471..afd13cbf52f 100644 --- a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/ifCondition.txt +++ b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/ifCondition.txt @@ -1,2 +1,5 @@ expression: xy -expected type: kotlin/Boolean +expected type: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] diff --git a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/ifConditionQualified.txt b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/ifConditionQualified.txt index 10d27926d5f..775e5bbda26 100644 --- a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/ifConditionQualified.txt +++ b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/ifConditionQualified.txt @@ -1,2 +1,5 @@ expression: fdfd -expected type: kotlin/Boolean +expected type: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] diff --git a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/infixFunctionAsRegularCallParam.txt b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/infixFunctionAsRegularCallParam.txt index ea35df5d0f9..163680926e9 100644 --- a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/infixFunctionAsRegularCallParam.txt +++ b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/infixFunctionAsRegularCallParam.txt @@ -1,2 +1,5 @@ expression: av -expected type: kotlin/String +expected type: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] diff --git a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/infixFunctionParam.txt b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/infixFunctionParam.txt index ea35df5d0f9..163680926e9 100644 --- a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/infixFunctionParam.txt +++ b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/infixFunctionParam.txt @@ -1,2 +1,5 @@ expression: av -expected type: kotlin/String +expected type: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] diff --git a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/infixFunctionParamQualified.txt b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/infixFunctionParamQualified.txt index ea35df5d0f9..163680926e9 100644 --- a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/infixFunctionParamQualified.txt +++ b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/infixFunctionParamQualified.txt @@ -1,2 +1,5 @@ expression: av -expected type: kotlin/String +expected type: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] diff --git a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/lambdaWithExplicitTypeFromVariable.txt b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/lambdaWithExplicitTypeFromVariable.txt index 50fc4649fa9..e5f4bbf65da 100644 --- a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/lambdaWithExplicitTypeFromVariable.txt +++ b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/lambdaWithExplicitTypeFromVariable.txt @@ -1,4 +1,12 @@ expression: { val (a, b) = listOf(1, 2) } -expected type: kotlin/Function0 +expected type: KtFunctionalType: + type: kotlin/Function0 + annotationsList: [] + ownTypeArguments: [ + KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] + ] diff --git a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/lambdaWithoutReturnNorExplicitType.txt b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/lambdaWithoutReturnNorExplicitType.txt index 75ed7511277..881530470c5 100644 --- a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/lambdaWithoutReturnNorExplicitType.txt +++ b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/lambdaWithoutReturnNorExplicitType.txt @@ -2,4 +2,16 @@ expression: { a: Int -> val b = 1 a + b } -expected type: kotlin/Function1 +expected type: KtFunctionalType: + type: kotlin/Function1 + annotationsList: [] + ownTypeArguments: [ + KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] + KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] + ] diff --git a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclaration.txt b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclaration.txt index ea35df5d0f9..163680926e9 100644 --- a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclaration.txt +++ b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclaration.txt @@ -1,2 +1,5 @@ expression: av -expected type: kotlin/String +expected type: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] diff --git a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclarationQualified.txt b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclarationQualified.txt index ea35df5d0f9..163680926e9 100644 --- a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclarationQualified.txt +++ b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclarationQualified.txt @@ -1,2 +1,5 @@ expression: av -expected type: kotlin/String +expected type: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] diff --git a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclarationWithSafeCast.txt b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclarationWithSafeCast.txt index 9183d3de6a6..72477952bae 100644 --- a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclarationWithSafeCast.txt +++ b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclarationWithSafeCast.txt @@ -1,2 +1,5 @@ expression: p0 -expected type: kotlin/String? +expected type: KtUsualClassType: + type: kotlin/String? + annotationsList: [] + ownTypeArguments: [] diff --git a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclarationWithTypeCast.txt b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclarationWithTypeCast.txt index 32e97e38889..cc296cb4b4b 100644 --- a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclarationWithTypeCast.txt +++ b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclarationWithTypeCast.txt @@ -1,2 +1,5 @@ expression: p0 -expected type: kotlin/String +expected type: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] diff --git a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclarationWithTypeFromRHS.txt b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclarationWithTypeFromRHS.txt index ea35df5d0f9..163680926e9 100644 --- a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclarationWithTypeFromRHS.txt +++ b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclarationWithTypeFromRHS.txt @@ -1,2 +1,5 @@ expression: av -expected type: kotlin/String +expected type: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] diff --git a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclarationWithoutExplicitType.descriptors.txt b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclarationWithoutExplicitType.descriptors.txt new file mode 100644 index 00000000000..845a42d44d5 --- /dev/null +++ b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclarationWithoutExplicitType.descriptors.txt @@ -0,0 +1,4 @@ +expression: av +expected type: KtTypeErrorType: + type: ERROR_TYPE + annotationsList: [] diff --git a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclarationWithoutExplicitType.txt b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclarationWithoutExplicitType.txt index 8178d6d745f..32f723fd837 100644 --- a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclarationWithoutExplicitType.txt +++ b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/propertyDeclarationWithoutExplicitType.txt @@ -1,2 +1,4 @@ expression: av -expected type: ERROR_TYPE +expected type: KtClassErrorType: + type: ERROR_TYPE + annotationsList: [] diff --git a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/returnFromFunction.txt b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/returnFromFunction.txt index 107d52caf55..ea5652b8333 100644 --- a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/returnFromFunction.txt +++ b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/returnFromFunction.txt @@ -1,2 +1,5 @@ expression: a -expected type: kotlin/Int +expected type: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] diff --git a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/returnFromFunctionQualifiedSelector.txt b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/returnFromFunctionQualifiedSelector.txt index 107d52caf55..ea5652b8333 100644 --- a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/returnFromFunctionQualifiedSelector.txt +++ b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/returnFromFunctionQualifiedSelector.txt @@ -1,2 +1,5 @@ expression: a -expected type: kotlin/Int +expected type: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] diff --git a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/returnFromLambda.txt b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/returnFromLambda.txt index 98bb8cb4c8f..dc6882f53e6 100644 --- a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/returnFromLambda.txt +++ b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/returnFromLambda.txt @@ -1,2 +1,5 @@ expression: fd -expected type: kotlin/Int +expected type: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] diff --git a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/sam.txt b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/sam.txt index 1fc83cdbcef..4557cc56d5b 100644 --- a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/sam.txt +++ b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/sam.txt @@ -1,2 +1,5 @@ expression: { /* SAM */ } -expected type: java/lang/Runnable +expected type: KtUsualClassType: + type: java/lang/Runnable + annotationsList: [] + ownTypeArguments: [] diff --git a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samAsArgument.txt b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samAsArgument.txt index eab63033e57..75ab581e77e 100644 --- a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samAsArgument.txt +++ b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samAsArgument.txt @@ -1,2 +1,5 @@ expression: { /* Argument */ } -expected type: java/lang/Runnable +expected type: KtUsualClassType: + type: java/lang/Runnable + annotationsList: [] + ownTypeArguments: [] diff --git a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samAsConstructorArgument.txt b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samAsConstructorArgument.txt index 1c845125d07..7a1d4158d9b 100644 --- a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samAsConstructorArgument.txt +++ b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samAsConstructorArgument.txt @@ -1,2 +1,4 @@ expression: { println("hello1") } -expected type: java/lang/Runnable! +expected type: KtFlexibleType: + type: java/lang/Runnable! + annotationsList: [] diff --git a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samAsReturn.txt b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samAsReturn.txt index 05e4e353a0c..0a328ef6fc8 100644 --- a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samAsReturn.txt +++ b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samAsReturn.txt @@ -1,2 +1,5 @@ expression: { /* Return */ } -expected type: java/lang/Runnable +expected type: KtUsualClassType: + type: java/lang/Runnable + annotationsList: [] + ownTypeArguments: [] diff --git a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samReferenceAsArgument.txt b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samReferenceAsArgument.txt index a2550e63c46..ba4b94c2ccb 100644 --- a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samReferenceAsArgument.txt +++ b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samReferenceAsArgument.txt @@ -1,2 +1,5 @@ expression: ::dummy -expected type: java/lang/Runnable +expected type: KtUsualClassType: + type: java/lang/Runnable + annotationsList: [] + ownTypeArguments: [] diff --git a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samReferenceAsVararg.txt b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samReferenceAsVararg.txt index a2550e63c46..ba4b94c2ccb 100644 --- a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samReferenceAsVararg.txt +++ b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samReferenceAsVararg.txt @@ -1,2 +1,5 @@ expression: ::dummy -expected type: java/lang/Runnable +expected type: KtUsualClassType: + type: java/lang/Runnable + annotationsList: [] + ownTypeArguments: [] diff --git a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samReferenceWithTypeCast.txt b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samReferenceWithTypeCast.txt index a2550e63c46..ba4b94c2ccb 100644 --- a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samReferenceWithTypeCast.txt +++ b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samReferenceWithTypeCast.txt @@ -1,2 +1,5 @@ expression: ::dummy -expected type: java/lang/Runnable +expected type: KtUsualClassType: + type: java/lang/Runnable + annotationsList: [] + ownTypeArguments: [] diff --git a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samWithExplicitTypeFromProperty.txt b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samWithExplicitTypeFromProperty.txt index 1e66890fae8..acbb4033884 100644 --- a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samWithExplicitTypeFromProperty.txt +++ b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samWithExplicitTypeFromProperty.txt @@ -1,2 +1,5 @@ expression: { /* Variable */ } -expected type: java/lang/Runnable +expected type: KtUsualClassType: + type: java/lang/Runnable + annotationsList: [] + ownTypeArguments: [] diff --git a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samWithReturnToExplicitLabel.txt b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samWithReturnToExplicitLabel.txt index ec3346955b6..f45071a5ad1 100644 --- a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samWithReturnToExplicitLabel.txt +++ b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samWithReturnToExplicitLabel.txt @@ -1,2 +1,5 @@ expression: { return@l } -expected type: java/lang/Runnable +expected type: KtUsualClassType: + type: java/lang/Runnable + annotationsList: [] + ownTypeArguments: [] diff --git a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samWithReturnToImplicitLabel.txt b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samWithReturnToImplicitLabel.txt index 6abaf5a8a3e..a6d7c915e1e 100644 --- a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samWithReturnToImplicitLabel.txt +++ b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samWithReturnToImplicitLabel.txt @@ -1,2 +1,5 @@ expression: { return@Runnable } -expected type: java/lang/Runnable +expected type: KtUsualClassType: + type: java/lang/Runnable + annotationsList: [] + ownTypeArguments: [] diff --git a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samWithTypeCast.txt b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samWithTypeCast.txt index ffa555f7a29..0853fd9eaff 100644 --- a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samWithTypeCast.txt +++ b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/samWithTypeCast.txt @@ -1,2 +1,5 @@ expression: { /* Type Cast */ } -expected type: java/lang/Runnable +expected type: KtUsualClassType: + type: java/lang/Runnable + annotationsList: [] + ownTypeArguments: [] diff --git a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/variableAssignment.txt b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/variableAssignment.txt index 4937dc665e7..ed137379ff2 100644 --- a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/variableAssignment.txt +++ b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/variableAssignment.txt @@ -1,2 +1,5 @@ expression: av -expected type: kotlin/Int +expected type: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] diff --git a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/variableAssignmentQualified.txt b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/variableAssignmentQualified.txt index 4937dc665e7..ed137379ff2 100644 --- a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/variableAssignmentQualified.txt +++ b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/variableAssignmentQualified.txt @@ -1,2 +1,5 @@ expression: av -expected type: kotlin/Int +expected type: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] diff --git a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/whileCondition.txt b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/whileCondition.txt index a678b7e0471..afd13cbf52f 100644 --- a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/whileCondition.txt +++ b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/whileCondition.txt @@ -1,2 +1,5 @@ expression: xy -expected type: kotlin/Boolean +expected type: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] diff --git a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/whileConditionQualified.txt b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/whileConditionQualified.txt index 10d27926d5f..775e5bbda26 100644 --- a/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/whileConditionQualified.txt +++ b/analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/whileConditionQualified.txt @@ -1,2 +1,5 @@ expression: fdfd -expected type: kotlin/Boolean +expected type: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] diff --git a/analysis/analysis-api/testData/components/scopeProvider/typeScope/innerClassTypeParamsSubstitution.txt b/analysis/analysis-api/testData/components/scopeProvider/typeScope/innerClassTypeParamsSubstitution.txt index 85b4a7f0399..5f506408e7f 100644 --- a/analysis/analysis-api/testData/components/scopeProvider/typeScope/innerClassTypeParamsSubstitution.txt +++ b/analysis/analysis-api/testData/components/scopeProvider/typeScope/innerClassTypeParamsSubstitution.txt @@ -80,7 +80,25 @@ KtFunctionSymbol: name: foo origin: SOURCE receiverParameter: null - returnType: kotlin/collections/Map> + returnType: KtUsualClassType: + type: kotlin/collections/Map> + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: X + annotationsList: [] + KtUsualClassType: + type: kotlin/collections/Map + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: Y + annotationsList: [] + KtTypeParameterType: + type: O + annotationsList: [] + ] + ] symbolKind: CLASS_MEMBER typeParameters: [ KtTypeParameterSymbol(Y) @@ -100,7 +118,9 @@ KtFunctionSymbol: name: x origin: SOURCE receiverParameter: null - returnType: X + returnType: KtTypeParameterType: + type: X + annotationsList: [] symbolKind: LOCAL typeParameters: [] KtValueParameterSymbol: @@ -117,7 +137,9 @@ KtFunctionSymbol: name: y origin: SOURCE receiverParameter: null - returnType: Y + returnType: KtTypeParameterType: + type: Y + annotationsList: [] symbolKind: LOCAL typeParameters: [] ] @@ -139,7 +161,17 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/collections/Map + returnType: KtUsualClassType: + type: kotlin/collections/Map + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: X + annotationsList: [] + KtTypeParameterType: + type: O + annotationsList: [] + ] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -160,7 +192,17 @@ KtKotlinPropertySymbol: name: map origin: SOURCE receiverParameter: null - returnType: kotlin/collections/Map + returnType: KtUsualClassType: + type: kotlin/collections/Map + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: X + annotationsList: [] + KtTypeParameterType: + type: O + annotationsList: [] + ] setter: null symbolKind: CLASS_MEMBER typeParameters: [] @@ -184,7 +226,9 @@ KtFunctionSymbol: name: fromSuper origin: SUBSTITUTION_OVERRIDE receiverParameter: null - returnType: O + returnType: KtTypeParameterType: + type: O + annotationsList: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] @@ -208,7 +252,10 @@ KtFunctionSymbol: name: equals origin: LIBRARY receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -226,7 +273,10 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Any? + returnType: KtUsualClassType: + type: kotlin/Any? + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] ] @@ -250,7 +300,10 @@ KtFunctionSymbol: name: hashCode origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] @@ -274,7 +327,10 @@ KtFunctionSymbol: name: toString origin: LIBRARY receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] diff --git a/analysis/analysis-api/testData/components/scopeProvider/typeScope/intList.txt b/analysis/analysis-api/testData/components/scopeProvider/typeScope/intList.txt index 58c30cc4282..ea2805342a7 100644 --- a/analysis/analysis-api/testData/components/scopeProvider/typeScope/intList.txt +++ b/analysis/analysis-api/testData/components/scopeProvider/typeScope/intList.txt @@ -170,7 +170,10 @@ KtFunctionSymbol: name: contains origin: LIBRARY receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -188,7 +191,9 @@ KtFunctionSymbol: name: element origin: LIBRARY receiverParameter: null - returnType: E + returnType: KtTypeParameterType: + type: E + annotationsList: [] symbolKind: LOCAL typeParameters: [] ] @@ -212,7 +217,10 @@ KtFunctionSymbol: name: containsAll origin: LIBRARY receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -230,7 +238,14 @@ KtFunctionSymbol: name: elements origin: LIBRARY receiverParameter: null - returnType: kotlin/collections/Collection + returnType: KtUsualClassType: + type: kotlin/collections/Collection + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] symbolKind: LOCAL typeParameters: [] ] @@ -254,7 +269,9 @@ KtFunctionSymbol: name: get origin: LIBRARY receiverParameter: null - returnType: E + returnType: KtTypeParameterType: + type: E + annotationsList: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -272,7 +289,10 @@ KtFunctionSymbol: name: index origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] ] @@ -296,7 +316,10 @@ KtFunctionSymbol: name: indexOf origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -314,7 +337,9 @@ KtFunctionSymbol: name: element origin: LIBRARY receiverParameter: null - returnType: E + returnType: KtTypeParameterType: + type: E + annotationsList: [] symbolKind: LOCAL typeParameters: [] ] @@ -338,7 +363,10 @@ KtFunctionSymbol: name: isEmpty origin: LIBRARY receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] @@ -362,7 +390,14 @@ KtFunctionSymbol: name: iterator origin: LIBRARY receiverParameter: null - returnType: kotlin/collections/Iterator + returnType: KtUsualClassType: + type: kotlin/collections/Iterator + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] @@ -386,7 +421,10 @@ KtFunctionSymbol: name: lastIndexOf origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -404,7 +442,9 @@ KtFunctionSymbol: name: element origin: LIBRARY receiverParameter: null - returnType: E + returnType: KtTypeParameterType: + type: E + annotationsList: [] symbolKind: LOCAL typeParameters: [] ] @@ -428,7 +468,14 @@ KtFunctionSymbol: name: listIterator origin: LIBRARY receiverParameter: null - returnType: kotlin/collections/ListIterator + returnType: KtUsualClassType: + type: kotlin/collections/ListIterator + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] @@ -452,7 +499,14 @@ KtFunctionSymbol: name: listIterator origin: LIBRARY receiverParameter: null - returnType: kotlin/collections/ListIterator + returnType: KtUsualClassType: + type: kotlin/collections/ListIterator + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -470,7 +524,10 @@ KtFunctionSymbol: name: index origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] ] @@ -494,7 +551,14 @@ KtFunctionSymbol: name: subList origin: LIBRARY receiverParameter: null - returnType: kotlin/collections/List + returnType: KtUsualClassType: + type: kotlin/collections/List + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -512,7 +576,10 @@ KtFunctionSymbol: name: fromIndex origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] KtValueParameterSymbol: @@ -529,7 +596,10 @@ KtFunctionSymbol: name: toIndex origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] ] @@ -551,7 +621,10 @@ KtKotlinPropertySymbol: modality: ABSTRACT origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -572,7 +645,10 @@ KtKotlinPropertySymbol: name: size origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] @@ -596,7 +672,10 @@ KtFunctionSymbol: name: equals origin: LIBRARY receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -614,7 +693,10 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Any? + returnType: KtUsualClassType: + type: kotlin/Any? + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] ] @@ -638,7 +720,10 @@ KtFunctionSymbol: name: hashCode origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] @@ -662,7 +747,10 @@ KtFunctionSymbol: name: toString origin: LIBRARY receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] diff --git a/analysis/analysis-api/testData/components/scopeProvider/typeScope/outerClassTypeParamsSubstitution.txt b/analysis/analysis-api/testData/components/scopeProvider/typeScope/outerClassTypeParamsSubstitution.txt index b8d5c103fdc..0120087f632 100644 --- a/analysis/analysis-api/testData/components/scopeProvider/typeScope/outerClassTypeParamsSubstitution.txt +++ b/analysis/analysis-api/testData/components/scopeProvider/typeScope/outerClassTypeParamsSubstitution.txt @@ -74,7 +74,25 @@ KtFunctionSymbol: name: foo origin: SOURCE receiverParameter: null - returnType: kotlin/collections/Map> + returnType: KtUsualClassType: + type: kotlin/collections/Map> + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: X + annotationsList: [] + KtUsualClassType: + type: kotlin/collections/Map + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: Y + annotationsList: [] + KtTypeParameterType: + type: O + annotationsList: [] + ] + ] symbolKind: CLASS_MEMBER typeParameters: [ KtTypeParameterSymbol(Y) @@ -94,7 +112,9 @@ KtFunctionSymbol: name: x origin: SOURCE receiverParameter: null - returnType: X + returnType: KtTypeParameterType: + type: X + annotationsList: [] symbolKind: LOCAL typeParameters: [] KtValueParameterSymbol: @@ -111,7 +131,9 @@ KtFunctionSymbol: name: y origin: SOURCE receiverParameter: null - returnType: Y + returnType: KtTypeParameterType: + type: Y + annotationsList: [] symbolKind: LOCAL typeParameters: [] ] @@ -133,7 +155,17 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/collections/Map + returnType: KtUsualClassType: + type: kotlin/collections/Map + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: X + annotationsList: [] + KtTypeParameterType: + type: O + annotationsList: [] + ] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -154,7 +186,17 @@ KtKotlinPropertySymbol: name: map origin: SOURCE receiverParameter: null - returnType: kotlin/collections/Map + returnType: KtUsualClassType: + type: kotlin/collections/Map + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: X + annotationsList: [] + KtTypeParameterType: + type: O + annotationsList: [] + ] setter: null symbolKind: CLASS_MEMBER typeParameters: [] @@ -178,7 +220,10 @@ KtFunctionSymbol: name: equals origin: LIBRARY receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -196,7 +241,10 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Any? + returnType: KtUsualClassType: + type: kotlin/Any? + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] ] @@ -220,7 +268,10 @@ KtFunctionSymbol: name: hashCode origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] @@ -244,7 +295,10 @@ KtFunctionSymbol: name: toString origin: LIBRARY receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] diff --git a/analysis/analysis-api/testData/components/scopeProvider/typeScope/outerTypeParamsSubstitution.txt b/analysis/analysis-api/testData/components/scopeProvider/typeScope/outerTypeParamsSubstitution.txt index f4a8cc21e23..3d71a2c490f 100644 --- a/analysis/analysis-api/testData/components/scopeProvider/typeScope/outerTypeParamsSubstitution.txt +++ b/analysis/analysis-api/testData/components/scopeProvider/typeScope/outerTypeParamsSubstitution.txt @@ -74,7 +74,17 @@ KtFunctionSymbol: name: foo origin: SOURCE receiverParameter: null - returnType: kotlin/collections/Map + returnType: KtUsualClassType: + type: kotlin/collections/Map + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: X + annotationsList: [] + KtTypeParameterType: + type: Y + annotationsList: [] + ] symbolKind: CLASS_MEMBER typeParameters: [ KtTypeParameterSymbol(Y) @@ -94,7 +104,9 @@ KtFunctionSymbol: name: x origin: SOURCE receiverParameter: null - returnType: X + returnType: KtTypeParameterType: + type: X + annotationsList: [] symbolKind: LOCAL typeParameters: [] KtValueParameterSymbol: @@ -111,7 +123,9 @@ KtFunctionSymbol: name: y origin: SOURCE receiverParameter: null - returnType: Y + returnType: KtTypeParameterType: + type: Y + annotationsList: [] symbolKind: LOCAL typeParameters: [] ] @@ -133,7 +147,18 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/collections/Map + returnType: KtUsualClassType: + type: kotlin/collections/Map + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: X + annotationsList: [] + KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] + ] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -154,7 +179,18 @@ KtKotlinPropertySymbol: name: map origin: SOURCE receiverParameter: null - returnType: kotlin/collections/Map + returnType: KtUsualClassType: + type: kotlin/collections/Map + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: X + annotationsList: [] + KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] + ] setter: null symbolKind: CLASS_MEMBER typeParameters: [] @@ -178,7 +214,10 @@ KtFunctionSymbol: name: equals origin: LIBRARY receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -196,7 +235,10 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Any? + returnType: KtUsualClassType: + type: kotlin/Any? + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] ] @@ -220,7 +262,10 @@ KtFunctionSymbol: name: hashCode origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] @@ -244,7 +289,10 @@ KtFunctionSymbol: name: toString origin: LIBRARY receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] diff --git a/analysis/analysis-api/testData/components/scopeProvider/typeScope/typeParamList.txt b/analysis/analysis-api/testData/components/scopeProvider/typeScope/typeParamList.txt index 421d7909996..8258083bb67 100644 --- a/analysis/analysis-api/testData/components/scopeProvider/typeScope/typeParamList.txt +++ b/analysis/analysis-api/testData/components/scopeProvider/typeScope/typeParamList.txt @@ -170,7 +170,10 @@ KtFunctionSymbol: name: contains origin: LIBRARY receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -188,7 +191,9 @@ KtFunctionSymbol: name: element origin: LIBRARY receiverParameter: null - returnType: E + returnType: KtTypeParameterType: + type: E + annotationsList: [] symbolKind: LOCAL typeParameters: [] ] @@ -212,7 +217,10 @@ KtFunctionSymbol: name: containsAll origin: LIBRARY receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -230,7 +238,14 @@ KtFunctionSymbol: name: elements origin: LIBRARY receiverParameter: null - returnType: kotlin/collections/Collection + returnType: KtUsualClassType: + type: kotlin/collections/Collection + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] symbolKind: LOCAL typeParameters: [] ] @@ -254,7 +269,9 @@ KtFunctionSymbol: name: get origin: LIBRARY receiverParameter: null - returnType: E + returnType: KtTypeParameterType: + type: E + annotationsList: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -272,7 +289,10 @@ KtFunctionSymbol: name: index origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] ] @@ -296,7 +316,10 @@ KtFunctionSymbol: name: indexOf origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -314,7 +337,9 @@ KtFunctionSymbol: name: element origin: LIBRARY receiverParameter: null - returnType: E + returnType: KtTypeParameterType: + type: E + annotationsList: [] symbolKind: LOCAL typeParameters: [] ] @@ -338,7 +363,10 @@ KtFunctionSymbol: name: isEmpty origin: LIBRARY receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] @@ -362,7 +390,14 @@ KtFunctionSymbol: name: iterator origin: LIBRARY receiverParameter: null - returnType: kotlin/collections/Iterator + returnType: KtUsualClassType: + type: kotlin/collections/Iterator + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] @@ -386,7 +421,10 @@ KtFunctionSymbol: name: lastIndexOf origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -404,7 +442,9 @@ KtFunctionSymbol: name: element origin: LIBRARY receiverParameter: null - returnType: E + returnType: KtTypeParameterType: + type: E + annotationsList: [] symbolKind: LOCAL typeParameters: [] ] @@ -428,7 +468,14 @@ KtFunctionSymbol: name: listIterator origin: LIBRARY receiverParameter: null - returnType: kotlin/collections/ListIterator + returnType: KtUsualClassType: + type: kotlin/collections/ListIterator + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] @@ -452,7 +499,14 @@ KtFunctionSymbol: name: listIterator origin: LIBRARY receiverParameter: null - returnType: kotlin/collections/ListIterator + returnType: KtUsualClassType: + type: kotlin/collections/ListIterator + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -470,7 +524,10 @@ KtFunctionSymbol: name: index origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] ] @@ -494,7 +551,14 @@ KtFunctionSymbol: name: subList origin: LIBRARY receiverParameter: null - returnType: kotlin/collections/List + returnType: KtUsualClassType: + type: kotlin/collections/List + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -512,7 +576,10 @@ KtFunctionSymbol: name: fromIndex origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] KtValueParameterSymbol: @@ -529,7 +596,10 @@ KtFunctionSymbol: name: toIndex origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] ] @@ -551,7 +621,10 @@ KtKotlinPropertySymbol: modality: ABSTRACT origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -572,7 +645,10 @@ KtKotlinPropertySymbol: name: size origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] @@ -596,7 +672,10 @@ KtFunctionSymbol: name: equals origin: LIBRARY receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -614,7 +693,10 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Any? + returnType: KtUsualClassType: + type: kotlin/Any? + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] ] @@ -638,7 +720,10 @@ KtFunctionSymbol: name: hashCode origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] @@ -662,7 +747,10 @@ KtFunctionSymbol: name: toString origin: LIBRARY receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] diff --git a/analysis/analysis-api/testData/scopes/delegatedMemberScope/propertyWithGetter.descriptors.txt b/analysis/analysis-api/testData/scopes/delegatedMemberScope/propertyWithGetter.descriptors.txt index ca954071572..35b652ffef3 100644 --- a/analysis/analysis-api/testData/scopes/delegatedMemberScope/propertyWithGetter.descriptors.txt +++ b/analysis/analysis-api/testData/scopes/delegatedMemberScope/propertyWithGetter.descriptors.txt @@ -15,12 +15,18 @@ KtKotlinPropertySymbol: modality: OPEN origin: DELEGATED receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): A + getDispatchReceiver(): KtUsualClassType: + type: A + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: false @@ -39,12 +45,18 @@ KtKotlinPropertySymbol: name: foo origin: DELEGATED receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): A + getDispatchReceiver(): KtUsualClassType: + type: A + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null diff --git a/analysis/analysis-api/testData/scopes/delegatedMemberScope/propertyWithGetter.txt b/analysis/analysis-api/testData/scopes/delegatedMemberScope/propertyWithGetter.txt index 5f31eb7c9d8..e3dd9c3ea22 100644 --- a/analysis/analysis-api/testData/scopes/delegatedMemberScope/propertyWithGetter.txt +++ b/analysis/analysis-api/testData/scopes/delegatedMemberScope/propertyWithGetter.txt @@ -19,12 +19,18 @@ KtKotlinPropertySymbol: name: foo origin: DELEGATED receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): A + getDispatchReceiver(): KtUsualClassType: + type: A + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null diff --git a/analysis/analysis-api/testData/scopes/delegatedMemberScope/simple.descriptors.txt b/analysis/analysis-api/testData/scopes/delegatedMemberScope/simple.descriptors.txt index a5d141fc566..84a420f116d 100644 --- a/analysis/analysis-api/testData/scopes/delegatedMemberScope/simple.descriptors.txt +++ b/analysis/analysis-api/testData/scopes/delegatedMemberScope/simple.descriptors.txt @@ -18,15 +18,24 @@ KtKotlinPropertySymbol: annotationsList: [] origin: SOURCE owningCallableSymbol: KtKotlinPropertySymbol(/I.zoo) - type: kotlin/Int + type: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): A + getDispatchReceiver(): KtUsualClassType: + type: A + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: false @@ -48,10 +57,16 @@ KtKotlinPropertySymbol: annotationsList: [] origin: SOURCE owningCallableSymbol: KtKotlinPropertySymbol(/I.zoo) - type: kotlin/Int + type: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] setter: KtPropertySetterSymbol: annotationsList: [] callableIdIfNonLocal: null @@ -78,7 +93,10 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -87,10 +105,16 @@ KtKotlinPropertySymbol: annotationsList: [] origin: SOURCE owningCallableSymbol: KtKotlinPropertySymbol(/I.zoo) - type: kotlin/Int + type: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [ @@ -108,20 +132,29 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): A + getDispatchReceiver(): KtUsualClassType: + type: A + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): A + getDispatchReceiver(): KtUsualClassType: + type: A + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -148,12 +181,18 @@ KtFunctionSymbol: name: foo origin: DELEGATED receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): A + getDispatchReceiver(): KtUsualClassType: + type: A + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -179,15 +218,24 @@ KtFunctionSymbol: annotationsList: [] origin: SOURCE owningCallableSymbol: KtFunctionSymbol(/I.smth) - type: kotlin/Int + type: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null - returnType: kotlin/Short + returnType: KtUsualClassType: + type: kotlin/Short + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): A + getDispatchReceiver(): KtUsualClassType: + type: A + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -208,12 +256,18 @@ KtKotlinPropertySymbol: modality: OPEN origin: DELEGATED receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): A + getDispatchReceiver(): KtUsualClassType: + type: A + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: false @@ -232,12 +286,18 @@ KtKotlinPropertySymbol: name: foo origin: DELEGATED receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): A + getDispatchReceiver(): KtUsualClassType: + type: A + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -262,12 +322,18 @@ KtKotlinPropertySymbol: modality: OPEN origin: DELEGATED receiverParameter: null - returnType: kotlin/Long + returnType: KtUsualClassType: + type: kotlin/Long + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): A + getDispatchReceiver(): KtUsualClassType: + type: A + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: false @@ -286,7 +352,10 @@ KtKotlinPropertySymbol: name: bar origin: DELEGATED receiverParameter: null - returnType: kotlin/Long + returnType: KtUsualClassType: + type: kotlin/Long + annotationsList: [] + ownTypeArguments: [] setter: KtPropertySetterSymbol: annotationsList: [] callableIdIfNonLocal: null @@ -313,13 +382,19 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/Long + returnType: KtUsualClassType: + type: kotlin/Long + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [ @@ -337,20 +412,29 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/Long + returnType: KtUsualClassType: + type: kotlin/Long + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): A + getDispatchReceiver(): KtUsualClassType: + type: A + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): A + getDispatchReceiver(): KtUsualClassType: + type: A + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -378,15 +462,24 @@ KtKotlinPropertySymbol: annotationsList: [] origin: SOURCE owningCallableSymbol: KtKotlinPropertySymbol(/I.doo) - type: kotlin/Int + type: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): A + getDispatchReceiver(): KtUsualClassType: + type: A + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: false @@ -408,15 +501,24 @@ KtKotlinPropertySymbol: annotationsList: [] origin: SOURCE owningCallableSymbol: KtKotlinPropertySymbol(/I.doo) - type: kotlin/Int + type: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): A + getDispatchReceiver(): KtUsualClassType: + type: A + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null diff --git a/analysis/analysis-api/testData/scopes/delegatedMemberScope/simple.txt b/analysis/analysis-api/testData/scopes/delegatedMemberScope/simple.txt index 44be3dc36e6..5b1aaf336cb 100644 --- a/analysis/analysis-api/testData/scopes/delegatedMemberScope/simple.txt +++ b/analysis/analysis-api/testData/scopes/delegatedMemberScope/simple.txt @@ -22,15 +22,24 @@ KtKotlinPropertySymbol: annotationsList: [] origin: DELEGATED owningCallableSymbol: KtKotlinPropertySymbol(/I.zoo) - type: kotlin/Int + type: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): A + getDispatchReceiver(): KtUsualClassType: + type: A + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -57,12 +66,18 @@ KtFunctionSymbol: name: foo origin: DELEGATED receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): A + getDispatchReceiver(): KtUsualClassType: + type: A + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -87,12 +102,18 @@ KtKotlinPropertySymbol: name: foo origin: DELEGATED receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): A + getDispatchReceiver(): KtUsualClassType: + type: A + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -122,15 +143,24 @@ KtFunctionSymbol: annotationsList: [] origin: DELEGATED owningCallableSymbol: KtFunctionSymbol(/I.smth) - type: kotlin/Int + type: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null - returnType: kotlin/Short + returnType: KtUsualClassType: + type: kotlin/Short + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): A + getDispatchReceiver(): KtUsualClassType: + type: A + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -155,12 +185,18 @@ KtKotlinPropertySymbol: name: bar origin: DELEGATED receiverParameter: null - returnType: kotlin/Long + returnType: KtUsualClassType: + type: kotlin/Long + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): A + getDispatchReceiver(): KtUsualClassType: + type: A + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -192,15 +228,24 @@ KtKotlinPropertySymbol: annotationsList: [] origin: DELEGATED owningCallableSymbol: KtKotlinPropertySymbol(/I.doo) - type: kotlin/Int + type: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): A + getDispatchReceiver(): KtUsualClassType: + type: A + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null diff --git a/analysis/analysis-api/testData/scopes/delegatedMemberScope/withOverridden.txt b/analysis/analysis-api/testData/scopes/delegatedMemberScope/withOverridden.txt index 8f31a787cc3..2b35e6061ef 100644 --- a/analysis/analysis-api/testData/scopes/delegatedMemberScope/withOverridden.txt +++ b/analysis/analysis-api/testData/scopes/delegatedMemberScope/withOverridden.txt @@ -17,11 +17,17 @@ KtFunctionSymbol: name: bar origin: DELEGATED receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): B + getDispatchReceiver(): KtUsualClassType: + type: B + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null \ No newline at end of file diff --git a/analysis/analysis-api/testData/scopes/fileScopeTest/fileScope.descriptors.txt b/analysis/analysis-api/testData/scopes/fileScopeTest/fileScope.descriptors.txt index f27c5593832..622ff4bf6c3 100644 --- a/analysis/analysis-api/testData/scopes/fileScopeTest/fileScope.descriptors.txt +++ b/analysis/analysis-api/testData/scopes/fileScopeTest/fileScope.descriptors.txt @@ -28,7 +28,10 @@ KtFunctionSymbol: name: function origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [] @@ -58,7 +61,10 @@ KtFunctionSymbol: name: functionWithDefault origin: SOURCE receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [ @@ -76,7 +82,10 @@ KtFunctionSymbol: name: par1 origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -103,7 +112,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -126,7 +138,10 @@ KtKotlinPropertySymbol: name: testVal origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: TOP_LEVEL typeParameters: [] @@ -155,7 +170,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -178,7 +196,10 @@ KtKotlinPropertySymbol: name: initializedVariable origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: KtPropertySetterSymbol: annotationsList: [] callableIdIfNonLocal: null @@ -205,13 +226,19 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [ @@ -229,7 +256,10 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -265,7 +295,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Long + returnType: KtUsualClassType: + type: kotlin/Long + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -288,7 +321,10 @@ KtKotlinPropertySymbol: name: unitializedVariable origin: SOURCE receiverParameter: null - returnType: kotlin/Long + returnType: KtUsualClassType: + type: kotlin/Long + annotationsList: [] + ownTypeArguments: [] setter: KtPropertySetterSymbol: annotationsList: [] callableIdIfNonLocal: null @@ -315,13 +351,19 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/Long + returnType: KtUsualClassType: + type: kotlin/Long + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [ @@ -339,7 +381,10 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/Long + returnType: KtUsualClassType: + type: kotlin/Long + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -375,7 +420,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -398,7 +446,10 @@ KtKotlinPropertySymbol: name: lateinitVariable origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] setter: KtPropertySetterSymbol: annotationsList: [] callableIdIfNonLocal: null @@ -425,13 +476,19 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [ @@ -449,7 +506,10 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -485,7 +545,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Long + returnType: KtUsualClassType: + type: kotlin/Long + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -508,7 +571,10 @@ KtKotlinPropertySymbol: name: variableWithBackingField origin: SOURCE receiverParameter: null - returnType: kotlin/Long + returnType: KtUsualClassType: + type: kotlin/Long + annotationsList: [] + ownTypeArguments: [] setter: KtPropertySetterSymbol: annotationsList: [] callableIdIfNonLocal: null @@ -535,13 +601,19 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/Long + returnType: KtUsualClassType: + type: kotlin/Long + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [ @@ -559,7 +631,10 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/Long + returnType: KtUsualClassType: + type: kotlin/Long + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -595,7 +670,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -618,7 +696,10 @@ KtKotlinPropertySymbol: name: privateSetter origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] setter: KtPropertySetterSymbol: annotationsList: [ kotlin/jvm/JvmName(name = "customPrivateSetter") @@ -648,13 +729,19 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [ @@ -672,7 +759,10 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -708,7 +798,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -731,7 +824,10 @@ KtKotlinPropertySymbol: name: jvmNameOnSetter origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] setter: KtPropertySetterSymbol: annotationsList: [ kotlin/jvm/JvmName(name = "customPrivateSetter") @@ -761,13 +857,19 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [ @@ -785,7 +887,10 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -824,7 +929,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -847,7 +955,10 @@ KtKotlinPropertySymbol: name: customGetter origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: TOP_LEVEL typeParameters: [] @@ -879,7 +990,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -902,7 +1016,10 @@ KtKotlinPropertySymbol: name: jvmNameOnGetter origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: TOP_LEVEL typeParameters: [] @@ -934,10 +1051,16 @@ KtKotlinPropertySymbol: annotationsList: [] origin: SOURCE owningCallableSymbol: KtKotlinPropertySymbol(/propertyWithReceiver) - type: kotlin/Int + type: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -963,10 +1086,16 @@ KtKotlinPropertySymbol: annotationsList: [] origin: SOURCE owningCallableSymbol: KtKotlinPropertySymbol(/propertyWithReceiver) - type: kotlin/Int + type: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: TOP_LEVEL typeParameters: [] @@ -998,10 +1127,15 @@ KtKotlinPropertySymbol: annotationsList: [] origin: SOURCE owningCallableSymbol: KtKotlinPropertySymbol(/propertyWithGenericReceiver) - type: T + type: KtTypeParameterType: + type: T + annotationsList: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -1027,10 +1161,15 @@ KtKotlinPropertySymbol: annotationsList: [] origin: SOURCE owningCallableSymbol: KtKotlinPropertySymbol(/propertyWithGenericReceiver) - type: T + type: KtTypeParameterType: + type: T + annotationsList: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: TOP_LEVEL typeParameters: [ @@ -1061,7 +1200,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -1084,7 +1226,10 @@ KtKotlinPropertySymbol: name: constant origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: TOP_LEVEL typeParameters: [] @@ -1113,7 +1258,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Long + returnType: KtUsualClassType: + type: kotlin/Long + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -1136,7 +1284,10 @@ KtKotlinPropertySymbol: name: jvmField origin: SOURCE receiverParameter: null - returnType: kotlin/Long + returnType: KtUsualClassType: + type: kotlin/Long + annotationsList: [] + ownTypeArguments: [] setter: KtPropertySetterSymbol: annotationsList: [] callableIdIfNonLocal: null @@ -1163,13 +1314,19 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/Long + returnType: KtUsualClassType: + type: kotlin/Long + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [ @@ -1187,7 +1344,10 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/Long + returnType: KtUsualClassType: + type: kotlin/Long + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -1225,7 +1385,10 @@ KtNamedClassOrObjectSymbol: name: OuterClass origin: SOURCE superTypes: [ - kotlin/Any + KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [] diff --git a/analysis/analysis-api/testData/scopes/fileScopeTest/fileScope.txt b/analysis/analysis-api/testData/scopes/fileScopeTest/fileScope.txt index 714e262b091..b3331403d9c 100644 --- a/analysis/analysis-api/testData/scopes/fileScopeTest/fileScope.txt +++ b/analysis/analysis-api/testData/scopes/fileScopeTest/fileScope.txt @@ -28,7 +28,10 @@ KtFunctionSymbol: name: function origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [] @@ -58,7 +61,10 @@ KtFunctionSymbol: name: functionWithDefault origin: SOURCE receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [ @@ -76,7 +82,10 @@ KtFunctionSymbol: name: par1 origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -103,7 +112,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -126,7 +138,10 @@ KtKotlinPropertySymbol: name: testVal origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: TOP_LEVEL typeParameters: [] @@ -155,7 +170,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -178,7 +196,10 @@ KtKotlinPropertySymbol: name: initializedVariable origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: KtPropertySetterSymbol: annotationsList: [] callableIdIfNonLocal: null @@ -205,13 +226,19 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [ @@ -229,7 +256,10 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -265,7 +295,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Long + returnType: KtUsualClassType: + type: kotlin/Long + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -288,7 +321,10 @@ KtKotlinPropertySymbol: name: unitializedVariable origin: SOURCE receiverParameter: null - returnType: kotlin/Long + returnType: KtUsualClassType: + type: kotlin/Long + annotationsList: [] + ownTypeArguments: [] setter: KtPropertySetterSymbol: annotationsList: [] callableIdIfNonLocal: null @@ -315,13 +351,19 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/Long + returnType: KtUsualClassType: + type: kotlin/Long + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [ @@ -339,7 +381,10 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/Long + returnType: KtUsualClassType: + type: kotlin/Long + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -375,7 +420,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -398,7 +446,10 @@ KtKotlinPropertySymbol: name: lateinitVariable origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] setter: KtPropertySetterSymbol: annotationsList: [] callableIdIfNonLocal: null @@ -425,13 +476,19 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [ @@ -449,7 +506,10 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -485,7 +545,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Long + returnType: KtUsualClassType: + type: kotlin/Long + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -508,7 +571,10 @@ KtKotlinPropertySymbol: name: variableWithBackingField origin: SOURCE receiverParameter: null - returnType: kotlin/Long + returnType: KtUsualClassType: + type: kotlin/Long + annotationsList: [] + ownTypeArguments: [] setter: KtPropertySetterSymbol: annotationsList: [] callableIdIfNonLocal: null @@ -535,13 +601,19 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/Long + returnType: KtUsualClassType: + type: kotlin/Long + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [ @@ -559,7 +631,10 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/Long + returnType: KtUsualClassType: + type: kotlin/Long + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -595,7 +670,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -618,7 +696,10 @@ KtKotlinPropertySymbol: name: privateSetter origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] setter: KtPropertySetterSymbol: annotationsList: [ kotlin/jvm/JvmName(name = "customPrivateSetter") @@ -648,13 +729,19 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [ @@ -672,7 +759,10 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -708,7 +798,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -731,7 +824,10 @@ KtKotlinPropertySymbol: name: jvmNameOnSetter origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] setter: KtPropertySetterSymbol: annotationsList: [ kotlin/jvm/JvmName(name = "customPrivateSetter") @@ -761,13 +857,19 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [ @@ -785,7 +887,10 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -824,7 +929,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -847,7 +955,10 @@ KtKotlinPropertySymbol: name: customGetter origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: TOP_LEVEL typeParameters: [] @@ -879,7 +990,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -902,7 +1016,10 @@ KtKotlinPropertySymbol: name: jvmNameOnGetter origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: TOP_LEVEL typeParameters: [] @@ -934,10 +1051,16 @@ KtKotlinPropertySymbol: annotationsList: [] origin: SOURCE owningCallableSymbol: KtKotlinPropertySymbol(/propertyWithReceiver) - type: kotlin/Int + type: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -963,10 +1086,16 @@ KtKotlinPropertySymbol: annotationsList: [] origin: SOURCE owningCallableSymbol: KtKotlinPropertySymbol(/propertyWithReceiver) - type: kotlin/Int + type: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: TOP_LEVEL typeParameters: [] @@ -998,10 +1127,15 @@ KtKotlinPropertySymbol: annotationsList: [] origin: SOURCE owningCallableSymbol: KtKotlinPropertySymbol(/propertyWithGenericReceiver) - type: T + type: KtTypeParameterType: + type: T + annotationsList: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -1027,10 +1161,15 @@ KtKotlinPropertySymbol: annotationsList: [] origin: SOURCE owningCallableSymbol: KtKotlinPropertySymbol(/propertyWithGenericReceiver) - type: T + type: KtTypeParameterType: + type: T + annotationsList: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: TOP_LEVEL typeParameters: [ @@ -1061,7 +1200,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -1084,7 +1226,10 @@ KtKotlinPropertySymbol: name: constant origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: TOP_LEVEL typeParameters: [] @@ -1116,7 +1261,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Long + returnType: KtUsualClassType: + type: kotlin/Long + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -1139,7 +1287,10 @@ KtKotlinPropertySymbol: name: jvmField origin: SOURCE receiverParameter: null - returnType: kotlin/Long + returnType: KtUsualClassType: + type: kotlin/Long + annotationsList: [] + ownTypeArguments: [] setter: KtPropertySetterSymbol: annotationsList: [] callableIdIfNonLocal: null @@ -1166,13 +1317,19 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/Long + returnType: KtUsualClassType: + type: kotlin/Long + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [ @@ -1190,7 +1347,10 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/Long + returnType: KtUsualClassType: + type: kotlin/Long + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -1228,7 +1388,10 @@ KtNamedClassOrObjectSymbol: name: OuterClass origin: SOURCE superTypes: [ - kotlin/Any + KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [] diff --git a/analysis/analysis-api/testData/scopes/fileScopeTest/simpleFileScope.txt b/analysis/analysis-api/testData/scopes/fileScopeTest/simpleFileScope.txt index a62654b85ca..e33fee4714e 100644 --- a/analysis/analysis-api/testData/scopes/fileScopeTest/simpleFileScope.txt +++ b/analysis/analysis-api/testData/scopes/fileScopeTest/simpleFileScope.txt @@ -28,7 +28,10 @@ KtFunctionSymbol: name: test origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [] @@ -53,7 +56,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -76,7 +82,10 @@ KtKotlinPropertySymbol: name: testVal origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: TOP_LEVEL typeParameters: [] @@ -107,7 +116,10 @@ KtNamedClassOrObjectSymbol: name: C origin: SOURCE superTypes: [ - kotlin/Any + KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [] @@ -131,7 +143,10 @@ KtNamedClassOrObjectSymbol: name: I origin: SOURCE superTypes: [ - kotlin/Any + KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [] diff --git a/analysis/analysis-api/testData/scopes/memberScopeByFqName/Int.txt b/analysis/analysis-api/testData/scopes/memberScopeByFqName/Int.txt index cb6f0da12c4..552227510d0 100644 --- a/analysis/analysis-api/testData/scopes/memberScopeByFqName/Int.txt +++ b/analysis/analysis-api/testData/scopes/memberScopeByFqName/Int.txt @@ -20,7 +20,10 @@ KtFunctionSymbol: name: and origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -38,14 +41,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -71,7 +80,10 @@ KtFunctionSymbol: name: compareTo origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -89,14 +101,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Byte + returnType: KtUsualClassType: + type: kotlin/Byte + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -122,7 +140,10 @@ KtFunctionSymbol: name: compareTo origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -140,14 +161,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Double + returnType: KtUsualClassType: + type: kotlin/Double + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -173,7 +200,10 @@ KtFunctionSymbol: name: compareTo origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -191,14 +221,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Float + returnType: KtUsualClassType: + type: kotlin/Float + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -224,7 +260,10 @@ KtFunctionSymbol: name: compareTo origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -242,14 +281,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -275,7 +320,10 @@ KtFunctionSymbol: name: compareTo origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -293,14 +341,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Long + returnType: KtUsualClassType: + type: kotlin/Long + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -326,7 +380,10 @@ KtFunctionSymbol: name: compareTo origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -344,14 +401,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Short + returnType: KtUsualClassType: + type: kotlin/Short + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -374,12 +437,18 @@ KtFunctionSymbol: name: dec origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -405,7 +474,10 @@ KtFunctionSymbol: name: div origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -423,14 +495,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Byte + returnType: KtUsualClassType: + type: kotlin/Byte + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -456,7 +534,10 @@ KtFunctionSymbol: name: div origin: LIBRARY receiverParameter: null - returnType: kotlin/Double + returnType: KtUsualClassType: + type: kotlin/Double + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -474,14 +555,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Double + returnType: KtUsualClassType: + type: kotlin/Double + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -507,7 +594,10 @@ KtFunctionSymbol: name: div origin: LIBRARY receiverParameter: null - returnType: kotlin/Float + returnType: KtUsualClassType: + type: kotlin/Float + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -525,14 +615,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Float + returnType: KtUsualClassType: + type: kotlin/Float + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -558,7 +654,10 @@ KtFunctionSymbol: name: div origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -576,14 +675,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -609,7 +714,10 @@ KtFunctionSymbol: name: div origin: LIBRARY receiverParameter: null - returnType: kotlin/Long + returnType: KtUsualClassType: + type: kotlin/Long + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -627,14 +735,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Long + returnType: KtUsualClassType: + type: kotlin/Long + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -660,7 +774,10 @@ KtFunctionSymbol: name: div origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -678,14 +795,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Short + returnType: KtUsualClassType: + type: kotlin/Short + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -711,7 +834,10 @@ KtFunctionSymbol: name: equals origin: LIBRARY receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -729,14 +855,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Any? + returnType: KtUsualClassType: + type: kotlin/Any? + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -759,12 +891,18 @@ KtFunctionSymbol: name: inc origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -790,12 +928,18 @@ KtFunctionSymbol: name: inv origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -821,7 +965,10 @@ KtFunctionSymbol: name: minus origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -839,14 +986,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Byte + returnType: KtUsualClassType: + type: kotlin/Byte + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -872,7 +1025,10 @@ KtFunctionSymbol: name: minus origin: LIBRARY receiverParameter: null - returnType: kotlin/Double + returnType: KtUsualClassType: + type: kotlin/Double + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -890,14 +1046,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Double + returnType: KtUsualClassType: + type: kotlin/Double + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -923,7 +1085,10 @@ KtFunctionSymbol: name: minus origin: LIBRARY receiverParameter: null - returnType: kotlin/Float + returnType: KtUsualClassType: + type: kotlin/Float + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -941,14 +1106,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Float + returnType: KtUsualClassType: + type: kotlin/Float + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -974,7 +1145,10 @@ KtFunctionSymbol: name: minus origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -992,14 +1166,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -1025,7 +1205,10 @@ KtFunctionSymbol: name: minus origin: LIBRARY receiverParameter: null - returnType: kotlin/Long + returnType: KtUsualClassType: + type: kotlin/Long + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -1043,14 +1226,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Long + returnType: KtUsualClassType: + type: kotlin/Long + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -1076,7 +1265,10 @@ KtFunctionSymbol: name: minus origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -1094,14 +1286,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Short + returnType: KtUsualClassType: + type: kotlin/Short + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -1127,7 +1325,10 @@ KtFunctionSymbol: name: or origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -1145,14 +1346,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -1178,7 +1385,10 @@ KtFunctionSymbol: name: plus origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -1196,14 +1406,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Byte + returnType: KtUsualClassType: + type: kotlin/Byte + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -1229,7 +1445,10 @@ KtFunctionSymbol: name: plus origin: LIBRARY receiverParameter: null - returnType: kotlin/Double + returnType: KtUsualClassType: + type: kotlin/Double + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -1247,14 +1466,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Double + returnType: KtUsualClassType: + type: kotlin/Double + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -1280,7 +1505,10 @@ KtFunctionSymbol: name: plus origin: LIBRARY receiverParameter: null - returnType: kotlin/Float + returnType: KtUsualClassType: + type: kotlin/Float + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -1298,14 +1526,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Float + returnType: KtUsualClassType: + type: kotlin/Float + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -1331,7 +1565,10 @@ KtFunctionSymbol: name: plus origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -1349,14 +1586,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -1382,7 +1625,10 @@ KtFunctionSymbol: name: plus origin: LIBRARY receiverParameter: null - returnType: kotlin/Long + returnType: KtUsualClassType: + type: kotlin/Long + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -1400,14 +1646,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Long + returnType: KtUsualClassType: + type: kotlin/Long + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -1433,7 +1685,10 @@ KtFunctionSymbol: name: plus origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -1451,14 +1706,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Short + returnType: KtUsualClassType: + type: kotlin/Short + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -1481,7 +1742,10 @@ KtFunctionSymbol: name: rangeTo origin: LIBRARY receiverParameter: null - returnType: kotlin/ranges/IntRange + returnType: KtUsualClassType: + type: kotlin/ranges/IntRange + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -1499,14 +1763,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Byte + returnType: KtUsualClassType: + type: kotlin/Byte + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -1529,7 +1799,10 @@ KtFunctionSymbol: name: rangeTo origin: LIBRARY receiverParameter: null - returnType: kotlin/ranges/IntRange + returnType: KtUsualClassType: + type: kotlin/ranges/IntRange + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -1547,14 +1820,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -1577,7 +1856,10 @@ KtFunctionSymbol: name: rangeTo origin: LIBRARY receiverParameter: null - returnType: kotlin/ranges/LongRange + returnType: KtUsualClassType: + type: kotlin/ranges/LongRange + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -1595,14 +1877,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Long + returnType: KtUsualClassType: + type: kotlin/Long + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -1625,7 +1913,10 @@ KtFunctionSymbol: name: rangeTo origin: LIBRARY receiverParameter: null - returnType: kotlin/ranges/IntRange + returnType: KtUsualClassType: + type: kotlin/ranges/IntRange + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -1643,14 +1934,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Short + returnType: KtUsualClassType: + type: kotlin/Short + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -1678,7 +1975,10 @@ KtFunctionSymbol: name: rangeUntil origin: LIBRARY receiverParameter: null - returnType: kotlin/ranges/IntRange + returnType: KtUsualClassType: + type: kotlin/ranges/IntRange + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -1696,14 +1996,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Byte + returnType: KtUsualClassType: + type: kotlin/Byte + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -1731,7 +2037,10 @@ KtFunctionSymbol: name: rangeUntil origin: LIBRARY receiverParameter: null - returnType: kotlin/ranges/IntRange + returnType: KtUsualClassType: + type: kotlin/ranges/IntRange + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -1749,14 +2058,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -1784,7 +2099,10 @@ KtFunctionSymbol: name: rangeUntil origin: LIBRARY receiverParameter: null - returnType: kotlin/ranges/LongRange + returnType: KtUsualClassType: + type: kotlin/ranges/LongRange + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -1802,14 +2120,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Long + returnType: KtUsualClassType: + type: kotlin/Long + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -1837,7 +2161,10 @@ KtFunctionSymbol: name: rangeUntil origin: LIBRARY receiverParameter: null - returnType: kotlin/ranges/IntRange + returnType: KtUsualClassType: + type: kotlin/ranges/IntRange + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -1855,14 +2182,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Short + returnType: KtUsualClassType: + type: kotlin/Short + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -1890,7 +2223,10 @@ KtFunctionSymbol: name: rem origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -1908,14 +2244,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Byte + returnType: KtUsualClassType: + type: kotlin/Byte + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -1943,7 +2285,10 @@ KtFunctionSymbol: name: rem origin: LIBRARY receiverParameter: null - returnType: kotlin/Double + returnType: KtUsualClassType: + type: kotlin/Double + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -1961,14 +2306,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Double + returnType: KtUsualClassType: + type: kotlin/Double + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -1996,7 +2347,10 @@ KtFunctionSymbol: name: rem origin: LIBRARY receiverParameter: null - returnType: kotlin/Float + returnType: KtUsualClassType: + type: kotlin/Float + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -2014,14 +2368,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Float + returnType: KtUsualClassType: + type: kotlin/Float + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -2049,7 +2409,10 @@ KtFunctionSymbol: name: rem origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -2067,14 +2430,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -2102,7 +2471,10 @@ KtFunctionSymbol: name: rem origin: LIBRARY receiverParameter: null - returnType: kotlin/Long + returnType: KtUsualClassType: + type: kotlin/Long + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -2120,14 +2492,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Long + returnType: KtUsualClassType: + type: kotlin/Long + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -2155,7 +2533,10 @@ KtFunctionSymbol: name: rem origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -2173,14 +2554,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Short + returnType: KtUsualClassType: + type: kotlin/Short + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -2206,7 +2593,10 @@ KtFunctionSymbol: name: shl origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -2224,14 +2614,20 @@ KtFunctionSymbol: name: bitCount origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -2257,7 +2653,10 @@ KtFunctionSymbol: name: shr origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -2275,14 +2674,20 @@ KtFunctionSymbol: name: bitCount origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -2308,7 +2713,10 @@ KtFunctionSymbol: name: times origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -2326,14 +2734,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Byte + returnType: KtUsualClassType: + type: kotlin/Byte + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -2359,7 +2773,10 @@ KtFunctionSymbol: name: times origin: LIBRARY receiverParameter: null - returnType: kotlin/Double + returnType: KtUsualClassType: + type: kotlin/Double + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -2377,14 +2794,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Double + returnType: KtUsualClassType: + type: kotlin/Double + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -2410,7 +2833,10 @@ KtFunctionSymbol: name: times origin: LIBRARY receiverParameter: null - returnType: kotlin/Float + returnType: KtUsualClassType: + type: kotlin/Float + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -2428,14 +2854,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Float + returnType: KtUsualClassType: + type: kotlin/Float + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -2461,7 +2893,10 @@ KtFunctionSymbol: name: times origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -2479,14 +2914,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -2512,7 +2953,10 @@ KtFunctionSymbol: name: times origin: LIBRARY receiverParameter: null - returnType: kotlin/Long + returnType: KtUsualClassType: + type: kotlin/Long + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -2530,14 +2974,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Long + returnType: KtUsualClassType: + type: kotlin/Long + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -2563,7 +3013,10 @@ KtFunctionSymbol: name: times origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -2581,14 +3034,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Short + returnType: KtUsualClassType: + type: kotlin/Short + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -2614,12 +3073,18 @@ KtFunctionSymbol: name: toByte origin: LIBRARY receiverParameter: null - returnType: kotlin/Byte + returnType: KtUsualClassType: + type: kotlin/Byte + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -2645,12 +3110,18 @@ KtFunctionSymbol: name: toChar origin: LIBRARY receiverParameter: null - returnType: kotlin/Char + returnType: KtUsualClassType: + type: kotlin/Char + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -2676,12 +3147,18 @@ KtFunctionSymbol: name: toDouble origin: LIBRARY receiverParameter: null - returnType: kotlin/Double + returnType: KtUsualClassType: + type: kotlin/Double + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -2707,12 +3184,18 @@ KtFunctionSymbol: name: toFloat origin: LIBRARY receiverParameter: null - returnType: kotlin/Float + returnType: KtUsualClassType: + type: kotlin/Float + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -2738,12 +3221,18 @@ KtFunctionSymbol: name: toInt origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -2769,12 +3258,18 @@ KtFunctionSymbol: name: toLong origin: LIBRARY receiverParameter: null - returnType: kotlin/Long + returnType: KtUsualClassType: + type: kotlin/Long + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -2800,12 +3295,18 @@ KtFunctionSymbol: name: toShort origin: LIBRARY receiverParameter: null - returnType: kotlin/Short + returnType: KtUsualClassType: + type: kotlin/Short + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -2831,12 +3332,18 @@ KtFunctionSymbol: name: toString origin: LIBRARY receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -2862,12 +3369,18 @@ KtFunctionSymbol: name: unaryMinus origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -2893,12 +3406,18 @@ KtFunctionSymbol: name: unaryPlus origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -2924,7 +3443,10 @@ KtFunctionSymbol: name: ushr origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -2942,14 +3464,20 @@ KtFunctionSymbol: name: bitCount origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -2975,7 +3503,10 @@ KtFunctionSymbol: name: xor origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -2993,14 +3524,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Int + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -3023,12 +3560,18 @@ KtFunctionSymbol: name: hashCode origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): kotlin/Any + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -3047,7 +3590,10 @@ KtNamedClassOrObjectSymbol: name: Companion origin: LIBRARY superTypes: [ - kotlin/Any + KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] ] symbolKind: CLASS_MEMBER typeParameters: [] @@ -3066,7 +3612,10 @@ KtConstructorSymbol: isPrimary: false origin: JAVA receiverParameter: null - returnType: java/lang/Integer + returnType: KtUsualClassType: + type: java/lang/Integer + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -3084,7 +3633,10 @@ KtConstructorSymbol: name: value origin: SUBSTITUTION_OVERRIDE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -3104,7 +3656,10 @@ KtConstructorSymbol: isPrimary: true origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] diff --git a/analysis/analysis-api/testData/scopes/memberScopeByFqName/MutableList.txt b/analysis/analysis-api/testData/scopes/memberScopeByFqName/MutableList.txt index c2c5a6f831b..447b1b872f7 100644 --- a/analysis/analysis-api/testData/scopes/memberScopeByFqName/MutableList.txt +++ b/analysis/analysis-api/testData/scopes/memberScopeByFqName/MutableList.txt @@ -17,7 +17,10 @@ KtFunctionSymbol: name: add origin: LIBRARY receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -35,14 +38,23 @@ KtFunctionSymbol: name: element origin: LIBRARY receiverParameter: null - returnType: E + returnType: KtTypeParameterType: + type: E + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/collections/MutableList + getDispatchReceiver(): KtUsualClassType: + type: kotlin/collections/MutableList + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -65,7 +77,10 @@ KtFunctionSymbol: name: add origin: LIBRARY receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -83,7 +98,10 @@ KtFunctionSymbol: name: index origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" @@ -102,14 +120,23 @@ KtFunctionSymbol: name: element origin: LIBRARY receiverParameter: null - returnType: E + returnType: KtTypeParameterType: + type: E + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/collections/MutableList + getDispatchReceiver(): KtUsualClassType: + type: kotlin/collections/MutableList + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -132,7 +159,10 @@ KtFunctionSymbol: name: addAll origin: LIBRARY receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -150,7 +180,10 @@ KtFunctionSymbol: name: index origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" @@ -169,14 +202,28 @@ KtFunctionSymbol: name: elements origin: LIBRARY receiverParameter: null - returnType: kotlin/collections/Collection + returnType: KtUsualClassType: + type: kotlin/collections/Collection + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/collections/MutableList + getDispatchReceiver(): KtUsualClassType: + type: kotlin/collections/MutableList + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -199,7 +246,10 @@ KtFunctionSymbol: name: addAll origin: LIBRARY receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -217,14 +267,28 @@ KtFunctionSymbol: name: elements origin: LIBRARY receiverParameter: null - returnType: kotlin/collections/Collection + returnType: KtUsualClassType: + type: kotlin/collections/Collection + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/collections/MutableList + getDispatchReceiver(): KtUsualClassType: + type: kotlin/collections/MutableList + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -247,12 +311,22 @@ KtFunctionSymbol: name: clear origin: LIBRARY receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): kotlin/collections/MutableList + getDispatchReceiver(): KtUsualClassType: + type: kotlin/collections/MutableList + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -275,12 +349,26 @@ KtFunctionSymbol: name: listIterator origin: LIBRARY receiverParameter: null - returnType: kotlin/collections/MutableListIterator + returnType: KtUsualClassType: + type: kotlin/collections/MutableListIterator + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): kotlin/collections/MutableList + getDispatchReceiver(): KtUsualClassType: + type: kotlin/collections/MutableList + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -303,7 +391,14 @@ KtFunctionSymbol: name: listIterator origin: LIBRARY receiverParameter: null - returnType: kotlin/collections/MutableListIterator + returnType: KtUsualClassType: + type: kotlin/collections/MutableListIterator + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -321,14 +416,24 @@ KtFunctionSymbol: name: index origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/collections/MutableList + getDispatchReceiver(): KtUsualClassType: + type: kotlin/collections/MutableList + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -351,7 +456,10 @@ KtFunctionSymbol: name: remove origin: LIBRARY receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -369,14 +477,23 @@ KtFunctionSymbol: name: element origin: LIBRARY receiverParameter: null - returnType: E + returnType: KtTypeParameterType: + type: E + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/collections/MutableList + getDispatchReceiver(): KtUsualClassType: + type: kotlin/collections/MutableList + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -399,7 +516,10 @@ KtFunctionSymbol: name: removeAll origin: LIBRARY receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -417,14 +537,28 @@ KtFunctionSymbol: name: elements origin: LIBRARY receiverParameter: null - returnType: kotlin/collections/Collection + returnType: KtUsualClassType: + type: kotlin/collections/Collection + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/collections/MutableList + getDispatchReceiver(): KtUsualClassType: + type: kotlin/collections/MutableList + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -447,7 +581,9 @@ KtFunctionSymbol: name: removeAt origin: LIBRARY receiverParameter: null - returnType: E + returnType: KtTypeParameterType: + type: E + annotationsList: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -465,14 +601,24 @@ KtFunctionSymbol: name: index origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/collections/MutableList + getDispatchReceiver(): KtUsualClassType: + type: kotlin/collections/MutableList + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -495,7 +641,10 @@ KtFunctionSymbol: name: retainAll origin: LIBRARY receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -513,14 +662,28 @@ KtFunctionSymbol: name: elements origin: LIBRARY receiverParameter: null - returnType: kotlin/collections/Collection + returnType: KtUsualClassType: + type: kotlin/collections/Collection + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/collections/MutableList + getDispatchReceiver(): KtUsualClassType: + type: kotlin/collections/MutableList + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -543,7 +706,9 @@ KtFunctionSymbol: name: set origin: LIBRARY receiverParameter: null - returnType: E + returnType: KtTypeParameterType: + type: E + annotationsList: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -561,7 +726,10 @@ KtFunctionSymbol: name: index origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" @@ -580,14 +748,23 @@ KtFunctionSymbol: name: element origin: LIBRARY receiverParameter: null - returnType: E + returnType: KtTypeParameterType: + type: E + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/collections/MutableList + getDispatchReceiver(): KtUsualClassType: + type: kotlin/collections/MutableList + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -610,7 +787,14 @@ KtFunctionSymbol: name: subList origin: LIBRARY receiverParameter: null - returnType: kotlin/collections/MutableList + returnType: KtUsualClassType: + type: kotlin/collections/MutableList + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -628,7 +812,10 @@ KtFunctionSymbol: name: fromIndex origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" @@ -647,14 +834,24 @@ KtFunctionSymbol: name: toIndex origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/collections/MutableList + getDispatchReceiver(): KtUsualClassType: + type: kotlin/collections/MutableList + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -677,7 +874,10 @@ KtFunctionSymbol: name: contains origin: SUBSTITUTION_OVERRIDE receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -695,14 +895,23 @@ KtFunctionSymbol: name: element origin: SUBSTITUTION_OVERRIDE receiverParameter: null - returnType: E + returnType: KtTypeParameterType: + type: E + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/collections/MutableList + getDispatchReceiver(): KtUsualClassType: + type: kotlin/collections/MutableList + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -725,7 +934,10 @@ KtFunctionSymbol: name: containsAll origin: SUBSTITUTION_OVERRIDE receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -743,14 +955,28 @@ KtFunctionSymbol: name: elements origin: SUBSTITUTION_OVERRIDE receiverParameter: null - returnType: kotlin/collections/Collection + returnType: KtUsualClassType: + type: kotlin/collections/Collection + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/collections/MutableList + getDispatchReceiver(): KtUsualClassType: + type: kotlin/collections/MutableList + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -773,7 +999,9 @@ KtFunctionSymbol: name: get origin: SUBSTITUTION_OVERRIDE receiverParameter: null - returnType: E + returnType: KtTypeParameterType: + type: E + annotationsList: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -791,14 +1019,24 @@ KtFunctionSymbol: name: index origin: SUBSTITUTION_OVERRIDE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/collections/MutableList + getDispatchReceiver(): KtUsualClassType: + type: kotlin/collections/MutableList + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -821,7 +1059,10 @@ KtFunctionSymbol: name: indexOf origin: SUBSTITUTION_OVERRIDE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -839,14 +1080,23 @@ KtFunctionSymbol: name: element origin: SUBSTITUTION_OVERRIDE receiverParameter: null - returnType: E + returnType: KtTypeParameterType: + type: E + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/collections/MutableList + getDispatchReceiver(): KtUsualClassType: + type: kotlin/collections/MutableList + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -869,12 +1119,22 @@ KtFunctionSymbol: name: isEmpty origin: LIBRARY receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): kotlin/collections/List + getDispatchReceiver(): KtUsualClassType: + type: kotlin/collections/List + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -897,12 +1157,26 @@ KtFunctionSymbol: name: iterator origin: INTERSECTION_OVERRIDE receiverParameter: null - returnType: kotlin/collections/MutableIterator + returnType: KtUsualClassType: + type: kotlin/collections/MutableIterator + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): kotlin/collections/MutableList + getDispatchReceiver(): KtUsualClassType: + type: kotlin/collections/MutableList + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -925,7 +1199,10 @@ KtFunctionSymbol: name: lastIndexOf origin: SUBSTITUTION_OVERRIDE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -943,14 +1220,23 @@ KtFunctionSymbol: name: element origin: SUBSTITUTION_OVERRIDE receiverParameter: null - returnType: E + returnType: KtTypeParameterType: + type: E + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/collections/MutableList + getDispatchReceiver(): KtUsualClassType: + type: kotlin/collections/MutableList + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -971,12 +1257,22 @@ KtKotlinPropertySymbol: modality: ABSTRACT origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): kotlin/collections/List + getDispatchReceiver(): KtUsualClassType: + type: kotlin/collections/List + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null hasBackingField: false @@ -995,12 +1291,22 @@ KtKotlinPropertySymbol: name: size origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): kotlin/collections/List + getDispatchReceiver(): KtUsualClassType: + type: kotlin/collections/List + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null getterDeprecationStatus: null @@ -1027,7 +1333,10 @@ KtFunctionSymbol: name: equals origin: LIBRARY receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -1045,14 +1354,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Any? + returnType: KtUsualClassType: + type: kotlin/Any? + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Any + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -1075,12 +1390,18 @@ KtFunctionSymbol: name: hashCode origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): kotlin/Any + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -1103,11 +1424,17 @@ KtFunctionSymbol: name: toString origin: LIBRARY receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): kotlin/Any + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null \ No newline at end of file diff --git a/analysis/analysis-api/testData/scopes/memberScopeByFqName/dataClass.txt b/analysis/analysis-api/testData/scopes/memberScopeByFqName/dataClass.txt index f15804f1c75..4843db79d88 100644 --- a/analysis/analysis-api/testData/scopes/memberScopeByFqName/dataClass.txt +++ b/analysis/analysis-api/testData/scopes/memberScopeByFqName/dataClass.txt @@ -15,12 +15,18 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): Abc + getDispatchReceiver(): KtUsualClassType: + type: Abc + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: true @@ -39,12 +45,18 @@ KtKotlinPropertySymbol: name: firstProperty origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): Abc + getDispatchReceiver(): KtUsualClassType: + type: Abc + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -69,12 +81,18 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Double + returnType: KtUsualClassType: + type: kotlin/Double + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): Abc + getDispatchReceiver(): KtUsualClassType: + type: Abc + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: true @@ -93,12 +111,18 @@ KtKotlinPropertySymbol: name: secondProperty origin: SOURCE receiverParameter: null - returnType: kotlin/Double + returnType: KtUsualClassType: + type: kotlin/Double + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): Abc + getDispatchReceiver(): KtUsualClassType: + type: Abc + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -123,12 +147,18 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): Abc + getDispatchReceiver(): KtUsualClassType: + type: Abc + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: true @@ -147,12 +177,18 @@ KtKotlinPropertySymbol: name: thirdProperty origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): Abc + getDispatchReceiver(): KtUsualClassType: + type: Abc + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -179,12 +215,18 @@ KtFunctionSymbol: name: check origin: SOURCE receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): Abc + getDispatchReceiver(): KtUsualClassType: + type: Abc + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -208,10 +250,16 @@ KtKotlinPropertySymbol: annotationsList: [] origin: SOURCE owningCallableSymbol: KtKotlinPropertySymbol(/Abc.bodyProperty) - type: kotlin/Int + type: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null - returnType: kotlin/Long + returnType: KtUsualClassType: + type: kotlin/Long + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -237,15 +285,24 @@ KtKotlinPropertySymbol: annotationsList: [] origin: SOURCE owningCallableSymbol: KtKotlinPropertySymbol(/Abc.bodyProperty) - type: kotlin/Int + type: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null - returnType: kotlin/Long + returnType: KtUsualClassType: + type: kotlin/Long + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): Abc + getDispatchReceiver(): KtUsualClassType: + type: Abc + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -272,12 +329,18 @@ KtFunctionSymbol: name: component1 origin: SOURCE_MEMBER_GENERATED receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): Abc + getDispatchReceiver(): KtUsualClassType: + type: Abc + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -300,12 +363,18 @@ KtFunctionSymbol: name: component2 origin: SOURCE_MEMBER_GENERATED receiverParameter: null - returnType: kotlin/Double + returnType: KtUsualClassType: + type: kotlin/Double + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): Abc + getDispatchReceiver(): KtUsualClassType: + type: Abc + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -328,12 +397,18 @@ KtFunctionSymbol: name: component3 origin: SOURCE_MEMBER_GENERATED receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): Abc + getDispatchReceiver(): KtUsualClassType: + type: Abc + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -356,7 +431,10 @@ KtFunctionSymbol: name: copy origin: SOURCE_MEMBER_GENERATED receiverParameter: null - returnType: Abc + returnType: KtUsualClassType: + type: Abc + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -374,7 +452,10 @@ KtFunctionSymbol: name: firstProperty origin: SOURCE_MEMBER_GENERATED receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -393,7 +474,10 @@ KtFunctionSymbol: name: secondProperty origin: SOURCE_MEMBER_GENERATED receiverParameter: null - returnType: kotlin/Double + returnType: KtUsualClassType: + type: kotlin/Double + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -412,14 +496,20 @@ KtFunctionSymbol: name: thirdProperty origin: SOURCE_MEMBER_GENERATED receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): Abc + getDispatchReceiver(): KtUsualClassType: + type: Abc + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -442,7 +532,10 @@ KtFunctionSymbol: name: equals origin: LIBRARY receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -460,14 +553,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Any? + returnType: KtUsualClassType: + type: kotlin/Any? + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Any + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -490,12 +589,18 @@ KtFunctionSymbol: name: hashCode origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): kotlin/Any + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -518,12 +623,18 @@ KtFunctionSymbol: name: toString origin: LIBRARY receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): kotlin/Any + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -537,7 +648,10 @@ KtConstructorSymbol: isPrimary: true origin: SOURCE receiverParameter: null - returnType: Abc + returnType: KtUsualClassType: + type: Abc + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -562,12 +676,18 @@ KtConstructorSymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): Abc + getDispatchReceiver(): KtUsualClassType: + type: Abc + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: true @@ -586,12 +706,18 @@ KtConstructorSymbol: name: firstProperty origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): Abc + getDispatchReceiver(): KtUsualClassType: + type: Abc + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -607,7 +733,10 @@ KtConstructorSymbol: name: firstProperty origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -633,12 +762,18 @@ KtConstructorSymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Double + returnType: KtUsualClassType: + type: kotlin/Double + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): Abc + getDispatchReceiver(): KtUsualClassType: + type: Abc + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: true @@ -657,12 +792,18 @@ KtConstructorSymbol: name: secondProperty origin: SOURCE receiverParameter: null - returnType: kotlin/Double + returnType: KtUsualClassType: + type: kotlin/Double + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): Abc + getDispatchReceiver(): KtUsualClassType: + type: Abc + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -678,7 +819,10 @@ KtConstructorSymbol: name: secondProperty origin: SOURCE receiverParameter: null - returnType: kotlin/Double + returnType: KtUsualClassType: + type: kotlin/Double + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -704,12 +848,18 @@ KtConstructorSymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): Abc + getDispatchReceiver(): KtUsualClassType: + type: Abc + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: true @@ -728,12 +878,18 @@ KtConstructorSymbol: name: thirdProperty origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): Abc + getDispatchReceiver(): KtUsualClassType: + type: Abc + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -749,7 +905,10 @@ KtConstructorSymbol: name: thirdProperty origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" diff --git a/analysis/analysis-api/testData/scopes/memberScopeByFqName/enumEntry.txt b/analysis/analysis-api/testData/scopes/memberScopeByFqName/enumEntry.txt index 5fb2fc16d6f..772fa954a4f 100644 --- a/analysis/analysis-api/testData/scopes/memberScopeByFqName/enumEntry.txt +++ b/analysis/analysis-api/testData/scopes/memberScopeByFqName/enumEntry.txt @@ -15,12 +15,18 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): + getDispatchReceiver(): KtUsualClassType: + type: + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: true @@ -39,12 +45,18 @@ KtKotlinPropertySymbol: name: x origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): + getDispatchReceiver(): KtUsualClassType: + type: + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -71,12 +83,22 @@ KtFunctionSymbol: name: clone origin: LIBRARY receiverParameter: null - returnType: kotlin/Any + returnType: KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Protected - getDispatchReceiver(): kotlin/Enum + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Enum + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -99,7 +121,10 @@ KtFunctionSymbol: name: compareTo origin: SUBSTITUTION_OVERRIDE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -117,14 +142,20 @@ KtFunctionSymbol: name: other origin: SUBSTITUTION_OVERRIDE receiverParameter: null - returnType: test/E + returnType: KtUsualClassType: + type: test/E + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): test/E + getDispatchReceiver(): KtUsualClassType: + type: test/E + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -147,7 +178,10 @@ KtFunctionSymbol: name: equals origin: LIBRARY receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -165,14 +199,24 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Any? + returnType: KtUsualClassType: + type: kotlin/Any? + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Enum + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Enum + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -195,12 +239,22 @@ KtFunctionSymbol: name: hashCode origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): kotlin/Enum + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Enum + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -223,12 +277,22 @@ KtFunctionSymbol: name: toString origin: LIBRARY receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): kotlin/Enum + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Enum + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -252,12 +316,22 @@ KtKotlinPropertySymbol: modality: FINAL origin: LIBRARY receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): kotlin/Enum + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Enum + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null hasBackingField: true @@ -276,12 +350,22 @@ KtKotlinPropertySymbol: name: name origin: LIBRARY receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): kotlin/Enum + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Enum + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null getterDeprecationStatus: null @@ -306,12 +390,22 @@ KtKotlinPropertySymbol: modality: FINAL origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): kotlin/Enum + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Enum + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null hasBackingField: true @@ -330,12 +424,22 @@ KtKotlinPropertySymbol: name: ordinal origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): kotlin/Enum + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Enum + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null getterDeprecationStatus: null 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 2c480d67962..dbbabc0eb66 100644 --- a/analysis/analysis-api/testData/scopes/memberScopeByFqName/java.lang.String.txt +++ b/analysis/analysis-api/testData/scopes/memberScopeByFqName/java.lang.String.txt @@ -9,11 +9,16 @@ KtJavaFieldSymbol: name: value origin: JAVA receiverParameter: null - returnType: kotlin/CharArray! + returnType: KtFlexibleType: + type: kotlin/CharArray! + annotationsList: [] symbolKind: CLASS_MEMBER typeParameters: [] visibility: Private - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -28,11 +33,17 @@ KtJavaFieldSymbol: name: hash origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] visibility: Private - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -55,12 +66,18 @@ KtFunctionSymbol: name: hash32 origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: PackageVisibility - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -75,11 +92,17 @@ KtJavaFieldSymbol: name: hash32 origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] visibility: Private - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -100,12 +123,18 @@ KtSyntheticJavaPropertySymbol: modality: OPEN origin: JAVA_SYNTHETIC_PROPERTY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null hasBackingField: true @@ -124,12 +153,18 @@ KtSyntheticJavaPropertySymbol: name: length origin: JAVA_SYNTHETIC_PROPERTY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null getterDeprecationStatus: null @@ -156,12 +191,18 @@ KtFunctionSymbol: name: isEmpty origin: JAVA receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -184,7 +225,10 @@ KtFunctionSymbol: name: codePointAt origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -202,14 +246,20 @@ KtFunctionSymbol: name: index origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -232,7 +282,10 @@ KtFunctionSymbol: name: codePointBefore origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -250,14 +303,20 @@ KtFunctionSymbol: name: index origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -280,7 +339,10 @@ KtFunctionSymbol: name: codePointCount origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -298,7 +360,10 @@ KtFunctionSymbol: name: beginIndex origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -317,14 +382,20 @@ KtFunctionSymbol: name: endIndex origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -347,7 +418,10 @@ KtFunctionSymbol: name: offsetByCodePoints origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -365,7 +439,10 @@ KtFunctionSymbol: name: index origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -384,14 +461,20 @@ KtFunctionSymbol: name: codePointOffset origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -414,7 +497,10 @@ KtFunctionSymbol: name: getChars origin: JAVA receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -432,7 +518,9 @@ KtFunctionSymbol: name: dst origin: JAVA receiverParameter: null - returnType: kotlin/CharArray! + returnType: KtFlexibleType: + type: kotlin/CharArray! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -451,14 +539,20 @@ KtFunctionSymbol: name: dstBegin origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null ] visibility: PackageVisibility - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -481,7 +575,10 @@ KtFunctionSymbol: name: getChars origin: JAVA receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -499,7 +596,10 @@ KtFunctionSymbol: name: srcBegin origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -518,7 +618,10 @@ KtFunctionSymbol: name: srcEnd origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -537,7 +640,9 @@ KtFunctionSymbol: name: dst origin: JAVA receiverParameter: null - returnType: kotlin/CharArray! + returnType: KtFlexibleType: + type: kotlin/CharArray! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -556,14 +661,20 @@ KtFunctionSymbol: name: dstBegin origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -589,7 +700,10 @@ KtFunctionSymbol: name: getBytes origin: JAVA receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -607,7 +721,10 @@ KtFunctionSymbol: name: srcBegin origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -626,7 +743,10 @@ KtFunctionSymbol: name: srcEnd origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -645,7 +765,9 @@ KtFunctionSymbol: name: dst origin: JAVA receiverParameter: null - returnType: kotlin/ByteArray! + returnType: KtFlexibleType: + type: kotlin/ByteArray! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -664,14 +786,20 @@ KtFunctionSymbol: name: dstBegin origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: DeprecationInfo(deprecationLevel=WARNING, propagatesToOverrides=false, message=Deprecated in Java) @@ -694,7 +822,9 @@ KtFunctionSymbol: name: getBytes origin: JAVA receiverParameter: null - returnType: kotlin/ByteArray! + returnType: KtFlexibleType: + type: kotlin/ByteArray! + annotationsList: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -712,14 +842,19 @@ KtFunctionSymbol: name: charsetName origin: JAVA receiverParameter: null - returnType: kotlin/String! + returnType: KtFlexibleType: + type: kotlin/String! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -742,7 +877,9 @@ KtFunctionSymbol: name: getBytes origin: JAVA receiverParameter: null - returnType: kotlin/ByteArray! + returnType: KtFlexibleType: + type: kotlin/ByteArray! + annotationsList: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -760,14 +897,19 @@ KtFunctionSymbol: name: charset origin: JAVA receiverParameter: null - returnType: java/nio/charset/Charset! + returnType: KtFlexibleType: + type: java/nio/charset/Charset! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -790,12 +932,17 @@ KtFunctionSymbol: name: getBytes origin: JAVA receiverParameter: null - returnType: kotlin/ByteArray! + returnType: KtFlexibleType: + type: kotlin/ByteArray! + annotationsList: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -818,7 +965,10 @@ KtFunctionSymbol: name: equals origin: JAVA receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -836,14 +986,20 @@ KtFunctionSymbol: name: anObject origin: JAVA receiverParameter: null - returnType: kotlin/Any? + returnType: KtUsualClassType: + type: kotlin/Any? + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -866,7 +1022,10 @@ KtFunctionSymbol: name: contentEquals origin: JAVA receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -884,14 +1043,19 @@ KtFunctionSymbol: name: sb origin: JAVA receiverParameter: null - returnType: java/lang/StringBuffer! + returnType: KtFlexibleType: + type: java/lang/StringBuffer! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -914,7 +1078,10 @@ KtFunctionSymbol: name: contentEquals origin: JAVA receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -932,14 +1099,19 @@ KtFunctionSymbol: name: cs origin: JAVA receiverParameter: null - returnType: kotlin/CharSequence! + returnType: KtFlexibleType: + type: kotlin/CharSequence! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -962,7 +1134,10 @@ KtFunctionSymbol: name: equalsIgnoreCase origin: JAVA receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -980,14 +1155,19 @@ KtFunctionSymbol: name: anotherString origin: JAVA receiverParameter: null - returnType: kotlin/String! + returnType: KtFlexibleType: + type: kotlin/String! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -1010,7 +1190,10 @@ KtFunctionSymbol: name: compareTo origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -1028,14 +1211,19 @@ KtFunctionSymbol: name: anotherString origin: JAVA receiverParameter: null - returnType: kotlin/String! + returnType: KtFlexibleType: + type: kotlin/String! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -1058,7 +1246,10 @@ KtFunctionSymbol: name: compareToIgnoreCase origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -1076,14 +1267,19 @@ KtFunctionSymbol: name: str origin: JAVA receiverParameter: null - returnType: kotlin/String! + returnType: KtFlexibleType: + type: kotlin/String! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -1106,7 +1302,10 @@ KtFunctionSymbol: name: regionMatches origin: JAVA receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -1124,7 +1323,10 @@ KtFunctionSymbol: name: toffset origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -1143,7 +1345,9 @@ KtFunctionSymbol: name: other origin: JAVA receiverParameter: null - returnType: kotlin/String! + returnType: KtFlexibleType: + type: kotlin/String! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -1162,7 +1366,10 @@ KtFunctionSymbol: name: ooffset origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -1181,14 +1388,20 @@ KtFunctionSymbol: name: len origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -1211,7 +1424,10 @@ KtFunctionSymbol: name: regionMatches origin: JAVA receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -1229,7 +1445,10 @@ KtFunctionSymbol: name: ignoreCase origin: JAVA receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -1248,7 +1467,10 @@ KtFunctionSymbol: name: toffset origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -1267,7 +1489,9 @@ KtFunctionSymbol: name: other origin: JAVA receiverParameter: null - returnType: kotlin/String! + returnType: KtFlexibleType: + type: kotlin/String! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -1286,7 +1510,10 @@ KtFunctionSymbol: name: ooffset origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -1305,14 +1532,20 @@ KtFunctionSymbol: name: len origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -1335,7 +1568,10 @@ KtFunctionSymbol: name: startsWith origin: JAVA receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -1353,7 +1589,9 @@ KtFunctionSymbol: name: prefix origin: JAVA receiverParameter: null - returnType: kotlin/String! + returnType: KtFlexibleType: + type: kotlin/String! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -1372,14 +1610,20 @@ KtFunctionSymbol: name: toffset origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -1402,7 +1646,10 @@ KtFunctionSymbol: name: startsWith origin: JAVA receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -1420,14 +1667,19 @@ KtFunctionSymbol: name: prefix origin: JAVA receiverParameter: null - returnType: kotlin/String! + returnType: KtFlexibleType: + type: kotlin/String! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -1450,7 +1702,10 @@ KtFunctionSymbol: name: endsWith origin: JAVA receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -1468,14 +1723,19 @@ KtFunctionSymbol: name: suffix origin: JAVA receiverParameter: null - returnType: kotlin/String! + returnType: KtFlexibleType: + type: kotlin/String! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -1498,12 +1758,18 @@ KtFunctionSymbol: name: hashCode origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -1526,7 +1792,10 @@ KtFunctionSymbol: name: indexOf origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -1544,14 +1813,20 @@ KtFunctionSymbol: name: ch origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -1574,7 +1849,10 @@ KtFunctionSymbol: name: indexOf origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -1592,7 +1870,10 @@ KtFunctionSymbol: name: ch origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -1611,14 +1892,20 @@ KtFunctionSymbol: name: fromIndex origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -1641,7 +1928,10 @@ KtFunctionSymbol: name: indexOf origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -1659,14 +1949,19 @@ KtFunctionSymbol: name: str origin: JAVA receiverParameter: null - returnType: kotlin/String! + returnType: KtFlexibleType: + type: kotlin/String! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -1689,7 +1984,10 @@ KtFunctionSymbol: name: indexOf origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -1707,7 +2005,9 @@ KtFunctionSymbol: name: str origin: JAVA receiverParameter: null - returnType: kotlin/String! + returnType: KtFlexibleType: + type: kotlin/String! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -1726,14 +2026,20 @@ KtFunctionSymbol: name: fromIndex origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -1756,7 +2062,10 @@ KtFunctionSymbol: name: indexOfSupplementary origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -1774,7 +2083,10 @@ KtFunctionSymbol: name: ch origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -1793,14 +2105,20 @@ KtFunctionSymbol: name: fromIndex origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null ] visibility: Private - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -1823,7 +2141,10 @@ KtFunctionSymbol: name: lastIndexOf origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -1841,14 +2162,20 @@ KtFunctionSymbol: name: ch origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -1871,7 +2198,10 @@ KtFunctionSymbol: name: lastIndexOf origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -1889,7 +2219,10 @@ KtFunctionSymbol: name: ch origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -1908,14 +2241,20 @@ KtFunctionSymbol: name: fromIndex origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -1938,7 +2277,10 @@ KtFunctionSymbol: name: lastIndexOf origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -1956,14 +2298,19 @@ KtFunctionSymbol: name: str origin: JAVA receiverParameter: null - returnType: kotlin/String! + returnType: KtFlexibleType: + type: kotlin/String! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -1986,7 +2333,10 @@ KtFunctionSymbol: name: lastIndexOf origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -2004,7 +2354,9 @@ KtFunctionSymbol: name: str origin: JAVA receiverParameter: null - returnType: kotlin/String! + returnType: KtFlexibleType: + type: kotlin/String! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -2023,14 +2375,20 @@ KtFunctionSymbol: name: fromIndex origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -2053,7 +2411,10 @@ KtFunctionSymbol: name: lastIndexOfSupplementary origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -2071,7 +2432,10 @@ KtFunctionSymbol: name: ch origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -2090,14 +2454,20 @@ KtFunctionSymbol: name: fromIndex origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null ] visibility: Private - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -2120,7 +2490,9 @@ KtFunctionSymbol: name: substring origin: JAVA receiverParameter: null - returnType: kotlin/String! + returnType: KtFlexibleType: + type: kotlin/String! + annotationsList: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -2138,14 +2510,20 @@ KtFunctionSymbol: name: beginIndex origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -2168,7 +2546,9 @@ KtFunctionSymbol: name: substring origin: JAVA receiverParameter: null - returnType: kotlin/String! + returnType: KtFlexibleType: + type: kotlin/String! + annotationsList: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -2186,7 +2566,10 @@ KtFunctionSymbol: name: beginIndex origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -2205,14 +2588,20 @@ KtFunctionSymbol: name: endIndex origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -2235,7 +2624,10 @@ KtFunctionSymbol: name: subSequence origin: JAVA receiverParameter: null - returnType: @EnhancedNullability kotlin/CharSequence + returnType: KtUsualClassType: + type: @EnhancedNullability kotlin/CharSequence + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -2253,7 +2645,10 @@ KtFunctionSymbol: name: beginIndex origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -2272,14 +2667,20 @@ KtFunctionSymbol: name: endIndex origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -2302,7 +2703,9 @@ KtFunctionSymbol: name: concat origin: JAVA receiverParameter: null - returnType: kotlin/String! + returnType: KtFlexibleType: + type: kotlin/String! + annotationsList: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -2320,14 +2723,19 @@ KtFunctionSymbol: name: str origin: JAVA receiverParameter: null - returnType: kotlin/String! + returnType: KtFlexibleType: + type: kotlin/String! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -2350,7 +2758,9 @@ KtFunctionSymbol: name: replace origin: JAVA receiverParameter: null - returnType: kotlin/String! + returnType: KtFlexibleType: + type: kotlin/String! + annotationsList: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -2368,7 +2778,10 @@ KtFunctionSymbol: name: oldChar origin: JAVA receiverParameter: null - returnType: kotlin/Char + returnType: KtUsualClassType: + type: kotlin/Char + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -2387,14 +2800,20 @@ KtFunctionSymbol: name: newChar origin: JAVA receiverParameter: null - returnType: kotlin/Char + returnType: KtUsualClassType: + type: kotlin/Char + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -2417,7 +2836,9 @@ KtFunctionSymbol: name: replace origin: JAVA receiverParameter: null - returnType: kotlin/String! + returnType: KtFlexibleType: + type: kotlin/String! + annotationsList: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -2435,7 +2856,9 @@ KtFunctionSymbol: name: target origin: JAVA receiverParameter: null - returnType: kotlin/CharSequence! + returnType: KtFlexibleType: + type: kotlin/CharSequence! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -2454,14 +2877,19 @@ KtFunctionSymbol: name: replacement origin: JAVA receiverParameter: null - returnType: kotlin/CharSequence! + returnType: KtFlexibleType: + type: kotlin/CharSequence! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -2484,7 +2912,10 @@ KtFunctionSymbol: name: matches origin: JAVA receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -2502,14 +2933,19 @@ KtFunctionSymbol: name: regex origin: JAVA receiverParameter: null - returnType: kotlin/String! + returnType: KtFlexibleType: + type: kotlin/String! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -2532,7 +2968,10 @@ KtFunctionSymbol: name: contains origin: JAVA receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -2550,14 +2989,19 @@ KtFunctionSymbol: name: s origin: JAVA receiverParameter: null - returnType: kotlin/CharSequence! + returnType: KtFlexibleType: + type: kotlin/CharSequence! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -2580,7 +3024,9 @@ KtFunctionSymbol: name: replaceFirst origin: JAVA receiverParameter: null - returnType: kotlin/String! + returnType: KtFlexibleType: + type: kotlin/String! + annotationsList: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -2598,7 +3044,9 @@ KtFunctionSymbol: name: regex origin: JAVA receiverParameter: null - returnType: kotlin/String! + returnType: KtFlexibleType: + type: kotlin/String! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -2617,14 +3065,19 @@ KtFunctionSymbol: name: replacement origin: JAVA receiverParameter: null - returnType: kotlin/String! + returnType: KtFlexibleType: + type: kotlin/String! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -2647,7 +3100,9 @@ KtFunctionSymbol: name: replaceAll origin: JAVA receiverParameter: null - returnType: kotlin/String! + returnType: KtFlexibleType: + type: kotlin/String! + annotationsList: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -2665,7 +3120,9 @@ KtFunctionSymbol: name: regex origin: JAVA receiverParameter: null - returnType: kotlin/String! + returnType: KtFlexibleType: + type: kotlin/String! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -2684,14 +3141,19 @@ KtFunctionSymbol: name: replacement origin: JAVA receiverParameter: null - returnType: kotlin/String! + returnType: KtFlexibleType: + type: kotlin/String! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -2714,7 +3176,9 @@ KtFunctionSymbol: name: split origin: JAVA receiverParameter: null - returnType: ft, kotlin/Array?> + returnType: KtFlexibleType: + type: ft, kotlin/Array?> + annotationsList: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -2732,7 +3196,9 @@ KtFunctionSymbol: name: regex origin: JAVA receiverParameter: null - returnType: kotlin/String! + returnType: KtFlexibleType: + type: kotlin/String! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -2751,14 +3217,20 @@ KtFunctionSymbol: name: limit origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -2781,7 +3253,9 @@ KtFunctionSymbol: name: split origin: JAVA receiverParameter: null - returnType: ft, kotlin/Array?> + returnType: KtFlexibleType: + type: ft, kotlin/Array?> + annotationsList: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -2799,14 +3273,19 @@ KtFunctionSymbol: name: regex origin: JAVA receiverParameter: null - returnType: kotlin/String! + returnType: KtFlexibleType: + type: kotlin/String! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -2829,7 +3308,9 @@ KtFunctionSymbol: name: toLowerCase origin: JAVA receiverParameter: null - returnType: kotlin/String! + returnType: KtFlexibleType: + type: kotlin/String! + annotationsList: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -2847,14 +3328,19 @@ KtFunctionSymbol: name: locale origin: JAVA receiverParameter: null - returnType: java/util/Locale! + returnType: KtFlexibleType: + type: java/util/Locale! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -2877,12 +3363,17 @@ KtFunctionSymbol: name: toLowerCase origin: JAVA receiverParameter: null - returnType: kotlin/String! + returnType: KtFlexibleType: + type: kotlin/String! + annotationsList: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -2905,7 +3396,9 @@ KtFunctionSymbol: name: toUpperCase origin: JAVA receiverParameter: null - returnType: kotlin/String! + returnType: KtFlexibleType: + type: kotlin/String! + annotationsList: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -2923,14 +3416,19 @@ KtFunctionSymbol: name: locale origin: JAVA receiverParameter: null - returnType: java/util/Locale! + returnType: KtFlexibleType: + type: java/util/Locale! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -2953,12 +3451,17 @@ KtFunctionSymbol: name: toUpperCase origin: JAVA receiverParameter: null - returnType: kotlin/String! + returnType: KtFlexibleType: + type: kotlin/String! + annotationsList: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -2981,12 +3484,17 @@ KtFunctionSymbol: name: trim origin: JAVA receiverParameter: null - returnType: kotlin/String! + returnType: KtFlexibleType: + type: kotlin/String! + annotationsList: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -3009,12 +3517,18 @@ KtFunctionSymbol: name: toString origin: JAVA receiverParameter: null - returnType: @EnhancedNullability kotlin/String + returnType: KtUsualClassType: + type: @EnhancedNullability kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -3037,12 +3551,17 @@ KtFunctionSymbol: name: toCharArray origin: JAVA receiverParameter: null - returnType: kotlin/CharArray! + returnType: KtFlexibleType: + type: kotlin/CharArray! + annotationsList: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -3065,12 +3584,17 @@ KtFunctionSymbol: name: intern origin: JAVA receiverParameter: null - returnType: kotlin/String! + returnType: KtFlexibleType: + type: kotlin/String! + annotationsList: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -3093,7 +3617,10 @@ KtFunctionSymbol: name: get origin: JAVA receiverParameter: null - returnType: kotlin/Char + returnType: KtUsualClassType: + type: kotlin/Char + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -3111,14 +3638,20 @@ KtFunctionSymbol: name: index origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): java/lang/String + getDispatchReceiver(): KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSdkModule "SDK jdk" deprecationStatus: null @@ -3137,9 +3670,22 @@ KtNamedClassOrObjectSymbol: name: CaseInsensitiveComparator origin: JAVA superTypes: [ - kotlin/Any - java/util/Comparator - java/io/Serializable + KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] + KtUsualClassType: + type: java/util/Comparator + annotationsList: [] + ownTypeArguments: [ + KtFlexibleType: + type: kotlin/String! + annotationsList: [] + ] + KtUsualClassType: + type: java/io/Serializable + annotationsList: [] + ownTypeArguments: [] ] symbolKind: CLASS_MEMBER typeParameters: [] @@ -3158,7 +3704,10 @@ KtConstructorSymbol: isPrimary: false origin: JAVA receiverParameter: null - returnType: java/lang/String + returnType: KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] @@ -3176,7 +3725,10 @@ KtConstructorSymbol: isPrimary: false origin: JAVA receiverParameter: null - returnType: java/lang/String + returnType: KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -3194,7 +3746,9 @@ KtConstructorSymbol: name: original origin: JAVA receiverParameter: null - returnType: kotlin/String! + returnType: KtFlexibleType: + type: kotlin/String! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -3214,7 +3768,10 @@ KtConstructorSymbol: isPrimary: false origin: JAVA receiverParameter: null - returnType: java/lang/String + returnType: KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -3232,7 +3789,9 @@ KtConstructorSymbol: name: value origin: JAVA receiverParameter: null - returnType: kotlin/CharArray! + returnType: KtFlexibleType: + type: kotlin/CharArray! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -3252,7 +3811,10 @@ KtConstructorSymbol: isPrimary: false origin: JAVA receiverParameter: null - returnType: java/lang/String + returnType: KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -3270,7 +3832,9 @@ KtConstructorSymbol: name: value origin: JAVA receiverParameter: null - returnType: kotlin/CharArray! + returnType: KtFlexibleType: + type: kotlin/CharArray! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -3289,7 +3853,10 @@ KtConstructorSymbol: name: offset origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -3308,7 +3875,10 @@ KtConstructorSymbol: name: count origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -3328,7 +3898,10 @@ KtConstructorSymbol: isPrimary: false origin: JAVA receiverParameter: null - returnType: java/lang/String + returnType: KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -3346,7 +3919,9 @@ KtConstructorSymbol: name: codePoints origin: JAVA receiverParameter: null - returnType: kotlin/IntArray! + returnType: KtFlexibleType: + type: kotlin/IntArray! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -3365,7 +3940,10 @@ KtConstructorSymbol: name: offset origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -3384,7 +3962,10 @@ KtConstructorSymbol: name: count origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -3407,7 +3988,10 @@ KtConstructorSymbol: isPrimary: false origin: JAVA receiverParameter: null - returnType: java/lang/String + returnType: KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -3425,7 +4009,9 @@ KtConstructorSymbol: name: ascii origin: JAVA receiverParameter: null - returnType: kotlin/ByteArray! + returnType: KtFlexibleType: + type: kotlin/ByteArray! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -3444,7 +4030,10 @@ KtConstructorSymbol: name: hibyte origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -3463,7 +4052,10 @@ KtConstructorSymbol: name: offset origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -3482,7 +4074,10 @@ KtConstructorSymbol: name: count origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -3505,7 +4100,10 @@ KtConstructorSymbol: isPrimary: false origin: JAVA receiverParameter: null - returnType: java/lang/String + returnType: KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -3523,7 +4121,9 @@ KtConstructorSymbol: name: ascii origin: JAVA receiverParameter: null - returnType: kotlin/ByteArray! + returnType: KtFlexibleType: + type: kotlin/ByteArray! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -3542,7 +4142,10 @@ KtConstructorSymbol: name: hibyte origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -3562,7 +4165,10 @@ KtConstructorSymbol: isPrimary: false origin: JAVA receiverParameter: null - returnType: java/lang/String + returnType: KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -3580,7 +4186,9 @@ KtConstructorSymbol: name: bytes origin: JAVA receiverParameter: null - returnType: kotlin/ByteArray! + returnType: KtFlexibleType: + type: kotlin/ByteArray! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -3599,7 +4207,10 @@ KtConstructorSymbol: name: offset origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -3618,7 +4229,10 @@ KtConstructorSymbol: name: length origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -3637,7 +4251,9 @@ KtConstructorSymbol: name: charsetName origin: JAVA receiverParameter: null - returnType: kotlin/String! + returnType: KtFlexibleType: + type: kotlin/String! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -3657,7 +4273,10 @@ KtConstructorSymbol: isPrimary: false origin: JAVA receiverParameter: null - returnType: java/lang/String + returnType: KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -3675,7 +4294,9 @@ KtConstructorSymbol: name: bytes origin: JAVA receiverParameter: null - returnType: kotlin/ByteArray! + returnType: KtFlexibleType: + type: kotlin/ByteArray! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -3694,7 +4315,10 @@ KtConstructorSymbol: name: offset origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -3713,7 +4337,10 @@ KtConstructorSymbol: name: length origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -3732,7 +4359,9 @@ KtConstructorSymbol: name: charset origin: JAVA receiverParameter: null - returnType: java/nio/charset/Charset! + returnType: KtFlexibleType: + type: java/nio/charset/Charset! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -3752,7 +4381,10 @@ KtConstructorSymbol: isPrimary: false origin: JAVA receiverParameter: null - returnType: java/lang/String + returnType: KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -3770,7 +4402,9 @@ KtConstructorSymbol: name: bytes origin: JAVA receiverParameter: null - returnType: kotlin/ByteArray! + returnType: KtFlexibleType: + type: kotlin/ByteArray! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -3789,7 +4423,9 @@ KtConstructorSymbol: name: charsetName origin: JAVA receiverParameter: null - returnType: kotlin/String! + returnType: KtFlexibleType: + type: kotlin/String! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -3809,7 +4445,10 @@ KtConstructorSymbol: isPrimary: false origin: JAVA receiverParameter: null - returnType: java/lang/String + returnType: KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -3827,7 +4466,9 @@ KtConstructorSymbol: name: bytes origin: JAVA receiverParameter: null - returnType: kotlin/ByteArray! + returnType: KtFlexibleType: + type: kotlin/ByteArray! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -3846,7 +4487,9 @@ KtConstructorSymbol: name: charset origin: JAVA receiverParameter: null - returnType: java/nio/charset/Charset! + returnType: KtFlexibleType: + type: java/nio/charset/Charset! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -3866,7 +4509,10 @@ KtConstructorSymbol: isPrimary: false origin: JAVA receiverParameter: null - returnType: java/lang/String + returnType: KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -3884,7 +4530,9 @@ KtConstructorSymbol: name: bytes origin: JAVA receiverParameter: null - returnType: kotlin/ByteArray! + returnType: KtFlexibleType: + type: kotlin/ByteArray! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -3903,7 +4551,10 @@ KtConstructorSymbol: name: offset origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -3922,7 +4573,10 @@ KtConstructorSymbol: name: length origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -3942,7 +4596,10 @@ KtConstructorSymbol: isPrimary: false origin: JAVA receiverParameter: null - returnType: java/lang/String + returnType: KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -3960,7 +4617,9 @@ KtConstructorSymbol: name: bytes origin: JAVA receiverParameter: null - returnType: kotlin/ByteArray! + returnType: KtFlexibleType: + type: kotlin/ByteArray! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -3980,7 +4639,10 @@ KtConstructorSymbol: isPrimary: false origin: JAVA receiverParameter: null - returnType: java/lang/String + returnType: KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -3998,7 +4660,9 @@ KtConstructorSymbol: name: buffer origin: JAVA receiverParameter: null - returnType: java/lang/StringBuffer! + returnType: KtFlexibleType: + type: java/lang/StringBuffer! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -4018,7 +4682,10 @@ KtConstructorSymbol: isPrimary: false origin: JAVA receiverParameter: null - returnType: java/lang/String + returnType: KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -4036,7 +4703,9 @@ KtConstructorSymbol: name: builder origin: JAVA receiverParameter: null - returnType: java/lang/StringBuilder! + returnType: KtFlexibleType: + type: java/lang/StringBuilder! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -4056,7 +4725,10 @@ KtConstructorSymbol: isPrimary: false origin: JAVA receiverParameter: null - returnType: java/lang/String + returnType: KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -4074,7 +4746,9 @@ KtConstructorSymbol: name: value origin: JAVA receiverParameter: null - returnType: kotlin/CharArray! + returnType: KtFlexibleType: + type: kotlin/CharArray! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -4093,7 +4767,10 @@ KtConstructorSymbol: name: share origin: JAVA receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -4116,7 +4793,10 @@ KtConstructorSymbol: isPrimary: false origin: JAVA receiverParameter: null - returnType: java/lang/String + returnType: KtUsualClassType: + type: java/lang/String + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -4134,7 +4814,10 @@ KtConstructorSymbol: name: offset origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -4153,7 +4836,10 @@ KtConstructorSymbol: name: count origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" @@ -4172,7 +4858,9 @@ KtConstructorSymbol: name: value origin: JAVA receiverParameter: null - returnType: kotlin/CharArray! + returnType: KtFlexibleType: + type: kotlin/CharArray! + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSdkModule "SDK jdk" diff --git a/analysis/analysis-api/testData/scopes/memberScopeByFqName/javaField.txt b/analysis/analysis-api/testData/scopes/memberScopeByFqName/javaField.txt index 164488800df..a95dc4354f0 100644 --- a/analysis/analysis-api/testData/scopes/memberScopeByFqName/javaField.txt +++ b/analysis/analysis-api/testData/scopes/memberScopeByFqName/javaField.txt @@ -9,11 +9,17 @@ KtJavaFieldSymbol: name: field origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): JavaClass + getDispatchReceiver(): KtUsualClassType: + type: JavaClass + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -28,11 +34,16 @@ KtJavaFieldSymbol: name: field2 origin: JAVA receiverParameter: null - returnType: kotlin/String! + returnType: KtFlexibleType: + type: kotlin/String! + annotationsList: [] symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): JavaClass + getDispatchReceiver(): KtUsualClassType: + type: JavaClass + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -55,7 +66,10 @@ KtFunctionSymbol: name: equals origin: LIBRARY receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -73,14 +87,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Any? + returnType: KtUsualClassType: + type: kotlin/Any? + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Any + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -103,12 +123,18 @@ KtFunctionSymbol: name: hashCode origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): kotlin/Any + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -131,12 +157,18 @@ KtFunctionSymbol: name: toString origin: LIBRARY receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): kotlin/Any + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -150,7 +182,10 @@ KtConstructorSymbol: isPrimary: true origin: JAVA receiverParameter: null - returnType: JavaClass + returnType: KtUsualClassType: + type: JavaClass + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] diff --git a/analysis/analysis-api/testData/scopes/memberScopeByFqName/javaFieldClash.txt b/analysis/analysis-api/testData/scopes/memberScopeByFqName/javaFieldClash.txt index 81a52c66b5b..b4baded1e45 100644 --- a/analysis/analysis-api/testData/scopes/memberScopeByFqName/javaFieldClash.txt +++ b/analysis/analysis-api/testData/scopes/memberScopeByFqName/javaFieldClash.txt @@ -9,11 +9,17 @@ KtJavaFieldSymbol: name: field origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): JavaClass + getDispatchReceiver(): KtUsualClassType: + type: JavaClass + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -28,11 +34,16 @@ KtJavaFieldSymbol: name: field origin: JAVA receiverParameter: null - returnType: kotlin/String! + returnType: KtFlexibleType: + type: kotlin/String! + annotationsList: [] symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): JavaClass + getDispatchReceiver(): KtUsualClassType: + type: JavaClass + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -55,7 +66,10 @@ KtFunctionSymbol: name: equals origin: LIBRARY receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -73,14 +87,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Any? + returnType: KtUsualClassType: + type: kotlin/Any? + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Any + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -103,12 +123,18 @@ KtFunctionSymbol: name: hashCode origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): kotlin/Any + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -131,12 +157,18 @@ KtFunctionSymbol: name: toString origin: LIBRARY receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): kotlin/Any + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -150,7 +182,10 @@ KtConstructorSymbol: isPrimary: true origin: JAVA receiverParameter: null - returnType: JavaClass + returnType: KtUsualClassType: + type: JavaClass + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] diff --git a/analysis/analysis-api/testData/scopes/memberScopeByFqName/javaMethods.txt b/analysis/analysis-api/testData/scopes/memberScopeByFqName/javaMethods.txt index 9ccacefddce..588a02baa23 100644 --- a/analysis/analysis-api/testData/scopes/memberScopeByFqName/javaMethods.txt +++ b/analysis/analysis-api/testData/scopes/memberScopeByFqName/javaMethods.txt @@ -17,12 +17,18 @@ KtFunctionSymbol: name: foo origin: JAVA receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): JavaClass + getDispatchReceiver(): KtUsualClassType: + type: JavaClass + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -45,7 +51,9 @@ KtFunctionSymbol: name: doo origin: JAVA receiverParameter: null - returnType: kotlin/String! + returnType: KtFlexibleType: + type: kotlin/String! + annotationsList: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -63,14 +71,20 @@ KtFunctionSymbol: name: i origin: JAVA receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): JavaClass + getDispatchReceiver(): KtUsualClassType: + type: JavaClass + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -93,12 +107,17 @@ KtFunctionSymbol: name: getStringValue origin: JAVA receiverParameter: null - returnType: kotlin/String! + returnType: KtFlexibleType: + type: kotlin/String! + annotationsList: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): JavaClass + getDispatchReceiver(): KtUsualClassType: + type: JavaClass + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -121,7 +140,10 @@ KtFunctionSymbol: name: equals origin: LIBRARY receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -139,14 +161,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Any? + returnType: KtUsualClassType: + type: kotlin/Any? + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Any + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -169,12 +197,18 @@ KtFunctionSymbol: name: hashCode origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): kotlin/Any + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -197,12 +231,18 @@ KtFunctionSymbol: name: toString origin: LIBRARY receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): kotlin/Any + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -216,7 +256,10 @@ KtConstructorSymbol: isPrimary: true origin: JAVA receiverParameter: null - returnType: JavaClass + returnType: KtUsualClassType: + type: JavaClass + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] diff --git a/analysis/analysis-api/testData/scopes/memberScopeByFqName/kotlin.Function2.txt b/analysis/analysis-api/testData/scopes/memberScopeByFqName/kotlin.Function2.txt index b7b33abeb68..2fd2272812a 100644 --- a/analysis/analysis-api/testData/scopes/memberScopeByFqName/kotlin.Function2.txt +++ b/analysis/analysis-api/testData/scopes/memberScopeByFqName/kotlin.Function2.txt @@ -17,7 +17,9 @@ KtFunctionSymbol: name: invoke origin: LIBRARY receiverParameter: null - returnType: R + returnType: KtTypeParameterType: + type: R + annotationsList: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -35,7 +37,9 @@ KtFunctionSymbol: name: p1 origin: LIBRARY receiverParameter: null - returnType: P1 + returnType: KtTypeParameterType: + type: P1 + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" @@ -54,14 +58,29 @@ KtFunctionSymbol: name: p2 origin: LIBRARY receiverParameter: null - returnType: P2 + returnType: KtTypeParameterType: + type: P2 + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Function2 + getDispatchReceiver(): KtFunctionalType: + type: kotlin/Function2 + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: P1 + annotationsList: [] + KtTypeParameterType: + type: P2 + annotationsList: [] + KtTypeParameterType: + type: R + annotationsList: [] + ] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -84,7 +103,10 @@ KtFunctionSymbol: name: equals origin: LIBRARY receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -102,14 +124,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Any? + returnType: KtUsualClassType: + type: kotlin/Any? + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Any + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -132,12 +160,18 @@ KtFunctionSymbol: name: hashCode origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): kotlin/Any + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -160,11 +194,17 @@ KtFunctionSymbol: name: toString origin: LIBRARY receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): kotlin/Any + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null \ No newline at end of file diff --git a/analysis/analysis-api/testData/scopes/memberScopeByFqName/withTestCompilerPluginEnabled/customSerlializable.txt b/analysis/analysis-api/testData/scopes/memberScopeByFqName/withTestCompilerPluginEnabled/customSerlializable.txt index a625ffe4ff1..c3136e258fb 100644 --- a/analysis/analysis-api/testData/scopes/memberScopeByFqName/withTestCompilerPluginEnabled/customSerlializable.txt +++ b/analysis/analysis-api/testData/scopes/memberScopeByFqName/withTestCompilerPluginEnabled/customSerlializable.txt @@ -17,7 +17,10 @@ KtFunctionSymbol: name: serializeFirstTarget origin: PLUGIN receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -35,14 +38,20 @@ KtFunctionSymbol: name: x origin: PLUGIN receiverParameter: null - returnType: test/FirstTarget + returnType: KtUsualClassType: + type: test/FirstTarget + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): test/Serializer + getDispatchReceiver(): KtUsualClassType: + type: test/Serializer + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -65,7 +74,10 @@ KtFunctionSymbol: name: serializeSecondTarget origin: PLUGIN receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -83,14 +95,20 @@ KtFunctionSymbol: name: x origin: PLUGIN receiverParameter: null - returnType: test/SecondTarget + returnType: KtUsualClassType: + type: test/SecondTarget + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): test/Serializer + getDispatchReceiver(): KtUsualClassType: + type: test/Serializer + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -113,7 +131,10 @@ KtFunctionSymbol: name: equals origin: LIBRARY receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -131,14 +152,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Any? + returnType: KtUsualClassType: + type: kotlin/Any? + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Any + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -161,12 +188,18 @@ KtFunctionSymbol: name: hashCode origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): kotlin/Any + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -189,12 +222,18 @@ KtFunctionSymbol: name: toString origin: LIBRARY receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): kotlin/Any + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -208,7 +247,10 @@ KtConstructorSymbol: isPrimary: true origin: SOURCE_MEMBER_GENERATED receiverParameter: null - returnType: test/Serializer + returnType: KtUsualClassType: + type: test/Serializer + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] diff --git a/analysis/analysis-api/testData/scopes/memberScopeByFqName/withTestCompilerPluginEnabled/generatedCompanionWithFoo.txt b/analysis/analysis-api/testData/scopes/memberScopeByFqName/withTestCompilerPluginEnabled/generatedCompanionWithFoo.txt index 496c6dc1a02..98eb6990712 100644 --- a/analysis/analysis-api/testData/scopes/memberScopeByFqName/withTestCompilerPluginEnabled/generatedCompanionWithFoo.txt +++ b/analysis/analysis-api/testData/scopes/memberScopeByFqName/withTestCompilerPluginEnabled/generatedCompanionWithFoo.txt @@ -17,12 +17,18 @@ KtFunctionSymbol: name: foo origin: PLUGIN receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): test/WithGeneratedCompanion.Companion + getDispatchReceiver(): KtUsualClassType: + type: test/WithGeneratedCompanion.Companion + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -45,7 +51,10 @@ KtFunctionSymbol: name: equals origin: LIBRARY receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -63,14 +72,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Any? + returnType: KtUsualClassType: + type: kotlin/Any? + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Any + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -93,12 +108,18 @@ KtFunctionSymbol: name: hashCode origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): kotlin/Any + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -121,12 +142,18 @@ KtFunctionSymbol: name: toString origin: LIBRARY receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): kotlin/Any + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -140,10 +167,13 @@ KtConstructorSymbol: isPrimary: true origin: PLUGIN receiverParameter: null - returnType: test/WithGeneratedCompanion.Companion + returnType: KtUsualClassType: + type: test/WithGeneratedCompanion.Companion + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Private getContainingModule: KtSourceModule "Sources of main" - deprecationStatus: null + deprecationStatus: null \ No newline at end of file diff --git a/analysis/analysis-api/testData/scopes/memberScopeByFqName/withTestCompilerPluginEnabled/nestedClassAndMaterializeMember.txt b/analysis/analysis-api/testData/scopes/memberScopeByFqName/withTestCompilerPluginEnabled/nestedClassAndMaterializeMember.txt index cfd5c71e02f..e2e963e9d4c 100644 --- a/analysis/analysis-api/testData/scopes/memberScopeByFqName/withTestCompilerPluginEnabled/nestedClassAndMaterializeMember.txt +++ b/analysis/analysis-api/testData/scopes/memberScopeByFqName/withTestCompilerPluginEnabled/nestedClassAndMaterializeMember.txt @@ -17,12 +17,18 @@ KtFunctionSymbol: name: materialize origin: PLUGIN receiverParameter: null - returnType: test/MyClass + returnType: KtUsualClassType: + type: test/MyClass + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): test/MyClass + getDispatchReceiver(): KtUsualClassType: + type: test/MyClass + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -45,7 +51,10 @@ KtFunctionSymbol: name: equals origin: LIBRARY receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -63,14 +72,20 @@ KtFunctionSymbol: name: other origin: LIBRARY receiverParameter: null - returnType: kotlin/Any? + returnType: KtUsualClassType: + type: kotlin/Any? + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/Any + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -93,12 +108,18 @@ KtFunctionSymbol: name: hashCode origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): kotlin/Any + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -121,12 +142,18 @@ KtFunctionSymbol: name: toString origin: LIBRARY receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): kotlin/Any + getDispatchReceiver(): KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -145,7 +172,10 @@ KtNamedClassOrObjectSymbol: name: Nested origin: PLUGIN superTypes: [ - kotlin/Any + KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] ] symbolKind: CLASS_MEMBER typeParameters: [] @@ -164,7 +194,10 @@ KtConstructorSymbol: isPrimary: true origin: SOURCE_MEMBER_GENERATED receiverParameter: null - returnType: test/MyClass + returnType: KtUsualClassType: + type: test/MyClass + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] diff --git a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/ExpandedParameterType.descriptors.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/ExpandedParameterType.descriptors.txt index 317988013a2..604a401ba6c 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/ExpandedParameterType.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/ExpandedParameterType.descriptors.txt @@ -17,7 +17,10 @@ KtFunctionSymbol: name: foo origin: SOURCE receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [ @@ -35,7 +38,10 @@ KtFunctionSymbol: name: param origin: SOURCE receiverParameter: null - returnType: SecondAlias + returnType: KtUsualClassType: + type: SecondAlias + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" diff --git a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/ExpandedParameterType.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/ExpandedParameterType.txt index 9f9a2003838..a52d51021b8 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/ExpandedParameterType.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/ExpandedParameterType.txt @@ -17,7 +17,10 @@ KtFunctionSymbol: name: foo origin: SOURCE receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [ @@ -35,7 +38,10 @@ KtFunctionSymbol: name: param origin: SOURCE receiverParameter: null - returnType: Base + returnType: KtUsualClassType: + type: Base + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" diff --git a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/ExpandedReturnType.descriptors.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/ExpandedReturnType.descriptors.txt index e634d3e1818..55ebd60ef57 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/ExpandedReturnType.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/ExpandedReturnType.descriptors.txt @@ -17,7 +17,10 @@ KtFunctionSymbol: name: foo origin: SOURCE receiverParameter: null - returnType: SecondAlias + returnType: KtUsualClassType: + type: SecondAlias + annotationsList: [] + ownTypeArguments: [] symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [] diff --git a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/ExpandedReturnType.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/ExpandedReturnType.txt index 6433326595b..836391837e5 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/ExpandedReturnType.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/ExpandedReturnType.txt @@ -17,7 +17,10 @@ KtFunctionSymbol: name: foo origin: SOURCE receiverParameter: null - returnType: Base + returnType: KtUsualClassType: + type: Base + annotationsList: [] + ownTypeArguments: [] symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [] diff --git a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/booleanConstReferenceInImplies.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/booleanConstReferenceInImplies.txt index 0be56fa69c1..6466de42868 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/booleanConstReferenceInImplies.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/booleanConstReferenceInImplies.txt @@ -30,10 +30,13 @@ KtFunctionSymbol: name: booleanConstReferenceInImplies origin: SOURCE receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [] 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/singleSymbolByPsi/contracts/booleanExprContract.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/booleanExprContract.txt index c72f0a491f5..35a61eb4cd6 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/booleanExprContract.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/booleanExprContract.txt @@ -33,7 +33,10 @@ KtFunctionSymbol: name: foo origin: SOURCE receiverParameter: null - returnType: kotlin/Any? + returnType: KtUsualClassType: + type: kotlin/Any? + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -58,7 +61,10 @@ KtFunctionSymbol: name: bar origin: SOURCE receiverParameter: null - returnType: kotlin/Any? + returnType: KtUsualClassType: + type: kotlin/Any? + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -80,7 +86,10 @@ KtFunctionSymbol: name: boolenExprContract origin: SOURCE receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [ @@ -98,7 +107,10 @@ KtFunctionSymbol: name: foo origin: SOURCE receiverParameter: null - returnType: kotlin/Any? + returnType: KtUsualClassType: + type: kotlin/Any? + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -117,7 +129,10 @@ KtFunctionSymbol: name: bar origin: SOURCE receiverParameter: null - returnType: kotlin/Any? + returnType: KtUsualClassType: + type: kotlin/Any? + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -125,4 +140,4 @@ KtFunctionSymbol: ] 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/singleSymbolByPsi/contracts/callsInPlaceAtLeastOnceContract.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/callsInPlaceAtLeastOnceContract.txt index 695b7be9135..a20d837610d 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/callsInPlaceAtLeastOnceContract.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/callsInPlaceAtLeastOnceContract.txt @@ -24,7 +24,15 @@ KtFunctionSymbol: name: block origin: SOURCE receiverParameter: null - returnType: kotlin/Function0 + returnType: KtFunctionalType: + type: kotlin/Function0 + annotationsList: [] + ownTypeArguments: [ + KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] + ] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -45,7 +53,10 @@ KtFunctionSymbol: name: atLeastOnceContract origin: SOURCE receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [ @@ -63,7 +74,15 @@ KtFunctionSymbol: name: block origin: SOURCE receiverParameter: null - returnType: kotlin/Function0 + returnType: KtFunctionalType: + type: kotlin/Function0 + annotationsList: [] + ownTypeArguments: [ + KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] + ] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -71,4 +90,4 @@ KtFunctionSymbol: ] 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/singleSymbolByPsi/contracts/callsInPlaceAtMostOnceContract.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/callsInPlaceAtMostOnceContract.txt index 5e3095eaa70..19590d0bfc2 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/callsInPlaceAtMostOnceContract.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/callsInPlaceAtMostOnceContract.txt @@ -24,7 +24,15 @@ KtFunctionSymbol: name: block origin: SOURCE receiverParameter: null - returnType: kotlin/Function0 + returnType: KtFunctionalType: + type: kotlin/Function0 + annotationsList: [] + ownTypeArguments: [ + KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] + ] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -45,7 +53,10 @@ KtFunctionSymbol: name: atMostOnceContract origin: SOURCE receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [ @@ -63,7 +74,15 @@ KtFunctionSymbol: name: block origin: SOURCE receiverParameter: null - returnType: kotlin/Function0 + returnType: KtFunctionalType: + type: kotlin/Function0 + annotationsList: [] + ownTypeArguments: [ + KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] + ] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -71,4 +90,4 @@ KtFunctionSymbol: ] 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/singleSymbolByPsi/contracts/callsInPlaceExactlyOnceContract.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/callsInPlaceExactlyOnceContract.txt index f802c8ef788..efe8356b071 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/callsInPlaceExactlyOnceContract.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/callsInPlaceExactlyOnceContract.txt @@ -24,7 +24,15 @@ KtFunctionSymbol: name: block origin: SOURCE receiverParameter: null - returnType: kotlin/Function0 + returnType: KtFunctionalType: + type: kotlin/Function0 + annotationsList: [] + ownTypeArguments: [ + KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] + ] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -45,7 +53,10 @@ KtFunctionSymbol: name: exactlyOnceContract origin: SOURCE receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [ @@ -63,7 +74,15 @@ KtFunctionSymbol: name: block origin: SOURCE receiverParameter: null - returnType: kotlin/Function0 + returnType: KtFunctionalType: + type: kotlin/Function0 + annotationsList: [] + ownTypeArguments: [ + KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] + ] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -71,4 +90,4 @@ KtFunctionSymbol: ] 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/singleSymbolByPsi/contracts/callsInPlaceUnknownContract.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/callsInPlaceUnknownContract.txt index dce2460b0e2..d928de7ec13 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/callsInPlaceUnknownContract.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/callsInPlaceUnknownContract.txt @@ -24,7 +24,15 @@ KtFunctionSymbol: name: block origin: SOURCE receiverParameter: null - returnType: kotlin/Function0 + returnType: KtFunctionalType: + type: kotlin/Function0 + annotationsList: [] + ownTypeArguments: [ + KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] + ] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -45,7 +53,10 @@ KtFunctionSymbol: name: unknownContract origin: SOURCE receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [ @@ -63,7 +74,15 @@ KtFunctionSymbol: name: block origin: SOURCE receiverParameter: null - returnType: kotlin/Function0 + returnType: KtFunctionalType: + type: kotlin/Function0 + annotationsList: [] + ownTypeArguments: [ + KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] + ] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -71,4 +90,4 @@ KtFunctionSymbol: ] 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/singleSymbolByPsi/contracts/invalidContractParameterPassedToReturns.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/invalidContractParameterPassedToReturns.txt index f7a5b36cd2c..dcb1ec047a1 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/invalidContractParameterPassedToReturns.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/invalidContractParameterPassedToReturns.txt @@ -20,7 +20,10 @@ KtFunctionSymbol: name: invalidContract origin: SOURCE receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [ @@ -38,7 +41,10 @@ KtFunctionSymbol: name: foo origin: SOURCE receiverParameter: null - returnType: kotlin/Any + returnType: KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -57,7 +63,10 @@ KtFunctionSymbol: name: bar origin: SOURCE receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -65,4 +74,4 @@ KtFunctionSymbol: ] 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/singleSymbolByPsi/contracts/isInstancePredicateContract.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/isInstancePredicateContract.txt index d88afd15362..73a153441d7 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/isInstancePredicateContract.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/isInstancePredicateContract.txt @@ -28,13 +28,19 @@ KtFunctionSymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/Any + returnType: KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null type: - Foo + KtUsualClassType: + type: Foo + annotationsList: [] + ownTypeArguments: [] isNegated: false ] hasStableParameterNames: true @@ -51,7 +57,10 @@ KtFunctionSymbol: name: isInstancePredicateContract origin: SOURCE receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [ @@ -69,7 +78,10 @@ KtFunctionSymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/Any + returnType: KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -77,4 +89,4 @@ KtFunctionSymbol: ] 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/singleSymbolByPsi/contracts/logicalNotContract.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/logicalNotContract.txt index 02c58b20b60..05ff50ff424 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/logicalNotContract.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/logicalNotContract.txt @@ -28,7 +28,10 @@ KtFunctionSymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -48,7 +51,10 @@ KtFunctionSymbol: name: logicalNotContract origin: SOURCE receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [ @@ -66,7 +72,10 @@ KtFunctionSymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -74,4 +83,4 @@ KtFunctionSymbol: ] 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/singleSymbolByPsi/contracts/referenceBooleanReceiverInContract.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/referenceBooleanReceiverInContract.txt index 7a5c6283380..22f5e04257a 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/referenceBooleanReceiverInContract.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/referenceBooleanReceiverInContract.txt @@ -16,7 +16,10 @@ KtFunctionSymbol: annotationsList: [] origin: SOURCE owningCallableSymbol: KtFunctionSymbol(/referenceReceiverInContract) - type: kotlin/Boolean + type: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null ] @@ -37,13 +40,19 @@ KtFunctionSymbol: annotationsList: [] origin: SOURCE owningCallableSymbol: KtFunctionSymbol(/referenceReceiverInContract) - type: kotlin/Boolean + type: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [] 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/singleSymbolByPsi/contracts/referenceReceiverInContract.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/referenceReceiverInContract.txt index c0986b7846b..f0755599ca3 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/referenceReceiverInContract.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/referenceReceiverInContract.txt @@ -14,7 +14,15 @@ KtFunctionSymbol: annotationsList: [] origin: SOURCE owningCallableSymbol: KtFunctionSymbol(/referenceReceiverInContract) - type: kotlin/Function0 + type: KtFunctionalType: + type: kotlin/Function0 + annotationsList: [] + ownTypeArguments: [ + KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] + ] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null occurrencesRange: EXACTLY_ONCE @@ -36,13 +44,24 @@ KtFunctionSymbol: annotationsList: [] origin: SOURCE owningCallableSymbol: KtFunctionSymbol(/referenceReceiverInContract) - type: kotlin/Function0 + type: KtFunctionalType: + type: kotlin/Function0 + annotationsList: [] + ownTypeArguments: [ + KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] + ] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [] 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/singleSymbolByPsi/contracts/returnsContract.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/returnsContract.txt index 1e841afb304..33871185d15 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/returnsContract.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/returnsContract.txt @@ -26,7 +26,10 @@ KtFunctionSymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -46,7 +49,10 @@ KtFunctionSymbol: name: check origin: SOURCE receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [ @@ -64,7 +70,10 @@ KtFunctionSymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -72,4 +81,4 @@ KtFunctionSymbol: ] 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/singleSymbolByPsi/contracts/returnsFalseContract.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/returnsFalseContract.txt index c9f5c9ab1f7..93fdc92d855 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/returnsFalseContract.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/returnsFalseContract.txt @@ -31,7 +31,10 @@ KtFunctionSymbol: name: foo origin: SOURCE receiverParameter: null - returnType: kotlin/Any? + returnType: KtUsualClassType: + type: kotlin/Any? + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -52,7 +55,10 @@ KtFunctionSymbol: name: returnsFalseContract origin: SOURCE receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [ @@ -70,7 +76,10 @@ KtFunctionSymbol: name: foo origin: SOURCE receiverParameter: null - returnType: kotlin/Any? + returnType: KtUsualClassType: + type: kotlin/Any? + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -78,4 +87,4 @@ KtFunctionSymbol: ] 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/singleSymbolByPsi/contracts/returnsNotNullContract.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/returnsNotNullContract.txt index f87f239e1c9..43d0b38052d 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/returnsNotNullContract.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/returnsNotNullContract.txt @@ -28,7 +28,10 @@ KtFunctionSymbol: name: foo origin: SOURCE receiverParameter: null - returnType: kotlin/Any? + returnType: KtUsualClassType: + type: kotlin/Any? + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -49,7 +52,10 @@ KtFunctionSymbol: name: returnsNotNullContract origin: SOURCE receiverParameter: null - returnType: kotlin/Any? + returnType: KtUsualClassType: + type: kotlin/Any? + annotationsList: [] + ownTypeArguments: [] symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [ @@ -67,7 +73,10 @@ KtFunctionSymbol: name: foo origin: SOURCE receiverParameter: null - returnType: kotlin/Any? + returnType: KtUsualClassType: + type: kotlin/Any? + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -75,4 +84,4 @@ KtFunctionSymbol: ] 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/singleSymbolByPsi/contracts/returnsNullContract.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/returnsNullContract.txt index 40df1264434..f568873e066 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/returnsNullContract.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/returnsNullContract.txt @@ -31,7 +31,10 @@ KtFunctionSymbol: name: foo origin: SOURCE receiverParameter: null - returnType: kotlin/Any? + returnType: KtUsualClassType: + type: kotlin/Any? + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -52,7 +55,10 @@ KtFunctionSymbol: name: returnsNullContract origin: SOURCE receiverParameter: null - returnType: kotlin/Any? + returnType: KtUsualClassType: + type: kotlin/Any? + annotationsList: [] + ownTypeArguments: [] symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [ @@ -70,7 +76,10 @@ KtFunctionSymbol: name: foo origin: SOURCE receiverParameter: null - returnType: kotlin/Any? + returnType: KtUsualClassType: + type: kotlin/Any? + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -78,4 +87,4 @@ KtFunctionSymbol: ] 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/singleSymbolByPsi/contracts/returnsTrueContract.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/returnsTrueContract.txt index 70541620058..baa00807d8d 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/returnsTrueContract.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/returnsTrueContract.txt @@ -31,7 +31,10 @@ KtFunctionSymbol: name: foo origin: SOURCE receiverParameter: null - returnType: kotlin/Any? + returnType: KtUsualClassType: + type: kotlin/Any? + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -52,7 +55,10 @@ KtFunctionSymbol: name: returnsTrueContract origin: SOURCE receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [ @@ -70,7 +76,10 @@ KtFunctionSymbol: name: foo origin: SOURCE receiverParameter: null - returnType: kotlin/Any? + returnType: KtUsualClassType: + type: kotlin/Any? + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -78,4 +87,4 @@ KtFunctionSymbol: ] 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/singleSymbolByPsi/contracts/twoContracts.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/twoContracts.txt index c32a586f5a4..dd9320881ae 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/twoContracts.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/contracts/twoContracts.txt @@ -33,7 +33,10 @@ KtFunctionSymbol: name: foo origin: SOURCE receiverParameter: null - returnType: kotlin/Any? + returnType: KtUsualClassType: + type: kotlin/Any? + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -58,7 +61,10 @@ KtFunctionSymbol: name: bar origin: SOURCE receiverParameter: null - returnType: kotlin/Any? + returnType: KtUsualClassType: + type: kotlin/Any? + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -83,7 +89,15 @@ KtFunctionSymbol: name: block origin: SOURCE receiverParameter: null - returnType: kotlin/Function0 + returnType: KtFunctionalType: + type: kotlin/Function0 + annotationsList: [] + ownTypeArguments: [ + KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] + ] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -104,7 +118,10 @@ KtFunctionSymbol: name: twoContracts origin: SOURCE receiverParameter: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [ @@ -122,7 +139,10 @@ KtFunctionSymbol: name: foo origin: SOURCE receiverParameter: null - returnType: kotlin/Any? + returnType: KtUsualClassType: + type: kotlin/Any? + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -141,7 +161,10 @@ KtFunctionSymbol: name: bar origin: SOURCE receiverParameter: null - returnType: kotlin/Any? + returnType: KtUsualClassType: + type: kotlin/Any? + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -160,7 +183,15 @@ KtFunctionSymbol: name: block origin: SOURCE receiverParameter: null - returnType: kotlin/Function0 + returnType: KtFunctionalType: + type: kotlin/Function0 + annotationsList: [] + ownTypeArguments: [ + KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] + ] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -168,4 +199,4 @@ KtFunctionSymbol: ] 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/singleSymbolByPsi/errors/anonymousObjectInInvalidPosition.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/errors/anonymousObjectInInvalidPosition.txt index 949ebbfd1e0..ae23dcb4762 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/errors/anonymousObjectInInvalidPosition.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/errors/anonymousObjectInInvalidPosition.txt @@ -5,7 +5,15 @@ KtAnonymousObjectSymbol: name: null origin: SOURCE superTypes: [ - A + KtUsualClassType: + type: A + annotationsList: [] + ownTypeArguments: [ + KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] + ] ] symbolKind: LOCAL typeParameters: [] diff --git a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/errors/objectWithTypeArgsAsExpression.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/errors/objectWithTypeArgsAsExpression.txt index bfc82be0b0c..a812d3a3050 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/errors/objectWithTypeArgsAsExpression.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/errors/objectWithTypeArgsAsExpression.txt @@ -5,7 +5,10 @@ KtAnonymousObjectSymbol: name: null origin: SOURCE superTypes: [ - kotlin/Any + KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] ] symbolKind: LOCAL typeParameters: [] diff --git a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/functionWithReceiverAnnotation.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/functionWithReceiverAnnotation.txt index 4855f8c3b72..c07d037701c 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/functionWithReceiverAnnotation.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/functionWithReceiverAnnotation.txt @@ -23,13 +23,19 @@ KtFunctionSymbol: ] origin: SOURCE owningCallableSymbol: KtFunctionSymbol(/foo) - type: [ - ReceiverTypeAnnotation() - psi: KtAnnotationEntry - ] @R|ReceiverTypeAnnotation|() kotlin/Int + type: KtUsualClassType: + type: @R|ReceiverTypeAnnotation|() kotlin/Int + annotationsList: [ + ReceiverTypeAnnotation() + psi: KtAnnotationEntry + ] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [] diff --git a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/getterWithAnnotations.descriptors.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/getterWithAnnotations.descriptors.txt index f37a03dacf1..0f125f7d6ce 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/getterWithAnnotations.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/getterWithAnnotations.descriptors.txt @@ -16,7 +16,10 @@ KtPropertyGetterSymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] diff --git a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/getterWithAnnotations.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/getterWithAnnotations.txt index 32e57420284..2f06a4e77c8 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/getterWithAnnotations.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/getterWithAnnotations.txt @@ -16,7 +16,10 @@ KtPropertyGetterSymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] diff --git a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/getterWithReceiverAndAnnotations.descriptors.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/getterWithReceiverAndAnnotations.descriptors.txt index 1a00c4a55cf..5dd87d455b7 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/getterWithReceiverAndAnnotations.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/getterWithReceiverAndAnnotations.descriptors.txt @@ -22,13 +22,19 @@ KtPropertyGetterSymbol: ] origin: SOURCE owningCallableSymbol: KtKotlinPropertySymbol(/x) - type: [ - ReceiverTypeAnnotation() - psi: KtAnnotationEntry - ] @R|ReceiverTypeAnnotation|() kotlin/Long + type: KtUsualClassType: + type: @R|ReceiverTypeAnnotation|() kotlin/Long + annotationsList: [ + ReceiverTypeAnnotation() + psi: KtAnnotationEntry + ] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] diff --git a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/getterWithReceiverAndAnnotations.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/getterWithReceiverAndAnnotations.txt index 48ef41a94dd..e74afd7ad0b 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/getterWithReceiverAndAnnotations.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/getterWithReceiverAndAnnotations.txt @@ -22,13 +22,19 @@ KtPropertyGetterSymbol: ] origin: SOURCE owningCallableSymbol: KtKotlinPropertySymbol(/x) - type: [ - ReceiverTypeAnnotation() - psi: KtAnnotationEntry - ] @R|ReceiverTypeAnnotation|() kotlin/Long + type: KtUsualClassType: + type: @R|ReceiverTypeAnnotation|() kotlin/Long + annotationsList: [ + ReceiverTypeAnnotation() + psi: KtAnnotationEntry + ] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] diff --git a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/propertyWithAnnotations.descriptors.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/propertyWithAnnotations.descriptors.txt index 94b32b938f5..dc788825f95 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/propertyWithAnnotations.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/propertyWithAnnotations.descriptors.txt @@ -21,7 +21,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -44,7 +47,10 @@ KtKotlinPropertySymbol: name: prop origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: KtPropertySetterSymbol: annotationsList: [ SetAnnotation() @@ -77,13 +83,19 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [ @@ -104,7 +116,10 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" diff --git a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/propertyWithAnnotations.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/propertyWithAnnotations.txt index db2f506567c..fa96f625236 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/propertyWithAnnotations.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/propertyWithAnnotations.txt @@ -23,7 +23,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -46,7 +49,10 @@ KtKotlinPropertySymbol: name: prop origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: KtPropertySetterSymbol: annotationsList: [ SetAnnotation() @@ -79,13 +85,19 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [ @@ -106,7 +118,10 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" diff --git a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/propertyWithAnnotationsAndAccessors.descriptors.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/propertyWithAnnotationsAndAccessors.descriptors.txt index 9b55618b1f0..e0cd671c674 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/propertyWithAnnotationsAndAccessors.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/propertyWithAnnotationsAndAccessors.descriptors.txt @@ -23,7 +23,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -46,7 +49,10 @@ KtKotlinPropertySymbol: name: x origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: KtPropertySetterSymbol: annotationsList: [ SetAnnotation() @@ -83,13 +89,19 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [ @@ -112,7 +124,10 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" diff --git a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/propertyWithAnnotationsAndAccessors.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/propertyWithAnnotationsAndAccessors.txt index 2a51a35f505..dbda8f87dfd 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/propertyWithAnnotationsAndAccessors.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/propertyWithAnnotationsAndAccessors.txt @@ -25,7 +25,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -48,7 +51,10 @@ KtKotlinPropertySymbol: name: x origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: KtPropertySetterSymbol: annotationsList: [ ExplicitSetAnnotation() @@ -85,13 +91,19 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [ @@ -114,7 +126,10 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" diff --git a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/propertyWithDelegateAndAnnotations.descriptors.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/propertyWithDelegateAndAnnotations.descriptors.txt index 908290f409b..9cf6197e0c7 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/propertyWithDelegateAndAnnotations.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/propertyWithDelegateAndAnnotations.descriptors.txt @@ -20,7 +20,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -43,7 +46,10 @@ KtKotlinPropertySymbol: name: lazyProperty origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: TOP_LEVEL typeParameters: [] diff --git a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/propertyWithDelegateAndAnnotations.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/propertyWithDelegateAndAnnotations.txt index 9c9a4364f69..a0d5bcec49d 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/propertyWithDelegateAndAnnotations.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/propertyWithDelegateAndAnnotations.txt @@ -22,7 +22,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -45,7 +48,10 @@ KtKotlinPropertySymbol: name: lazyProperty origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: TOP_LEVEL typeParameters: [] diff --git a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/propertyWithReceiverAnnotation.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/propertyWithReceiverAnnotation.txt index 00510fa5010..f9d0bcc3c1c 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/propertyWithReceiverAnnotation.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/propertyWithReceiverAnnotation.txt @@ -21,13 +21,19 @@ KtKotlinPropertySymbol: ] origin: SOURCE owningCallableSymbol: KtKotlinPropertySymbol(/prop) - type: [ - ReceiverTypeAnnotation() - psi: KtAnnotationEntry - ] @R|ReceiverTypeAnnotation|() kotlin/Long + type: KtUsualClassType: + type: @R|ReceiverTypeAnnotation|() kotlin/Long + annotationsList: [ + ReceiverTypeAnnotation() + psi: KtAnnotationEntry + ] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -56,13 +62,19 @@ KtKotlinPropertySymbol: ] origin: SOURCE owningCallableSymbol: KtKotlinPropertySymbol(/prop) - type: [ - ReceiverTypeAnnotation() - psi: KtAnnotationEntry - ] @R|ReceiverTypeAnnotation|() kotlin/Long + type: KtUsualClassType: + type: @R|ReceiverTypeAnnotation|() kotlin/Long + annotationsList: [ + ReceiverTypeAnnotation() + psi: KtAnnotationEntry + ] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null - returnType: kotlin/Boolean + returnType: KtUsualClassType: + type: kotlin/Boolean + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: TOP_LEVEL typeParameters: [] diff --git a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/setterWithAnnotations.descriptors.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/setterWithAnnotations.descriptors.txt index 01cf0b97a8f..59424e19885 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/setterWithAnnotations.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/setterWithAnnotations.descriptors.txt @@ -34,13 +34,19 @@ KtPropertySetterSymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [ @@ -63,7 +69,10 @@ KtPropertySetterSymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" diff --git a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/setterWithAnnotations.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/setterWithAnnotations.txt index 71e3270aa74..a9ca5cc74a9 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/setterWithAnnotations.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/setterWithAnnotations.txt @@ -34,13 +34,19 @@ KtPropertySetterSymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [ @@ -63,7 +69,10 @@ KtPropertySetterSymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" diff --git a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnFunctionParameterType.descriptors.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnFunctionParameterType.descriptors.txt index 4943768fe41..231cdcce351 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnFunctionParameterType.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnFunctionParameterType.descriptors.txt @@ -17,7 +17,10 @@ KtFunctionSymbol: name: foo origin: SOURCE receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [ @@ -35,14 +38,17 @@ KtFunctionSymbol: name: para origin: SOURCE receiverParameter: null - returnType: [ - Anno3() - psi: KtAnnotationEntry - Anno2() - psi: KtAnnotationEntry - Anno1() - psi: KtAnnotationEntry - ] @R|Anno3|() @R|Anno2|() @R|Anno1|() @R|Anno3|() SecondTypeAlias + returnType: KtUsualClassType: + type: @R|Anno3|() @R|Anno2|() @R|Anno1|() @R|Anno3|() SecondTypeAlias + annotationsList: [ + Anno3() + psi: KtAnnotationEntry + Anno2() + psi: KtAnnotationEntry + Anno1() + psi: KtAnnotationEntry + ] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -50,4 +56,4 @@ KtFunctionSymbol: ] 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/singleSymbolByPsi/typeAnnotationsOnFunctionParameterType.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnFunctionParameterType.txt index f60be7e4336..b00ae07d3c9 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnFunctionParameterType.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnFunctionParameterType.txt @@ -17,7 +17,10 @@ KtFunctionSymbol: name: foo origin: SOURCE receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [ @@ -35,14 +38,17 @@ KtFunctionSymbol: name: para origin: SOURCE receiverParameter: null - returnType: [ - Anno1() - psi: KtAnnotationEntry - Anno2() - psi: KtAnnotationEntry - Anno3() - psi: KtAnnotationEntry - ] @R|Anno1|() @R|Anno2|() @R|Anno3|() BaseInterface + returnType: KtUsualClassType: + type: @R|Anno1|() @R|Anno2|() @R|Anno3|() BaseInterface + annotationsList: [ + Anno1() + psi: KtAnnotationEntry + Anno2() + psi: KtAnnotationEntry + Anno3() + psi: KtAnnotationEntry + ] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -50,4 +56,4 @@ KtFunctionSymbol: ] 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/singleSymbolByPsi/typeAnnotationsOnFunctionReceiverType.descriptors.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnFunctionReceiverType.descriptors.txt index c0ef4ea599b..df483dba97f 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnFunctionReceiverType.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnFunctionReceiverType.descriptors.txt @@ -20,20 +20,26 @@ KtFunctionSymbol: annotationsList: [] origin: SOURCE owningCallableSymbol: KtFunctionSymbol(/foo) - type: [ - Anno3() - psi: KtAnnotationEntry - Anno2() - psi: KtAnnotationEntry - Anno1() - psi: KtAnnotationEntry - ] @R|Anno3|() @R|Anno2|() @R|Anno1|() @R|Anno3|() SecondTypeAlias + type: KtUsualClassType: + type: @R|Anno3|() @R|Anno2|() @R|Anno1|() @R|Anno3|() SecondTypeAlias + annotationsList: [ + Anno3() + psi: KtAnnotationEntry + Anno2() + psi: KtAnnotationEntry + Anno1() + psi: KtAnnotationEntry + ] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [] 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/singleSymbolByPsi/typeAnnotationsOnFunctionReceiverType.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnFunctionReceiverType.txt index 7180687a3d5..6c63094939c 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnFunctionReceiverType.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnFunctionReceiverType.txt @@ -20,17 +20,23 @@ KtFunctionSymbol: annotationsList: [] origin: SOURCE owningCallableSymbol: KtFunctionSymbol(/foo) - type: [ - Anno1() - psi: KtAnnotationEntry - Anno2() - psi: KtAnnotationEntry - Anno3() - psi: KtAnnotationEntry - ] @R|Anno1|() @R|Anno2|() @R|Anno3|() BaseInterface + type: KtUsualClassType: + type: @R|Anno1|() @R|Anno2|() @R|Anno3|() BaseInterface + annotationsList: [ + Anno1() + psi: KtAnnotationEntry + Anno2() + psi: KtAnnotationEntry + Anno3() + psi: KtAnnotationEntry + ] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [] diff --git a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnPropertyGetterReturnType.descriptors.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnPropertyGetterReturnType.descriptors.txt index 3b74bac6dca..7d708c53da7 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnPropertyGetterReturnType.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnPropertyGetterReturnType.descriptors.txt @@ -11,17 +11,20 @@ KtPropertyGetterSymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: [ - Anno3() - psi: KtAnnotationEntry - Anno2() - psi: KtAnnotationEntry - Anno1() - psi: KtAnnotationEntry - ] @R|Anno3|() @R|Anno2|() @R|Anno1|() @R|Anno3|() SecondTypeAlias + returnType: KtUsualClassType: + type: @R|Anno3|() @R|Anno2|() @R|Anno1|() @R|Anno3|() SecondTypeAlias + annotationsList: [ + Anno3() + psi: KtAnnotationEntry + Anno2() + psi: KtAnnotationEntry + Anno1() + psi: KtAnnotationEntry + ] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] 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/singleSymbolByPsi/typeAnnotationsOnPropertyGetterReturnType.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnPropertyGetterReturnType.txt index 09c5bcef405..899dd4f5c31 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnPropertyGetterReturnType.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnPropertyGetterReturnType.txt @@ -11,14 +11,17 @@ KtPropertyGetterSymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: [ - Anno1() - psi: KtAnnotationEntry - Anno2() - psi: KtAnnotationEntry - Anno3() - psi: KtAnnotationEntry - ] @R|Anno1|() @R|Anno2|() @R|Anno3|() BaseInterface + returnType: KtUsualClassType: + type: @R|Anno1|() @R|Anno2|() @R|Anno3|() BaseInterface + annotationsList: [ + Anno1() + psi: KtAnnotationEntry + Anno2() + psi: KtAnnotationEntry + Anno3() + psi: KtAnnotationEntry + ] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] diff --git a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnPropertyReceiverType.descriptors.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnPropertyReceiverType.descriptors.txt index c90efdcee6f..32da2001c51 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnPropertyReceiverType.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnPropertyReceiverType.descriptors.txt @@ -18,17 +18,23 @@ KtKotlinPropertySymbol: annotationsList: [] origin: SOURCE owningCallableSymbol: KtKotlinPropertySymbol(/foo) - type: [ - Anno3() - psi: KtAnnotationEntry - Anno2() - psi: KtAnnotationEntry - Anno1() - psi: KtAnnotationEntry - ] @R|Anno3|() @R|Anno2|() @R|Anno1|() @R|Anno3|() SecondTypeAlias + type: KtUsualClassType: + type: @R|Anno3|() @R|Anno2|() @R|Anno1|() @R|Anno3|() SecondTypeAlias + annotationsList: [ + Anno3() + psi: KtAnnotationEntry + Anno2() + psi: KtAnnotationEntry + Anno1() + psi: KtAnnotationEntry + ] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -54,17 +60,23 @@ KtKotlinPropertySymbol: annotationsList: [] origin: SOURCE owningCallableSymbol: KtKotlinPropertySymbol(/foo) - type: [ - Anno3() - psi: KtAnnotationEntry - Anno2() - psi: KtAnnotationEntry - Anno1() - psi: KtAnnotationEntry - ] @R|Anno3|() @R|Anno2|() @R|Anno1|() @R|Anno3|() SecondTypeAlias + type: KtUsualClassType: + type: @R|Anno3|() @R|Anno2|() @R|Anno1|() @R|Anno3|() SecondTypeAlias + annotationsList: [ + Anno3() + psi: KtAnnotationEntry + Anno2() + psi: KtAnnotationEntry + Anno1() + psi: KtAnnotationEntry + ] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: TOP_LEVEL typeParameters: [] @@ -74,4 +86,4 @@ KtKotlinPropertySymbol: getterDeprecationStatus: null javaGetterName: getFoo javaSetterName: null - setterDeprecationStatus: null + setterDeprecationStatus: null \ No newline at end of file diff --git a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnPropertyReceiverType.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnPropertyReceiverType.txt index 543c9e142e5..732a7caa27b 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnPropertyReceiverType.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnPropertyReceiverType.txt @@ -18,17 +18,23 @@ KtKotlinPropertySymbol: annotationsList: [] origin: SOURCE owningCallableSymbol: KtKotlinPropertySymbol(/foo) - type: [ - Anno1() - psi: KtAnnotationEntry - Anno2() - psi: KtAnnotationEntry - Anno3() - psi: KtAnnotationEntry - ] @R|Anno1|() @R|Anno2|() @R|Anno3|() BaseInterface + type: KtUsualClassType: + type: @R|Anno1|() @R|Anno2|() @R|Anno3|() BaseInterface + annotationsList: [ + Anno1() + psi: KtAnnotationEntry + Anno2() + psi: KtAnnotationEntry + Anno3() + psi: KtAnnotationEntry + ] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -54,17 +60,23 @@ KtKotlinPropertySymbol: annotationsList: [] origin: SOURCE owningCallableSymbol: KtKotlinPropertySymbol(/foo) - type: [ - Anno1() - psi: KtAnnotationEntry - Anno2() - psi: KtAnnotationEntry - Anno3() - psi: KtAnnotationEntry - ] @R|Anno1|() @R|Anno2|() @R|Anno3|() BaseInterface + type: KtUsualClassType: + type: @R|Anno1|() @R|Anno2|() @R|Anno3|() BaseInterface + annotationsList: [ + Anno1() + psi: KtAnnotationEntry + Anno2() + psi: KtAnnotationEntry + Anno3() + psi: KtAnnotationEntry + ] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: TOP_LEVEL typeParameters: [] diff --git a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnPropertyReturnType.descriptors.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnPropertyReturnType.descriptors.txt index a3f1ca43cd8..39cb3ddcaf8 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnPropertyReturnType.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnPropertyReturnType.descriptors.txt @@ -15,14 +15,17 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: [ - Anno3() - psi: KtAnnotationEntry - Anno2() - psi: KtAnnotationEntry - Anno1() - psi: KtAnnotationEntry - ] @R|Anno3|() @R|Anno2|() @R|Anno1|() @R|Anno3|() SecondTypeAlias + returnType: KtUsualClassType: + type: @R|Anno3|() @R|Anno2|() @R|Anno1|() @R|Anno3|() SecondTypeAlias + annotationsList: [ + Anno3() + psi: KtAnnotationEntry + Anno2() + psi: KtAnnotationEntry + Anno1() + psi: KtAnnotationEntry + ] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -45,14 +48,17 @@ KtKotlinPropertySymbol: name: foo origin: SOURCE receiverParameter: null - returnType: [ - Anno3() - psi: KtAnnotationEntry - Anno2() - psi: KtAnnotationEntry - Anno1() - psi: KtAnnotationEntry - ] @R|Anno3|() @R|Anno2|() @R|Anno1|() @R|Anno3|() SecondTypeAlias + returnType: KtUsualClassType: + type: @R|Anno3|() @R|Anno2|() @R|Anno1|() @R|Anno3|() SecondTypeAlias + annotationsList: [ + Anno3() + psi: KtAnnotationEntry + Anno2() + psi: KtAnnotationEntry + Anno1() + psi: KtAnnotationEntry + ] + ownTypeArguments: [] setter: null symbolKind: TOP_LEVEL typeParameters: [] @@ -62,4 +68,4 @@ KtKotlinPropertySymbol: getterDeprecationStatus: null javaGetterName: getFoo javaSetterName: null - setterDeprecationStatus: null + setterDeprecationStatus: null \ No newline at end of file diff --git a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnPropertyReturnType.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnPropertyReturnType.txt index 6a0715308ae..6dbefe7461c 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnPropertyReturnType.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnPropertyReturnType.txt @@ -15,14 +15,17 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: [ - Anno1() - psi: KtAnnotationEntry - Anno2() - psi: KtAnnotationEntry - Anno3() - psi: KtAnnotationEntry - ] @R|Anno1|() @R|Anno2|() @R|Anno3|() BaseInterface + returnType: KtUsualClassType: + type: @R|Anno1|() @R|Anno2|() @R|Anno3|() BaseInterface + annotationsList: [ + Anno1() + psi: KtAnnotationEntry + Anno2() + psi: KtAnnotationEntry + Anno3() + psi: KtAnnotationEntry + ] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -45,14 +48,17 @@ KtKotlinPropertySymbol: name: foo origin: SOURCE receiverParameter: null - returnType: [ - Anno1() - psi: KtAnnotationEntry - Anno2() - psi: KtAnnotationEntry - Anno3() - psi: KtAnnotationEntry - ] @R|Anno1|() @R|Anno2|() @R|Anno3|() BaseInterface + returnType: KtUsualClassType: + type: @R|Anno1|() @R|Anno2|() @R|Anno3|() BaseInterface + annotationsList: [ + Anno1() + psi: KtAnnotationEntry + Anno2() + psi: KtAnnotationEntry + Anno3() + psi: KtAnnotationEntry + ] + ownTypeArguments: [] setter: null symbolKind: TOP_LEVEL typeParameters: [] diff --git a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnPropertySetterParameterType.descriptors.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnPropertySetterParameterType.descriptors.txt index 694088b6701..3e15e1a6ece 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnPropertySetterParameterType.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnPropertySetterParameterType.descriptors.txt @@ -24,20 +24,26 @@ KtPropertySetterSymbol: name: value origin: SOURCE receiverParameter: null - returnType: [ - Anno3() - psi: KtAnnotationEntry - Anno2() - psi: KtAnnotationEntry - Anno1() - psi: KtAnnotationEntry - ] @R|Anno3|() @R|Anno2|() @R|Anno1|() @R|Anno3|() SecondTypeAlias + returnType: KtUsualClassType: + type: @R|Anno3|() @R|Anno2|() @R|Anno1|() @R|Anno3|() SecondTypeAlias + annotationsList: [ + Anno3() + psi: KtAnnotationEntry + Anno2() + psi: KtAnnotationEntry + Anno1() + psi: KtAnnotationEntry + ] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [ @@ -55,14 +61,17 @@ KtPropertySetterSymbol: name: value origin: SOURCE receiverParameter: null - returnType: [ - Anno3() - psi: KtAnnotationEntry - Anno2() - psi: KtAnnotationEntry - Anno1() - psi: KtAnnotationEntry - ] @R|Anno3|() @R|Anno2|() @R|Anno1|() @R|Anno3|() SecondTypeAlias + returnType: KtUsualClassType: + type: @R|Anno3|() @R|Anno2|() @R|Anno1|() @R|Anno3|() SecondTypeAlias + annotationsList: [ + Anno3() + psi: KtAnnotationEntry + Anno2() + psi: KtAnnotationEntry + Anno1() + psi: KtAnnotationEntry + ] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -70,4 +79,4 @@ KtPropertySetterSymbol: ] 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/singleSymbolByPsi/typeAnnotationsOnPropertySetterParameterType.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnPropertySetterParameterType.txt index cb3495396e8..c2e12f7947a 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnPropertySetterParameterType.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnPropertySetterParameterType.txt @@ -24,20 +24,26 @@ KtPropertySetterSymbol: name: value origin: SOURCE receiverParameter: null - returnType: [ - Anno1() - psi: KtAnnotationEntry - Anno2() - psi: KtAnnotationEntry - Anno3() - psi: KtAnnotationEntry - ] @R|Anno1|() @R|Anno2|() @R|Anno3|() BaseInterface + returnType: KtUsualClassType: + type: @R|Anno1|() @R|Anno2|() @R|Anno3|() BaseInterface + annotationsList: [ + Anno1() + psi: KtAnnotationEntry + Anno2() + psi: KtAnnotationEntry + Anno3() + psi: KtAnnotationEntry + ] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [ @@ -55,14 +61,17 @@ KtPropertySetterSymbol: name: value origin: SOURCE receiverParameter: null - returnType: [ - Anno1() - psi: KtAnnotationEntry - Anno2() - psi: KtAnnotationEntry - Anno3() - psi: KtAnnotationEntry - ] @R|Anno1|() @R|Anno2|() @R|Anno3|() BaseInterface + returnType: KtUsualClassType: + type: @R|Anno1|() @R|Anno2|() @R|Anno3|() BaseInterface + annotationsList: [ + Anno1() + psi: KtAnnotationEntry + Anno2() + psi: KtAnnotationEntry + Anno3() + psi: KtAnnotationEntry + ] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" diff --git a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnPropertySetterParameterTypeWithAnotherAnnotation.descriptors.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnPropertySetterParameterTypeWithAnotherAnnotation.descriptors.txt index 0fa13fc7c25..66ef9ac193a 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnPropertySetterParameterTypeWithAnotherAnnotation.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnPropertySetterParameterTypeWithAnotherAnnotation.descriptors.txt @@ -24,20 +24,26 @@ KtPropertySetterSymbol: name: value origin: SOURCE receiverParameter: null - returnType: [ - Anno4() - psi: KtAnnotationEntry - Anno2() - psi: KtAnnotationEntry - Anno1() - psi: KtAnnotationEntry - ] @R|Anno4|() @R|Anno2|() @R|Anno1|() @R|Anno4|() SecondTypeAlias + returnType: KtUsualClassType: + type: @R|Anno4|() @R|Anno2|() @R|Anno1|() @R|Anno4|() SecondTypeAlias + annotationsList: [ + Anno4() + psi: KtAnnotationEntry + Anno2() + psi: KtAnnotationEntry + Anno1() + psi: KtAnnotationEntry + ] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [ @@ -55,14 +61,17 @@ KtPropertySetterSymbol: name: value origin: SOURCE receiverParameter: null - returnType: [ - Anno4() - psi: KtAnnotationEntry - Anno2() - psi: KtAnnotationEntry - Anno1() - psi: KtAnnotationEntry - ] @R|Anno4|() @R|Anno2|() @R|Anno1|() @R|Anno4|() SecondTypeAlias + returnType: KtUsualClassType: + type: @R|Anno4|() @R|Anno2|() @R|Anno1|() @R|Anno4|() SecondTypeAlias + annotationsList: [ + Anno4() + psi: KtAnnotationEntry + Anno2() + psi: KtAnnotationEntry + Anno1() + psi: KtAnnotationEntry + ] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" diff --git a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnPropertySetterParameterTypeWithAnotherAnnotation.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnPropertySetterParameterTypeWithAnotherAnnotation.txt index 42d7efc866f..20173057cef 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnPropertySetterParameterTypeWithAnotherAnnotation.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnPropertySetterParameterTypeWithAnotherAnnotation.txt @@ -24,20 +24,26 @@ KtPropertySetterSymbol: name: value origin: SOURCE receiverParameter: null - returnType: [ - Anno1() - psi: KtAnnotationEntry - Anno2() - psi: KtAnnotationEntry - Anno4() - psi: KtAnnotationEntry - ] @R|Anno1|() @R|Anno2|() @R|Anno4|() BaseInterface + returnType: KtUsualClassType: + type: @R|Anno1|() @R|Anno2|() @R|Anno4|() BaseInterface + annotationsList: [ + Anno1() + psi: KtAnnotationEntry + Anno2() + psi: KtAnnotationEntry + Anno4() + psi: KtAnnotationEntry + ] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [ @@ -55,14 +61,17 @@ KtPropertySetterSymbol: name: value origin: SOURCE receiverParameter: null - returnType: [ - Anno1() - psi: KtAnnotationEntry - Anno2() - psi: KtAnnotationEntry - Anno4() - psi: KtAnnotationEntry - ] @R|Anno1|() @R|Anno2|() @R|Anno4|() BaseInterface + returnType: KtUsualClassType: + type: @R|Anno1|() @R|Anno2|() @R|Anno4|() BaseInterface + annotationsList: [ + Anno1() + psi: KtAnnotationEntry + Anno2() + psi: KtAnnotationEntry + Anno4() + psi: KtAnnotationEntry + ] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" diff --git a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnSuperClassCall.descriptors.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnSuperClassCall.descriptors.txt index 02df0a24578..378260f6fc7 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnSuperClassCall.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnSuperClassCall.descriptors.txt @@ -13,14 +13,17 @@ KtNamedClassOrObjectSymbol: name: Foo origin: SOURCE superTypes: [ - [ - Anno3() - psi: KtAnnotationEntry - Anno2() - psi: KtAnnotationEntry - Anno1() - psi: KtAnnotationEntry - ] @R|Anno3|() @R|Anno2|() @R|Anno1|() @R|Anno3|() SecondTypeAlias + KtUsualClassType: + type: @R|Anno3|() @R|Anno2|() @R|Anno1|() @R|Anno3|() SecondTypeAlias + annotationsList: [ + Anno3() + psi: KtAnnotationEntry + Anno2() + psi: KtAnnotationEntry + Anno1() + psi: KtAnnotationEntry + ] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [] diff --git a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnSuperClassCall.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnSuperClassCall.txt index 94fcf7cb236..992a18c23c8 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnSuperClassCall.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnSuperClassCall.txt @@ -13,14 +13,17 @@ KtNamedClassOrObjectSymbol: name: Foo origin: SOURCE superTypes: [ - [ - Anno1() - psi: KtAnnotationEntry - Anno2() - psi: KtAnnotationEntry - Anno3() - psi: KtAnnotationEntry - ] @R|Anno1|() @R|Anno2|() @R|Anno3|() BaseClass + KtUsualClassType: + type: @R|Anno1|() @R|Anno2|() @R|Anno3|() BaseClass + annotationsList: [ + Anno1() + psi: KtAnnotationEntry + Anno2() + psi: KtAnnotationEntry + Anno3() + psi: KtAnnotationEntry + ] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [] diff --git a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnSuperClassCallOnAnonymousObject.descriptors.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnSuperClassCallOnAnonymousObject.descriptors.txt index 67ddee2ae13..ecba9682bb1 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnSuperClassCallOnAnonymousObject.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnSuperClassCallOnAnonymousObject.descriptors.txt @@ -5,14 +5,17 @@ KtAnonymousObjectSymbol: name: null origin: SOURCE superTypes: [ - [ - Anno3() - psi: KtAnnotationEntry - Anno2() - psi: KtAnnotationEntry - Anno1() - psi: KtAnnotationEntry - ] @R|Anno3|() @R|Anno2|() @R|Anno1|() @R|Anno3|() SecondTypeAlias + KtUsualClassType: + type: @R|Anno3|() @R|Anno2|() @R|Anno1|() @R|Anno3|() SecondTypeAlias + annotationsList: [ + Anno3() + psi: KtAnnotationEntry + Anno2() + psi: KtAnnotationEntry + Anno1() + psi: KtAnnotationEntry + ] + ownTypeArguments: [] ] symbolKind: LOCAL typeParameters: [] diff --git a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnSuperClassCallOnAnonymousObject.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnSuperClassCallOnAnonymousObject.txt index 65deba1f45e..ce75ae3c4d5 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnSuperClassCallOnAnonymousObject.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnSuperClassCallOnAnonymousObject.txt @@ -5,14 +5,17 @@ KtAnonymousObjectSymbol: name: null origin: SOURCE superTypes: [ - [ - Anno1() - psi: KtAnnotationEntry - Anno2() - psi: KtAnnotationEntry - Anno3() - psi: KtAnnotationEntry - ] @R|Anno1|() @R|Anno2|() @R|Anno3|() BaseClass + KtUsualClassType: + type: @R|Anno1|() @R|Anno2|() @R|Anno3|() BaseClass + annotationsList: [ + Anno1() + psi: KtAnnotationEntry + Anno2() + psi: KtAnnotationEntry + Anno3() + psi: KtAnnotationEntry + ] + ownTypeArguments: [] ] symbolKind: LOCAL typeParameters: [] diff --git a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnSuperInterface.descriptors.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnSuperInterface.descriptors.txt index caced72829a..fa605bd3ec4 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnSuperInterface.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnSuperInterface.descriptors.txt @@ -13,15 +13,21 @@ KtNamedClassOrObjectSymbol: name: Foo origin: SOURCE superTypes: [ - kotlin/Any - [ - Anno3() - psi: KtAnnotationEntry - Anno2() - psi: KtAnnotationEntry - Anno1() - psi: KtAnnotationEntry - ] @R|Anno3|() @R|Anno2|() @R|Anno1|() @R|Anno3|() SecondTypeAlias + KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] + KtUsualClassType: + type: @R|Anno3|() @R|Anno2|() @R|Anno1|() @R|Anno3|() SecondTypeAlias + annotationsList: [ + Anno3() + psi: KtAnnotationEntry + Anno2() + psi: KtAnnotationEntry + Anno1() + psi: KtAnnotationEntry + ] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [] diff --git a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnSuperInterface.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnSuperInterface.txt index bbb1616fbbb..44bc9948349 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnSuperInterface.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnSuperInterface.txt @@ -13,14 +13,17 @@ KtNamedClassOrObjectSymbol: name: Foo origin: SOURCE superTypes: [ - [ - Anno1() - psi: KtAnnotationEntry - Anno2() - psi: KtAnnotationEntry - Anno3() - psi: KtAnnotationEntry - ] @R|Anno1|() @R|Anno2|() @R|Anno3|() BaseInterface + KtUsualClassType: + type: @R|Anno1|() @R|Anno2|() @R|Anno3|() BaseInterface + annotationsList: [ + Anno1() + psi: KtAnnotationEntry + Anno2() + psi: KtAnnotationEntry + Anno3() + psi: KtAnnotationEntry + ] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [] diff --git a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnSuperInterfaceOnAnonymousObject.descriptors.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnSuperInterfaceOnAnonymousObject.descriptors.txt index 67ddee2ae13..ecba9682bb1 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnSuperInterfaceOnAnonymousObject.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnSuperInterfaceOnAnonymousObject.descriptors.txt @@ -5,14 +5,17 @@ KtAnonymousObjectSymbol: name: null origin: SOURCE superTypes: [ - [ - Anno3() - psi: KtAnnotationEntry - Anno2() - psi: KtAnnotationEntry - Anno1() - psi: KtAnnotationEntry - ] @R|Anno3|() @R|Anno2|() @R|Anno1|() @R|Anno3|() SecondTypeAlias + KtUsualClassType: + type: @R|Anno3|() @R|Anno2|() @R|Anno1|() @R|Anno3|() SecondTypeAlias + annotationsList: [ + Anno3() + psi: KtAnnotationEntry + Anno2() + psi: KtAnnotationEntry + Anno1() + psi: KtAnnotationEntry + ] + ownTypeArguments: [] ] symbolKind: LOCAL typeParameters: [] diff --git a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnSuperInterfaceOnAnonymousObject.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnSuperInterfaceOnAnonymousObject.txt index 27887837475..2ff7d3805e7 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnSuperInterfaceOnAnonymousObject.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsOnSuperInterfaceOnAnonymousObject.txt @@ -5,14 +5,17 @@ KtAnonymousObjectSymbol: name: null origin: SOURCE superTypes: [ - [ - Anno1() - psi: KtAnnotationEntry - Anno2() - psi: KtAnnotationEntry - Anno3() - psi: KtAnnotationEntry - ] @R|Anno1|() @R|Anno2|() @R|Anno3|() BaseInterface + KtUsualClassType: + type: @R|Anno1|() @R|Anno2|() @R|Anno3|() BaseInterface + annotationsList: [ + Anno1() + psi: KtAnnotationEntry + Anno2() + psi: KtAnnotationEntry + Anno3() + psi: KtAnnotationEntry + ] + ownTypeArguments: [] ] symbolKind: LOCAL typeParameters: [] diff --git a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsWithTypeAlias.descriptors.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsWithTypeAlias.descriptors.txt index 3d32a6d45a8..4d6d76a2322 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsWithTypeAlias.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsWithTypeAlias.descriptors.txt @@ -17,14 +17,17 @@ KtFunctionSymbol: name: foo origin: SOURCE receiverParameter: null - returnType: [ - Anno3() - psi: KtAnnotationEntry - Anno2() - psi: KtAnnotationEntry - Anno1() - psi: KtAnnotationEntry - ] @R|Anno3|() @R|Anno2|() @R|Anno1|() @R|Anno3|() SecondTypeAlias + returnType: KtUsualClassType: + type: @R|Anno3|() @R|Anno2|() @R|Anno1|() @R|Anno3|() SecondTypeAlias + annotationsList: [ + Anno3() + psi: KtAnnotationEntry + Anno2() + psi: KtAnnotationEntry + Anno1() + psi: KtAnnotationEntry + ] + ownTypeArguments: [] symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [] diff --git a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsWithTypeAlias.txt b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsWithTypeAlias.txt index e7764ca1444..ae92b959f00 100644 --- a/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsWithTypeAlias.txt +++ b/analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationsWithTypeAlias.txt @@ -17,14 +17,17 @@ KtFunctionSymbol: name: foo origin: SOURCE receiverParameter: null - returnType: [ - Anno1() - psi: KtAnnotationEntry - Anno2() - psi: KtAnnotationEntry - Anno3() - psi: KtAnnotationEntry - ] @R|Anno1|() @R|Anno2|() @R|Anno3|() BaseInterface + returnType: KtUsualClassType: + type: @R|Anno1|() @R|Anno2|() @R|Anno3|() BaseInterface + annotationsList: [ + Anno1() + psi: KtAnnotationEntry + Anno2() + psi: KtAnnotationEntry + Anno3() + psi: KtAnnotationEntry + ] + ownTypeArguments: [] symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [] diff --git a/analysis/analysis-api/testData/symbols/symbolByFqName/class.descriptors.txt b/analysis/analysis-api/testData/symbols/symbolByFqName/class.descriptors.txt index 1c898906ff6..60a4401b6c5 100644 --- a/analysis/analysis-api/testData/symbols/symbolByFqName/class.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/symbolByFqName/class.descriptors.txt @@ -13,7 +13,10 @@ KtNamedClassOrObjectSymbol: name: Lazy origin: LIBRARY superTypes: [ - kotlin/Any + KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [ diff --git a/analysis/analysis-api/testData/symbols/symbolByFqName/class.txt b/analysis/analysis-api/testData/symbols/symbolByFqName/class.txt index 3b6dadf30a3..44704ea2d57 100644 --- a/analysis/analysis-api/testData/symbols/symbolByFqName/class.txt +++ b/analysis/analysis-api/testData/symbols/symbolByFqName/class.txt @@ -13,7 +13,10 @@ KtNamedClassOrObjectSymbol: name: Lazy origin: LIBRARY superTypes: [ - kotlin/Any + KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [ diff --git a/analysis/analysis-api/testData/symbols/symbolByFqName/classFromJdk.descriptors.txt b/analysis/analysis-api/testData/symbols/symbolByFqName/classFromJdk.descriptors.txt index 046f3aa934e..1886a2fa5f6 100644 --- a/analysis/analysis-api/testData/symbols/symbolByFqName/classFromJdk.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/symbolByFqName/classFromJdk.descriptors.txt @@ -13,10 +13,26 @@ KtNamedClassOrObjectSymbol: name: String origin: JAVA superTypes: [ - kotlin/Any - java/io/Serializable - kotlin/Comparable - kotlin/CharSequence + KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] + KtUsualClassType: + type: java/io/Serializable + annotationsList: [] + ownTypeArguments: [] + KtUsualClassType: + type: kotlin/Comparable + annotationsList: [] + ownTypeArguments: [ + KtFlexibleType: + type: kotlin/String! + annotationsList: [] + ] + KtUsualClassType: + type: kotlin/CharSequence + annotationsList: [] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [] diff --git a/analysis/analysis-api/testData/symbols/symbolByFqName/classFromJdk.txt b/analysis/analysis-api/testData/symbols/symbolByFqName/classFromJdk.txt index e4187bf86a2..204275685fd 100644 --- a/analysis/analysis-api/testData/symbols/symbolByFqName/classFromJdk.txt +++ b/analysis/analysis-api/testData/symbols/symbolByFqName/classFromJdk.txt @@ -13,10 +13,26 @@ KtNamedClassOrObjectSymbol: name: String origin: JAVA superTypes: [ - kotlin/Any - java/io/Serializable - kotlin/Comparable - kotlin/CharSequence + KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] + KtUsualClassType: + type: java/io/Serializable + annotationsList: [] + ownTypeArguments: [] + KtUsualClassType: + type: kotlin/Comparable + annotationsList: [] + ownTypeArguments: [ + KtFlexibleType: + type: kotlin/String! + annotationsList: [] + ] + KtUsualClassType: + type: kotlin/CharSequence + annotationsList: [] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [] diff --git a/analysis/analysis-api/testData/symbols/symbolByFqName/enumEntry.descriptors.txt b/analysis/analysis-api/testData/symbols/symbolByFqName/enumEntry.descriptors.txt index e6f8fd2765d..16a0a2e8db2 100644 --- a/analysis/analysis-api/testData/symbols/symbolByFqName/enumEntry.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/symbolByFqName/enumEntry.descriptors.txt @@ -7,7 +7,10 @@ KtEnumEntrySymbol: name: SYNCHRONIZED origin: LIBRARY receiverParameter: null - returnType: kotlin/LazyThreadSafetyMode + returnType: KtUsualClassType: + type: kotlin/LazyThreadSafetyMode + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: org.jetbrains.kotlin.analysis.api.descriptors.symbols.descriptorBased.KtFe10DescEnumEntrySymbol diff --git a/analysis/analysis-api/testData/symbols/symbolByFqName/enumEntry.txt b/analysis/analysis-api/testData/symbols/symbolByFqName/enumEntry.txt index 76266972c0d..309fa49aea8 100644 --- a/analysis/analysis-api/testData/symbols/symbolByFqName/enumEntry.txt +++ b/analysis/analysis-api/testData/symbols/symbolByFqName/enumEntry.txt @@ -7,7 +7,10 @@ KtEnumEntrySymbol: name: SYNCHRONIZED origin: LIBRARY receiverParameter: null - returnType: kotlin/LazyThreadSafetyMode + returnType: KtUsualClassType: + type: kotlin/LazyThreadSafetyMode + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] getContainingModule: KtLibraryModule "Library kotlin-stdlib" diff --git a/analysis/analysis-api/testData/symbols/symbolByFqName/fileWalkDirectionEnum.descriptors.txt b/analysis/analysis-api/testData/symbols/symbolByFqName/fileWalkDirectionEnum.descriptors.txt index 84e52804b61..ed655167d7c 100644 --- a/analysis/analysis-api/testData/symbols/symbolByFqName/fileWalkDirectionEnum.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/symbolByFqName/fileWalkDirectionEnum.descriptors.txt @@ -17,7 +17,14 @@ KtFunctionSymbol: name: listOf origin: LIBRARY receiverParameter: null - returnType: kotlin/collections/List + returnType: KtUsualClassType: + type: kotlin/collections/List + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: T + annotationsList: [] + ] symbolKind: TOP_LEVEL typeParameters: [ KtTypeParameterSymbol(T) @@ -37,7 +44,9 @@ KtFunctionSymbol: name: element origin: SOURCE receiverParameter: null - returnType: T + returnType: KtTypeParameterType: + type: T + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: org.jetbrains.kotlin.analysis.api.descriptors.symbols.descriptorBased.KtFe10DescValueParameterSymbol @@ -70,7 +79,14 @@ KtFunctionSymbol: name: listOf origin: LIBRARY receiverParameter: null - returnType: kotlin/collections/List + returnType: KtUsualClassType: + type: kotlin/collections/List + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: T + annotationsList: [] + ] symbolKind: TOP_LEVEL typeParameters: [ KtTypeParameterSymbol(T) @@ -99,7 +115,14 @@ KtFunctionSymbol: name: listOf origin: LIBRARY receiverParameter: null - returnType: kotlin/collections/List + returnType: KtUsualClassType: + type: kotlin/collections/List + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: T + annotationsList: [] + ] symbolKind: TOP_LEVEL typeParameters: [ KtTypeParameterSymbol(T) @@ -119,7 +142,9 @@ KtFunctionSymbol: name: elements origin: SOURCE receiverParameter: null - returnType: T + returnType: KtTypeParameterType: + type: T + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: org.jetbrains.kotlin.analysis.api.descriptors.symbols.descriptorBased.KtFe10DescValueParameterSymbol diff --git a/analysis/analysis-api/testData/symbols/symbolByFqName/fileWalkDirectionEnum.txt b/analysis/analysis-api/testData/symbols/symbolByFqName/fileWalkDirectionEnum.txt index 0296f450d09..c5f74addcbc 100644 --- a/analysis/analysis-api/testData/symbols/symbolByFqName/fileWalkDirectionEnum.txt +++ b/analysis/analysis-api/testData/symbols/symbolByFqName/fileWalkDirectionEnum.txt @@ -17,7 +17,14 @@ KtFunctionSymbol: name: listOf origin: LIBRARY receiverParameter: null - returnType: kotlin/collections/List + returnType: KtUsualClassType: + type: kotlin/collections/List + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: T + annotationsList: [] + ] symbolKind: TOP_LEVEL typeParameters: [ KtTypeParameterSymbol(T) @@ -37,7 +44,9 @@ KtFunctionSymbol: name: element origin: LIBRARY receiverParameter: null - returnType: T + returnType: KtTypeParameterType: + type: T + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtLibraryModule "Library kotlin-stdlib" @@ -69,7 +78,14 @@ KtFunctionSymbol: name: listOf origin: LIBRARY receiverParameter: null - returnType: kotlin/collections/List + returnType: KtUsualClassType: + type: kotlin/collections/List + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: T + annotationsList: [] + ] symbolKind: TOP_LEVEL typeParameters: [ KtTypeParameterSymbol(T) @@ -98,7 +114,14 @@ KtFunctionSymbol: name: listOf origin: LIBRARY receiverParameter: null - returnType: kotlin/collections/List + returnType: KtUsualClassType: + type: kotlin/collections/List + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: T + annotationsList: [] + ] symbolKind: TOP_LEVEL typeParameters: [ KtTypeParameterSymbol(T) @@ -118,7 +141,9 @@ KtFunctionSymbol: name: elements origin: LIBRARY receiverParameter: null - returnType: T + returnType: KtTypeParameterType: + type: T + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtLibraryModule "Library kotlin-stdlib" diff --git a/analysis/analysis-api/testData/symbols/symbolByFqName/iterator.descriptors.txt b/analysis/analysis-api/testData/symbols/symbolByFqName/iterator.descriptors.txt index e7383da2c04..52183225ad6 100644 --- a/analysis/analysis-api/testData/symbols/symbolByFqName/iterator.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/symbolByFqName/iterator.descriptors.txt @@ -13,7 +13,10 @@ KtNamedClassOrObjectSymbol: name: Iterator origin: LIBRARY superTypes: [ - kotlin/Any + KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [ diff --git a/analysis/analysis-api/testData/symbols/symbolByFqName/iterator.txt b/analysis/analysis-api/testData/symbols/symbolByFqName/iterator.txt index b984168d28a..d9998831de2 100644 --- a/analysis/analysis-api/testData/symbols/symbolByFqName/iterator.txt +++ b/analysis/analysis-api/testData/symbols/symbolByFqName/iterator.txt @@ -13,7 +13,10 @@ KtNamedClassOrObjectSymbol: name: Iterator origin: LIBRARY superTypes: [ - kotlin/Any + KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [ diff --git a/analysis/analysis-api/testData/symbols/symbolByFqName/kclass.descriptors.txt b/analysis/analysis-api/testData/symbols/symbolByFqName/kclass.descriptors.txt index 0956e4d90c5..7475ca65361 100644 --- a/analysis/analysis-api/testData/symbols/symbolByFqName/kclass.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/symbolByFqName/kclass.descriptors.txt @@ -13,9 +13,18 @@ KtNamedClassOrObjectSymbol: name: KClass origin: LIBRARY superTypes: [ - kotlin/reflect/KDeclarationContainer - kotlin/reflect/KAnnotatedElement - kotlin/reflect/KClassifier + KtUsualClassType: + type: kotlin/reflect/KDeclarationContainer + annotationsList: [] + ownTypeArguments: [] + KtUsualClassType: + type: kotlin/reflect/KAnnotatedElement + annotationsList: [] + ownTypeArguments: [] + KtUsualClassType: + type: kotlin/reflect/KClassifier + annotationsList: [] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [ diff --git a/analysis/analysis-api/testData/symbols/symbolByFqName/kclass.txt b/analysis/analysis-api/testData/symbols/symbolByFqName/kclass.txt index b04d853f29b..69132821f82 100644 --- a/analysis/analysis-api/testData/symbols/symbolByFqName/kclass.txt +++ b/analysis/analysis-api/testData/symbols/symbolByFqName/kclass.txt @@ -13,9 +13,18 @@ KtNamedClassOrObjectSymbol: name: KClass origin: LIBRARY superTypes: [ - kotlin/reflect/KDeclarationContainer - kotlin/reflect/KAnnotatedElement - kotlin/reflect/KClassifier + KtUsualClassType: + type: kotlin/reflect/KDeclarationContainer + annotationsList: [] + ownTypeArguments: [] + KtUsualClassType: + type: kotlin/reflect/KAnnotatedElement + annotationsList: [] + ownTypeArguments: [] + KtUsualClassType: + type: kotlin/reflect/KClassifier + annotationsList: [] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [ diff --git a/analysis/analysis-api/testData/symbols/symbolByFqName/listOf.descriptors.txt b/analysis/analysis-api/testData/symbols/symbolByFqName/listOf.descriptors.txt index 68c49373527..b145a833335 100644 --- a/analysis/analysis-api/testData/symbols/symbolByFqName/listOf.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/symbolByFqName/listOf.descriptors.txt @@ -13,7 +13,15 @@ KtNamedClassOrObjectSymbol: name: FileWalkDirection origin: LIBRARY superTypes: [ - kotlin/Enum + KtUsualClassType: + type: kotlin/Enum + annotationsList: [] + ownTypeArguments: [ + KtUsualClassType: + type: kotlin/io/FileWalkDirection + annotationsList: [] + ownTypeArguments: [] + ] ] symbolKind: TOP_LEVEL typeParameters: [] diff --git a/analysis/analysis-api/testData/symbols/symbolByFqName/listOf.txt b/analysis/analysis-api/testData/symbols/symbolByFqName/listOf.txt index bbe50a07aa5..a2af9417778 100644 --- a/analysis/analysis-api/testData/symbols/symbolByFqName/listOf.txt +++ b/analysis/analysis-api/testData/symbols/symbolByFqName/listOf.txt @@ -13,7 +13,15 @@ KtNamedClassOrObjectSymbol: name: FileWalkDirection origin: LIBRARY superTypes: [ - kotlin/Enum + KtUsualClassType: + type: kotlin/Enum + annotationsList: [] + ownTypeArguments: [ + KtUsualClassType: + type: kotlin/io/FileWalkDirection + annotationsList: [] + ownTypeArguments: [] + ] ] symbolKind: TOP_LEVEL typeParameters: [] diff --git a/analysis/analysis-api/testData/symbols/symbolByFqName/memberFunction.descriptors.txt b/analysis/analysis-api/testData/symbols/symbolByFqName/memberFunction.descriptors.txt index dc5f2b17f1b..a12a890d56f 100644 --- a/analysis/analysis-api/testData/symbols/symbolByFqName/memberFunction.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/symbolByFqName/memberFunction.descriptors.txt @@ -17,7 +17,9 @@ KtFunctionSymbol: name: get origin: LIBRARY receiverParameter: null - returnType: E + returnType: KtTypeParameterType: + type: E + annotationsList: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -35,7 +37,10 @@ KtFunctionSymbol: name: index origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: org.jetbrains.kotlin.analysis.api.descriptors.symbols.descriptorBased.KtFe10DescValueParameterSymbol @@ -43,7 +48,14 @@ KtFunctionSymbol: deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/collections/List + getDispatchReceiver(): KtUsualClassType: + type: kotlin/collections/List + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] getContainingModule: Could not render due to java.lang.NullPointerException: null cannot be cast to non-null type org.jetbrains.kotlin.load.kotlin.JvmPackagePartSource deprecationStatus: null \ No newline at end of file diff --git a/analysis/analysis-api/testData/symbols/symbolByFqName/memberFunction.txt b/analysis/analysis-api/testData/symbols/symbolByFqName/memberFunction.txt index 77c2fd38726..d63fd1d72c0 100644 --- a/analysis/analysis-api/testData/symbols/symbolByFqName/memberFunction.txt +++ b/analysis/analysis-api/testData/symbols/symbolByFqName/memberFunction.txt @@ -17,7 +17,9 @@ KtFunctionSymbol: name: get origin: LIBRARY receiverParameter: null - returnType: E + returnType: KtTypeParameterType: + type: E + annotationsList: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -35,13 +37,23 @@ KtFunctionSymbol: name: index origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/collections/List + getDispatchReceiver(): KtUsualClassType: + type: kotlin/collections/List + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null \ No newline at end of file diff --git a/analysis/analysis-api/testData/symbols/symbolByFqName/memberFunctionWithOverloads.descriptors.txt b/analysis/analysis-api/testData/symbols/symbolByFqName/memberFunctionWithOverloads.descriptors.txt index b71e60880ec..0005e9509cd 100644 --- a/analysis/analysis-api/testData/symbols/symbolByFqName/memberFunctionWithOverloads.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/symbolByFqName/memberFunctionWithOverloads.descriptors.txt @@ -17,12 +17,26 @@ KtFunctionSymbol: name: listIterator origin: LIBRARY receiverParameter: null - returnType: kotlin/collections/ListIterator + returnType: KtUsualClassType: + type: kotlin/collections/ListIterator + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): kotlin/collections/List + getDispatchReceiver(): KtUsualClassType: + type: kotlin/collections/List + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] getContainingModule: Could not render due to java.lang.NullPointerException: null cannot be cast to non-null type org.jetbrains.kotlin.load.kotlin.JvmPackagePartSource deprecationStatus: null @@ -46,7 +60,14 @@ KtFunctionSymbol: name: listIterator origin: LIBRARY receiverParameter: null - returnType: kotlin/collections/ListIterator + returnType: KtUsualClassType: + type: kotlin/collections/ListIterator + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -64,7 +85,10 @@ KtFunctionSymbol: name: index origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: org.jetbrains.kotlin.analysis.api.descriptors.symbols.descriptorBased.KtFe10DescValueParameterSymbol @@ -72,7 +96,14 @@ KtFunctionSymbol: deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/collections/List + getDispatchReceiver(): KtUsualClassType: + type: kotlin/collections/List + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] getContainingModule: Could not render due to java.lang.NullPointerException: null cannot be cast to non-null type org.jetbrains.kotlin.load.kotlin.JvmPackagePartSource deprecationStatus: null \ No newline at end of file diff --git a/analysis/analysis-api/testData/symbols/symbolByFqName/memberFunctionWithOverloads.txt b/analysis/analysis-api/testData/symbols/symbolByFqName/memberFunctionWithOverloads.txt index 2a0a1246c16..0ff9abd83b5 100644 --- a/analysis/analysis-api/testData/symbols/symbolByFqName/memberFunctionWithOverloads.txt +++ b/analysis/analysis-api/testData/symbols/symbolByFqName/memberFunctionWithOverloads.txt @@ -17,12 +17,26 @@ KtFunctionSymbol: name: listIterator origin: LIBRARY receiverParameter: null - returnType: kotlin/collections/ListIterator + returnType: KtUsualClassType: + type: kotlin/collections/ListIterator + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): kotlin/collections/List + getDispatchReceiver(): KtUsualClassType: + type: kotlin/collections/List + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null @@ -45,7 +59,14 @@ KtFunctionSymbol: name: listIterator origin: LIBRARY receiverParameter: null - returnType: kotlin/collections/ListIterator + returnType: KtUsualClassType: + type: kotlin/collections/ListIterator + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -63,13 +84,23 @@ KtFunctionSymbol: name: index origin: LIBRARY receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): kotlin/collections/List + getDispatchReceiver(): KtUsualClassType: + type: kotlin/collections/List + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: E + annotationsList: [] + ] getContainingModule: KtBinaryModule "Builtins for JVM (1.8)" deprecationStatus: null \ No newline at end of file diff --git a/analysis/analysis-api/testData/symbols/symbolByFqName/nestedClass.descriptors.txt b/analysis/analysis-api/testData/symbols/symbolByFqName/nestedClass.descriptors.txt index 9e8c4e8f982..6353abe6a42 100644 --- a/analysis/analysis-api/testData/symbols/symbolByFqName/nestedClass.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/symbolByFqName/nestedClass.descriptors.txt @@ -13,7 +13,17 @@ KtNamedClassOrObjectSymbol: name: MutableEntry origin: LIBRARY superTypes: [ - kotlin/collections/Map.Entry + KtUsualClassType: + type: kotlin/collections/Map.Entry + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: K + annotationsList: [] + KtTypeParameterType: + type: V + annotationsList: [] + ] ] symbolKind: CLASS_MEMBER typeParameters: [ diff --git a/analysis/analysis-api/testData/symbols/symbolByFqName/nestedClass.txt b/analysis/analysis-api/testData/symbols/symbolByFqName/nestedClass.txt index a942ee909d9..ff124fa1ef9 100644 --- a/analysis/analysis-api/testData/symbols/symbolByFqName/nestedClass.txt +++ b/analysis/analysis-api/testData/symbols/symbolByFqName/nestedClass.txt @@ -13,7 +13,17 @@ KtNamedClassOrObjectSymbol: name: MutableEntry origin: LIBRARY superTypes: [ - kotlin/collections/Map.Entry + KtUsualClassType: + type: kotlin/collections/Map.Entry + annotationsList: [] + ownTypeArguments: [ + KtTypeParameterType: + type: K + annotationsList: [] + KtTypeParameterType: + type: V + annotationsList: [] + ] ] symbolKind: CLASS_MEMBER typeParameters: [ diff --git a/analysis/analysis-api/testData/symbols/symbolByFqName/typealias.descriptors.txt b/analysis/analysis-api/testData/symbols/symbolByFqName/typealias.descriptors.txt index 06f7159ebdf..c3927572b39 100644 --- a/analysis/analysis-api/testData/symbols/symbolByFqName/typealias.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/symbolByFqName/typealias.descriptors.txt @@ -1,7 +1,26 @@ KtTypeAliasSymbol: annotationsList: [] classIdIfNonLocal: kotlin/DeepRecursiveFunctionBlock - expandedType: kotlin/coroutines/SuspendFunction2, kotlin/Any?, kotlin/Any?> + expandedType: KtFunctionalType: + type: kotlin/coroutines/SuspendFunction2, kotlin/Any?, kotlin/Any?> + annotationsList: [] + ownTypeArguments: [ + KtUsualClassType: + type: kotlin/DeepRecursiveScope<*, *> + annotationsList: [] + ownTypeArguments: [ + * + * + ] + KtUsualClassType: + type: kotlin/Any? + annotationsList: [] + ownTypeArguments: [] + KtUsualClassType: + type: kotlin/Any? + annotationsList: [] + ownTypeArguments: [] + ] name: DeepRecursiveFunctionBlock origin: LIBRARY symbolKind: TOP_LEVEL diff --git a/analysis/analysis-api/testData/symbols/symbolByFqName/typealias.txt b/analysis/analysis-api/testData/symbols/symbolByFqName/typealias.txt index 3b661305a06..2b7a9787ed6 100644 --- a/analysis/analysis-api/testData/symbols/symbolByFqName/typealias.txt +++ b/analysis/analysis-api/testData/symbols/symbolByFqName/typealias.txt @@ -1,11 +1,30 @@ KtTypeAliasSymbol: annotationsList: [] classIdIfNonLocal: kotlin/DeepRecursiveFunctionBlock - expandedType: @ExtensionFunctionType kotlin/coroutines/SuspendFunction2, kotlin/Any?, kotlin/Any?> + expandedType: KtFunctionalType: + type: @ExtensionFunctionType kotlin/coroutines/SuspendFunction2, kotlin/Any?, kotlin/Any?> + annotationsList: [] + ownTypeArguments: [ + KtUsualClassType: + type: kotlin/DeepRecursiveScope<*, *> + annotationsList: [] + ownTypeArguments: [ + * + * + ] + KtUsualClassType: + type: kotlin/Any? + annotationsList: [] + ownTypeArguments: [] + KtUsualClassType: + type: kotlin/Any? + annotationsList: [] + ownTypeArguments: [] + ] name: DeepRecursiveFunctionBlock origin: LIBRARY symbolKind: TOP_LEVEL typeParameters: [] visibility: Private getContainingModule: KtLibraryModule "Library kotlin-stdlib" - deprecationStatus: null + deprecationStatus: null \ No newline at end of file diff --git a/analysis/analysis-api/testData/symbols/symbolByFqName/withTestCompilerPluginEnabled/myInterfaceSupertype.descriptors.txt b/analysis/analysis-api/testData/symbols/symbolByFqName/withTestCompilerPluginEnabled/myInterfaceSupertype.descriptors.txt index ac062336659..e63d3bcc951 100644 --- a/analysis/analysis-api/testData/symbols/symbolByFqName/withTestCompilerPluginEnabled/myInterfaceSupertype.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/symbolByFqName/withTestCompilerPluginEnabled/myInterfaceSupertype.descriptors.txt @@ -16,7 +16,10 @@ KtNamedClassOrObjectSymbol: name: MyClass origin: SOURCE superTypes: [ - kotlin/Any + KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [] diff --git a/analysis/analysis-api/testData/symbols/symbolByFqName/withTestCompilerPluginEnabled/myInterfaceSupertype.txt b/analysis/analysis-api/testData/symbols/symbolByFqName/withTestCompilerPluginEnabled/myInterfaceSupertype.txt index e86ad297991..a9badf45681 100644 --- a/analysis/analysis-api/testData/symbols/symbolByFqName/withTestCompilerPluginEnabled/myInterfaceSupertype.txt +++ b/analysis/analysis-api/testData/symbols/symbolByFqName/withTestCompilerPluginEnabled/myInterfaceSupertype.txt @@ -16,8 +16,14 @@ KtNamedClassOrObjectSymbol: name: MyClass origin: SOURCE superTypes: [ - kotlin/Any - foo/MyInterface + KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] + KtUsualClassType: + type: foo/MyInterface + annotationsList: [] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [] diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/annotations.descriptors.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/annotations.descriptors.txt index 5b48eb26de2..fae3096abaa 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/annotations.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/annotations.descriptors.txt @@ -8,7 +8,10 @@ KtConstructorSymbol: isPrimary: true origin: SOURCE receiverParameter: null - returnType: Anno + returnType: KtUsualClassType: + type: Anno + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -33,12 +36,18 @@ KtConstructorSymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): Anno + getDispatchReceiver(): KtUsualClassType: + type: Anno + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: true @@ -57,12 +66,18 @@ KtConstructorSymbol: name: param1 origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): Anno + getDispatchReceiver(): KtUsualClassType: + type: Anno + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -78,7 +93,10 @@ KtConstructorSymbol: name: param1 origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -104,12 +122,18 @@ KtConstructorSymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): Anno + getDispatchReceiver(): KtUsualClassType: + type: Anno + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: true @@ -128,12 +152,18 @@ KtConstructorSymbol: name: param2 origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): Anno + getDispatchReceiver(): KtUsualClassType: + type: Anno + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -149,7 +179,10 @@ KtConstructorSymbol: name: param2 origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -174,7 +207,10 @@ KtNamedClassOrObjectSymbol: name: Anno origin: SOURCE superTypes: [ - kotlin/Annotation + KtUsualClassType: + type: kotlin/Annotation + annotationsList: [] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [] @@ -205,12 +241,18 @@ KtFunctionSymbol: name: x origin: SOURCE receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): X + getDispatchReceiver(): KtUsualClassType: + type: X + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -232,7 +274,10 @@ KtNamedClassOrObjectSymbol: name: X origin: SOURCE superTypes: [ - kotlin/Any + KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [] diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/annotations.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/annotations.txt index f60378e8e83..222a455b2aa 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/annotations.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/annotations.txt @@ -8,7 +8,10 @@ KtConstructorSymbol: isPrimary: true origin: SOURCE receiverParameter: null - returnType: Anno + returnType: KtUsualClassType: + type: Anno + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -33,12 +36,18 @@ KtConstructorSymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): Anno + getDispatchReceiver(): KtUsualClassType: + type: Anno + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: true @@ -57,12 +66,18 @@ KtConstructorSymbol: name: param1 origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): Anno + getDispatchReceiver(): KtUsualClassType: + type: Anno + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -78,7 +93,10 @@ KtConstructorSymbol: name: param1 origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -104,12 +122,18 @@ KtConstructorSymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): Anno + getDispatchReceiver(): KtUsualClassType: + type: Anno + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: true @@ -128,12 +152,18 @@ KtConstructorSymbol: name: param2 origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): Anno + getDispatchReceiver(): KtUsualClassType: + type: Anno + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -149,7 +179,10 @@ KtConstructorSymbol: name: param2 origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -174,7 +207,10 @@ KtNamedClassOrObjectSymbol: name: Anno origin: SOURCE superTypes: [ - kotlin/Annotation + KtUsualClassType: + type: kotlin/Annotation + annotationsList: [] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [] @@ -205,12 +241,18 @@ KtFunctionSymbol: name: x origin: SOURCE receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): X + getDispatchReceiver(): KtUsualClassType: + type: X + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -232,7 +274,10 @@ KtNamedClassOrObjectSymbol: name: X origin: SOURCE superTypes: [ - kotlin/Any + KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [] diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/anonymousObject.descriptors.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/anonymousObject.descriptors.txt index fb636507c4a..4afbd07e2f8 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/anonymousObject.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/anonymousObject.descriptors.txt @@ -17,12 +17,18 @@ KtFunctionSymbol: name: run origin: SOURCE receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): + getDispatchReceiver(): KtUsualClassType: + type: + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -43,12 +49,18 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): + getDispatchReceiver(): KtUsualClassType: + type: + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: true @@ -67,12 +79,18 @@ KtKotlinPropertySymbol: name: data origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): + getDispatchReceiver(): KtUsualClassType: + type: + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -87,7 +105,10 @@ KtAnonymousObjectSymbol: name: null origin: SOURCE superTypes: [ - java/lang/Runnable + KtUsualClassType: + type: java/lang/Runnable + annotationsList: [] + ownTypeArguments: [] ] symbolKind: LOCAL typeParameters: [] @@ -112,12 +133,18 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: java/lang/Runnable + returnType: KtUsualClassType: + type: java/lang/Runnable + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): AnonymousContainer + getDispatchReceiver(): KtUsualClassType: + type: AnonymousContainer + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: true @@ -136,12 +163,18 @@ KtKotlinPropertySymbol: name: anonymousObject origin: SOURCE receiverParameter: null - returnType: java/lang/Runnable + returnType: KtUsualClassType: + type: java/lang/Runnable + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): AnonymousContainer + getDispatchReceiver(): KtUsualClassType: + type: AnonymousContainer + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -164,7 +197,10 @@ KtNamedClassOrObjectSymbol: name: AnonymousContainer origin: SOURCE superTypes: [ - kotlin/Any + KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [] diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/anonymousObject.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/anonymousObject.txt index b172929bb96..dbad7b8f6ae 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/anonymousObject.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/anonymousObject.txt @@ -17,12 +17,18 @@ KtFunctionSymbol: name: run origin: SOURCE receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): + getDispatchReceiver(): KtUsualClassType: + type: + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -43,12 +49,18 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): + getDispatchReceiver(): KtUsualClassType: + type: + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: true @@ -67,12 +79,18 @@ KtKotlinPropertySymbol: name: data origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): + getDispatchReceiver(): KtUsualClassType: + type: + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -87,7 +105,10 @@ KtAnonymousObjectSymbol: name: null origin: SOURCE superTypes: [ - java/lang/Runnable + KtUsualClassType: + type: java/lang/Runnable + annotationsList: [] + ownTypeArguments: [] ] symbolKind: LOCAL typeParameters: [] @@ -112,12 +133,18 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: java/lang/Runnable + returnType: KtUsualClassType: + type: java/lang/Runnable + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): AnonymousContainer + getDispatchReceiver(): KtUsualClassType: + type: AnonymousContainer + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: true @@ -136,12 +163,18 @@ KtKotlinPropertySymbol: name: anonymousObject origin: SOURCE receiverParameter: null - returnType: java/lang/Runnable + returnType: KtUsualClassType: + type: java/lang/Runnable + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): AnonymousContainer + getDispatchReceiver(): KtUsualClassType: + type: AnonymousContainer + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -164,7 +197,10 @@ KtNamedClassOrObjectSymbol: name: AnonymousContainer origin: SOURCE superTypes: [ - kotlin/Any + KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [] diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/backingField.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/backingField.txt index 8c9d682fdf0..70d3f34ea3c 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/backingField.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/backingField.txt @@ -15,7 +15,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -38,7 +41,10 @@ KtKotlinPropertySymbol: name: p origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: KtPropertySetterSymbol: annotationsList: [] callableIdIfNonLocal: null @@ -65,13 +71,19 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [ @@ -89,7 +101,10 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/class.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/class.txt index 30daea0ed2f..43f30d1e1f2 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/class.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/class.txt @@ -13,7 +13,10 @@ KtNamedClassOrObjectSymbol: name: A origin: SOURCE superTypes: [ - kotlin/Any + KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [] diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/classInitializer.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/classInitializer.txt index ff506b2589b..a213c9623f3 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/classInitializer.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/classInitializer.txt @@ -15,12 +15,18 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): A + getDispatchReceiver(): KtUsualClassType: + type: A + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: true @@ -39,12 +45,18 @@ KtKotlinPropertySymbol: name: i origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): A + getDispatchReceiver(): KtUsualClassType: + type: A + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -75,7 +87,10 @@ KtNamedClassOrObjectSymbol: name: A origin: SOURCE superTypes: [ - kotlin/Any + KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [] diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/classMembes.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/classMembes.txt index 5fafdd07463..3590b72ec41 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/classMembes.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/classMembes.txt @@ -15,12 +15,18 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): A + getDispatchReceiver(): KtUsualClassType: + type: A + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: true @@ -39,12 +45,18 @@ KtKotlinPropertySymbol: name: a origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): A + getDispatchReceiver(): KtUsualClassType: + type: A + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -71,12 +83,18 @@ KtFunctionSymbol: name: x origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): A + getDispatchReceiver(): KtUsualClassType: + type: A + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -95,7 +113,10 @@ KtNamedClassOrObjectSymbol: name: A origin: SOURCE superTypes: [ - kotlin/Any + KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [] diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/classPrimaryConstructor.descriptors.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/classPrimaryConstructor.descriptors.txt index 9d1c2cccd77..27e76bd5b8c 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/classPrimaryConstructor.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/classPrimaryConstructor.descriptors.txt @@ -8,7 +8,10 @@ KtConstructorSymbol: isPrimary: true origin: SOURCE receiverParameter: null - returnType: A + returnType: KtUsualClassType: + type: A + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -33,12 +36,18 @@ KtConstructorSymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): A + getDispatchReceiver(): KtUsualClassType: + type: A + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: true @@ -57,12 +66,18 @@ KtConstructorSymbol: name: a origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): A + getDispatchReceiver(): KtUsualClassType: + type: A + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -78,7 +93,10 @@ KtConstructorSymbol: name: a origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -97,7 +115,10 @@ KtConstructorSymbol: name: b origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -122,7 +143,10 @@ KtNamedClassOrObjectSymbol: name: A origin: SOURCE superTypes: [ - kotlin/Any + KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [] diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/classPrimaryConstructor.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/classPrimaryConstructor.txt index 3294e547f5b..e2c054d9cfc 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/classPrimaryConstructor.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/classPrimaryConstructor.txt @@ -8,7 +8,10 @@ KtConstructorSymbol: isPrimary: true origin: SOURCE receiverParameter: null - returnType: A + returnType: KtUsualClassType: + type: A + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -33,12 +36,18 @@ KtConstructorSymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): A + getDispatchReceiver(): KtUsualClassType: + type: A + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: true @@ -57,12 +66,18 @@ KtConstructorSymbol: name: a origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): A + getDispatchReceiver(): KtUsualClassType: + type: A + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -78,7 +93,10 @@ KtConstructorSymbol: name: a origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -97,7 +115,10 @@ KtConstructorSymbol: name: b origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -122,7 +143,10 @@ KtNamedClassOrObjectSymbol: name: A origin: SOURCE superTypes: [ - kotlin/Any + KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [] diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/classSecondaryConstructors.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/classSecondaryConstructors.txt index 95a364a07dd..6571f6de975 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/classSecondaryConstructors.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/classSecondaryConstructors.txt @@ -8,7 +8,10 @@ KtConstructorSymbol: isPrimary: true origin: SOURCE receiverParameter: null - returnType: A + returnType: KtUsualClassType: + type: A + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] @@ -26,7 +29,10 @@ KtConstructorSymbol: isPrimary: false origin: SOURCE receiverParameter: null - returnType: A + returnType: KtUsualClassType: + type: A + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -44,7 +50,10 @@ KtConstructorSymbol: name: x origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -64,7 +73,10 @@ KtConstructorSymbol: isPrimary: false origin: SOURCE receiverParameter: null - returnType: A + returnType: KtUsualClassType: + type: A + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -82,7 +94,10 @@ KtConstructorSymbol: name: y origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -101,7 +116,10 @@ KtConstructorSymbol: name: z origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -126,7 +144,10 @@ KtNamedClassOrObjectSymbol: name: A origin: SOURCE superTypes: [ - kotlin/Any + KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [] diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/classWithTypeParams.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/classWithTypeParams.txt index 2d9422562a9..a3f676512f0 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/classWithTypeParams.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/classWithTypeParams.txt @@ -38,7 +38,10 @@ KtNamedClassOrObjectSymbol: name: A origin: SOURCE superTypes: [ - kotlin/Any + KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [ diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/contextReceivers/contextReceiversOnClass.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/contextReceivers/contextReceiversOnClass.txt index 5650ddfa3f5..d10a8a93b12 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/contextReceivers/contextReceiversOnClass.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/contextReceivers/contextReceiversOnClass.txt @@ -8,7 +8,10 @@ KtConstructorSymbol: isPrimary: false origin: SOURCE receiverParameter: null - returnType: A + returnType: KtUsualClassType: + type: A + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -26,7 +29,10 @@ KtConstructorSymbol: name: int origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -42,8 +48,14 @@ KtNamedClassOrObjectSymbol: classKind: CLASS companionObject: null contextReceivers: [ - ContextReceiver(kotlin/Int) - ContextReceiver(s@kotlin/String) + ContextReceiver(KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: []) + ContextReceiver(s@KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: []) ] isData: false isExternal: false @@ -54,7 +66,10 @@ KtNamedClassOrObjectSymbol: name: A origin: SOURCE superTypes: [ - kotlin/Any + KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [] diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/contextReceivers/contextReceiversOnFunction.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/contextReceivers/contextReceiversOnFunction.txt index aff8e006504..034957095de 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/contextReceivers/contextReceiversOnFunction.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/contextReceivers/contextReceiversOnFunction.txt @@ -2,8 +2,14 @@ KtFunctionSymbol: annotationsList: [] callableIdIfNonLocal: /y contextReceivers: [ - ContextReceiver(kotlin/Int) - ContextReceiver(s@kotlin/String) + ContextReceiver(KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: []) + ContextReceiver(s@KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: []) ] contractEffects: [] hasStableParameterNames: true @@ -20,7 +26,10 @@ KtFunctionSymbol: name: y origin: SOURCE receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [] diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/contextReceivers/contextReceiversOnProperty.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/contextReceivers/contextReceiversOnProperty.txt index 3d1db2f9f56..130f19d3b48 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/contextReceivers/contextReceiversOnProperty.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/contextReceivers/contextReceiversOnProperty.txt @@ -2,8 +2,14 @@ KtKotlinPropertySymbol: annotationsList: [] callableIdIfNonLocal: /y contextReceivers: [ - ContextReceiver(kotlin/Int) - ContextReceiver(s@kotlin/String) + ContextReceiver(KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: []) + ContextReceiver(s@KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: []) ] getter: KtPropertyGetterSymbol: annotationsList: [] @@ -18,7 +24,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -41,7 +50,10 @@ KtKotlinPropertySymbol: name: y origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: TOP_LEVEL typeParameters: [] diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/contextReceivers/similarSignatures.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/contextReceivers/similarSignatures.txt index 30454a9818a..9685b2198a0 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/contextReceivers/similarSignatures.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/contextReceivers/similarSignatures.txt @@ -13,7 +13,10 @@ KtNamedClassOrObjectSymbol: name: A origin: SOURCE superTypes: [ - kotlin/Any + KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [] @@ -37,7 +40,10 @@ KtNamedClassOrObjectSymbol: name: B origin: SOURCE superTypes: [ - kotlin/Any + KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [] @@ -50,7 +56,10 @@ KtFunctionSymbol: annotationsList: [] callableIdIfNonLocal: /tooo contextReceivers: [ - ContextReceiver(A) + ContextReceiver(KtUsualClassType: + type: A + annotationsList: [] + ownTypeArguments: []) ] contractEffects: [] hasStableParameterNames: true @@ -67,7 +76,10 @@ KtFunctionSymbol: name: tooo origin: SOURCE receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [] @@ -79,7 +91,10 @@ KtFunctionSymbol: annotationsList: [] callableIdIfNonLocal: /tooo contextReceivers: [ - ContextReceiver(B) + ContextReceiver(KtUsualClassType: + type: B + annotationsList: [] + ownTypeArguments: []) ] contractEffects: [] hasStableParameterNames: true @@ -96,7 +111,10 @@ KtFunctionSymbol: name: tooo origin: SOURCE receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [] @@ -108,8 +126,14 @@ KtFunctionSymbol: annotationsList: [] callableIdIfNonLocal: /tooo contextReceivers: [ - ContextReceiver(A) - ContextReceiver(B) + ContextReceiver(KtUsualClassType: + type: A + annotationsList: [] + ownTypeArguments: []) + ContextReceiver(KtUsualClassType: + type: B + annotationsList: [] + ownTypeArguments: []) ] contractEffects: [] hasStableParameterNames: true @@ -126,7 +150,10 @@ KtFunctionSymbol: name: tooo origin: SOURCE receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [] @@ -138,8 +165,14 @@ KtFunctionSymbol: annotationsList: [] callableIdIfNonLocal: /tooo contextReceivers: [ - ContextReceiver(B) - ContextReceiver(A) + ContextReceiver(KtUsualClassType: + type: B + annotationsList: [] + ownTypeArguments: []) + ContextReceiver(KtUsualClassType: + type: A + annotationsList: [] + ownTypeArguments: []) ] contractEffects: [] hasStableParameterNames: true @@ -156,7 +189,10 @@ KtFunctionSymbol: name: tooo origin: SOURCE receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [] diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/delegateField.descriptors.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/delegateField.descriptors.txt index 73fb0e864de..2b849deb4aa 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/delegateField.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/delegateField.descriptors.txt @@ -8,7 +8,10 @@ KtConstructorSymbol: isPrimary: true origin: SOURCE receiverParameter: null - returnType: MyColor + returnType: KtUsualClassType: + type: MyColor + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -33,12 +36,18 @@ KtConstructorSymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): MyColor + getDispatchReceiver(): KtUsualClassType: + type: MyColor + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: true @@ -57,12 +66,18 @@ KtConstructorSymbol: name: x origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): MyColor + getDispatchReceiver(): KtUsualClassType: + type: MyColor + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -78,7 +93,10 @@ KtConstructorSymbol: name: x origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -104,12 +122,18 @@ KtConstructorSymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): MyColor + getDispatchReceiver(): KtUsualClassType: + type: MyColor + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: true @@ -128,12 +152,18 @@ KtConstructorSymbol: name: y origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): MyColor + getDispatchReceiver(): KtUsualClassType: + type: MyColor + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -149,7 +179,10 @@ KtConstructorSymbol: name: y origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -175,12 +208,18 @@ KtConstructorSymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): MyColor + getDispatchReceiver(): KtUsualClassType: + type: MyColor + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: true @@ -199,12 +238,18 @@ KtConstructorSymbol: name: z origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): MyColor + getDispatchReceiver(): KtUsualClassType: + type: MyColor + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -220,7 +265,10 @@ KtConstructorSymbol: name: z origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -245,7 +293,10 @@ KtNamedClassOrObjectSymbol: name: MyColor origin: SOURCE superTypes: [ - kotlin/Any + KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [] @@ -262,7 +313,10 @@ KtAnonymousFunctionSymbol: isExtension: false origin: SOURCE receiverParameter: null - returnType: MyColor + returnType: KtUsualClassType: + type: MyColor + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] valueParameters: [] @@ -286,12 +340,18 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: MyColor + returnType: KtUsualClassType: + type: MyColor + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): Some + getDispatchReceiver(): KtUsualClassType: + type: Some + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: false @@ -310,12 +370,18 @@ KtKotlinPropertySymbol: name: delegate origin: SOURCE receiverParameter: null - returnType: MyColor + returnType: KtUsualClassType: + type: MyColor + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): Some + getDispatchReceiver(): KtUsualClassType: + type: Some + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -331,7 +397,10 @@ KtAnonymousFunctionSymbol: isExtension: false origin: SOURCE receiverParameter: null - returnType: MyColor + returnType: KtUsualClassType: + type: MyColor + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] valueParameters: [] @@ -355,12 +424,23 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Lazy + returnType: KtUsualClassType: + type: kotlin/Lazy + annotationsList: [] + ownTypeArguments: [ + KtUsualClassType: + type: MyColor + annotationsList: [] + ownTypeArguments: [] + ] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): Some + getDispatchReceiver(): KtUsualClassType: + type: Some + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: true @@ -379,12 +459,23 @@ KtKotlinPropertySymbol: name: lambda origin: SOURCE receiverParameter: null - returnType: kotlin/Lazy + returnType: KtUsualClassType: + type: kotlin/Lazy + annotationsList: [] + ownTypeArguments: [ + KtUsualClassType: + type: MyColor + annotationsList: [] + ownTypeArguments: [] + ] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): Some + getDispatchReceiver(): KtUsualClassType: + type: Some + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -409,12 +500,18 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: MyColor + returnType: KtUsualClassType: + type: MyColor + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): Some + getDispatchReceiver(): KtUsualClassType: + type: Some + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: true @@ -433,12 +530,18 @@ KtKotlinPropertySymbol: name: nonLazy origin: SOURCE receiverParameter: null - returnType: MyColor + returnType: KtUsualClassType: + type: MyColor + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): Some + getDispatchReceiver(): KtUsualClassType: + type: Some + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -461,7 +564,10 @@ KtNamedClassOrObjectSymbol: name: Some origin: SOURCE superTypes: [ - kotlin/Any + KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [] diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/delegateField.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/delegateField.txt index 0f6e4902b67..f9253aca2da 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/delegateField.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/delegateField.txt @@ -8,7 +8,10 @@ KtConstructorSymbol: isPrimary: true origin: SOURCE receiverParameter: null - returnType: MyColor + returnType: KtUsualClassType: + type: MyColor + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -33,12 +36,18 @@ KtConstructorSymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): MyColor + getDispatchReceiver(): KtUsualClassType: + type: MyColor + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: true @@ -57,12 +66,18 @@ KtConstructorSymbol: name: x origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): MyColor + getDispatchReceiver(): KtUsualClassType: + type: MyColor + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -78,7 +93,10 @@ KtConstructorSymbol: name: x origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -104,12 +122,18 @@ KtConstructorSymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): MyColor + getDispatchReceiver(): KtUsualClassType: + type: MyColor + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: true @@ -128,12 +152,18 @@ KtConstructorSymbol: name: y origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): MyColor + getDispatchReceiver(): KtUsualClassType: + type: MyColor + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -149,7 +179,10 @@ KtConstructorSymbol: name: y origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -175,12 +208,18 @@ KtConstructorSymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): MyColor + getDispatchReceiver(): KtUsualClassType: + type: MyColor + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: true @@ -199,12 +238,18 @@ KtConstructorSymbol: name: z origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): MyColor + getDispatchReceiver(): KtUsualClassType: + type: MyColor + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -220,7 +265,10 @@ KtConstructorSymbol: name: z origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -245,7 +293,10 @@ KtNamedClassOrObjectSymbol: name: MyColor origin: SOURCE superTypes: [ - kotlin/Any + KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [] @@ -262,7 +313,10 @@ KtAnonymousFunctionSymbol: isExtension: false origin: SOURCE receiverParameter: null - returnType: MyColor + returnType: KtUsualClassType: + type: MyColor + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] valueParameters: [] @@ -286,7 +340,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: MyColor + returnType: KtUsualClassType: + type: MyColor + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -309,12 +366,18 @@ KtKotlinPropertySymbol: name: delegate origin: SOURCE receiverParameter: null - returnType: MyColor + returnType: KtUsualClassType: + type: MyColor + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): Some + getDispatchReceiver(): KtUsualClassType: + type: Some + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -330,7 +393,10 @@ KtAnonymousFunctionSymbol: isExtension: false origin: SOURCE receiverParameter: null - returnType: MyColor + returnType: KtUsualClassType: + type: MyColor + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] valueParameters: [] @@ -354,12 +420,23 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Lazy + returnType: KtUsualClassType: + type: kotlin/Lazy + annotationsList: [] + ownTypeArguments: [ + KtUsualClassType: + type: MyColor + annotationsList: [] + ownTypeArguments: [] + ] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): Some + getDispatchReceiver(): KtUsualClassType: + type: Some + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: true @@ -378,12 +455,23 @@ KtKotlinPropertySymbol: name: lambda origin: SOURCE receiverParameter: null - returnType: kotlin/Lazy + returnType: KtUsualClassType: + type: kotlin/Lazy + annotationsList: [] + ownTypeArguments: [ + KtUsualClassType: + type: MyColor + annotationsList: [] + ownTypeArguments: [] + ] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): Some + getDispatchReceiver(): KtUsualClassType: + type: Some + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -408,12 +496,18 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: MyColor + returnType: KtUsualClassType: + type: MyColor + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): Some + getDispatchReceiver(): KtUsualClassType: + type: Some + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: true @@ -432,12 +526,18 @@ KtKotlinPropertySymbol: name: nonLazy origin: SOURCE receiverParameter: null - returnType: MyColor + returnType: KtUsualClassType: + type: MyColor + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): Some + getDispatchReceiver(): KtUsualClassType: + type: Some + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -460,7 +560,10 @@ KtNamedClassOrObjectSymbol: name: Some origin: SOURCE superTypes: [ - kotlin/Any + KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [] diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/delegatedProp.descriptors.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/delegatedProp.descriptors.txt index 01c1697b6f6..c70dc9965c0 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/delegatedProp.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/delegatedProp.descriptors.txt @@ -15,7 +15,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -38,7 +41,10 @@ KtKotlinPropertySymbol: name: delegatedProp origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] setter: KtPropertySetterSymbol: annotationsList: [] callableIdIfNonLocal: null @@ -65,13 +71,19 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [ @@ -89,7 +101,10 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/delegatedProp.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/delegatedProp.txt index 8cd8598ecaf..2989e96b428 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/delegatedProp.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/delegatedProp.txt @@ -15,7 +15,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -38,7 +41,10 @@ KtKotlinPropertySymbol: name: delegatedProp origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] setter: KtPropertySetterSymbol: annotationsList: [] callableIdIfNonLocal: null @@ -65,13 +71,19 @@ KtKotlinPropertySymbol: name: delegatedProp origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [ @@ -89,7 +101,10 @@ KtKotlinPropertySymbol: name: delegatedProp origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/deprecated.descriptors.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/deprecated.descriptors.txt index a7618861a4a..a0f460e22b2 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/deprecated.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/deprecated.descriptors.txt @@ -18,7 +18,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -41,7 +44,10 @@ KtKotlinPropertySymbol: name: i origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: TOP_LEVEL typeParameters: [] @@ -73,7 +79,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -96,7 +105,10 @@ KtKotlinPropertySymbol: name: i2 origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: TOP_LEVEL typeParameters: [] @@ -125,7 +137,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -148,7 +163,10 @@ KtKotlinPropertySymbol: name: i3 origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: KtPropertySetterSymbol: annotationsList: [ kotlin/Deprecated(message = "don't use getter of i3") @@ -178,13 +196,19 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [ @@ -202,7 +226,10 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -242,7 +269,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -265,7 +295,10 @@ KtKotlinPropertySymbol: name: i4 origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: KtPropertySetterSymbol: annotationsList: [ kotlin/Deprecated(message = "don't use setter of i4") @@ -295,13 +328,19 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [ @@ -319,7 +358,10 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -361,7 +403,10 @@ KtFunctionSymbol: name: f origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [] @@ -387,7 +432,10 @@ KtNamedClassOrObjectSymbol: name: MyClass origin: SOURCE superTypes: [ - kotlin/Any + KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [] @@ -416,12 +464,18 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): Foo + getDispatchReceiver(): KtUsualClassType: + type: Foo + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: true @@ -440,12 +494,18 @@ KtKotlinPropertySymbol: name: i2 origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): Foo + getDispatchReceiver(): KtUsualClassType: + type: Foo + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: DeprecationInfo(deprecationLevel=WARNING, propagatesToOverrides=true, message=don't use i2) getterDeprecationStatus: DeprecationInfo(deprecationLevel=WARNING, propagatesToOverrides=true, message=don't use i2) @@ -475,12 +535,18 @@ KtFunctionSymbol: name: f2 origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): Foo + getDispatchReceiver(): KtUsualClassType: + type: Foo + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: DeprecationInfo(deprecationLevel=WARNING, propagatesToOverrides=true, message=don't use f2) @@ -499,7 +565,10 @@ KtNamedClassOrObjectSymbol: name: Foo origin: SOURCE superTypes: [ - kotlin/Any + KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [] @@ -528,7 +597,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -551,7 +623,10 @@ KtKotlinPropertySymbol: name: j origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: TOP_LEVEL typeParameters: [] @@ -583,7 +658,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -606,7 +684,10 @@ KtKotlinPropertySymbol: name: j2 origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: TOP_LEVEL typeParameters: [] @@ -635,7 +716,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -658,7 +742,10 @@ KtKotlinPropertySymbol: name: j2 origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: TOP_LEVEL typeParameters: [] diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/deprecated.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/deprecated.txt index ea5bcbcb76c..825a1a63acf 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/deprecated.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/deprecated.txt @@ -18,7 +18,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -41,7 +44,10 @@ KtKotlinPropertySymbol: name: i origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: TOP_LEVEL typeParameters: [] @@ -73,7 +79,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -96,7 +105,10 @@ KtKotlinPropertySymbol: name: i2 origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: TOP_LEVEL typeParameters: [] @@ -125,7 +137,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -148,7 +163,10 @@ KtKotlinPropertySymbol: name: i3 origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: KtPropertySetterSymbol: annotationsList: [ kotlin/Deprecated(message = "don't use getter of i3") @@ -178,13 +196,19 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [ @@ -202,7 +226,10 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -241,7 +268,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -264,7 +294,10 @@ KtKotlinPropertySymbol: name: i4 origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: KtPropertySetterSymbol: annotationsList: [ kotlin/Deprecated(message = "don't use setter of i4") @@ -294,13 +327,19 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [ @@ -318,7 +357,10 @@ KtKotlinPropertySymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -359,7 +401,10 @@ KtFunctionSymbol: name: f origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [] @@ -385,7 +430,10 @@ KtNamedClassOrObjectSymbol: name: MyClass origin: SOURCE superTypes: [ - kotlin/Any + KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [] @@ -414,12 +462,18 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): Foo + getDispatchReceiver(): KtUsualClassType: + type: Foo + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: true @@ -438,12 +492,18 @@ KtKotlinPropertySymbol: name: i2 origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): Foo + getDispatchReceiver(): KtUsualClassType: + type: Foo + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: DeprecationInfo(deprecationLevel=WARNING, propagatesToOverrides=true, message=don't use i2) getterDeprecationStatus: DeprecationInfo(deprecationLevel=WARNING, propagatesToOverrides=true, message=don't use i2) @@ -473,12 +533,18 @@ KtFunctionSymbol: name: f2 origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): Foo + getDispatchReceiver(): KtUsualClassType: + type: Foo + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: DeprecationInfo(deprecationLevel=WARNING, propagatesToOverrides=true, message=don't use f2) @@ -497,7 +563,10 @@ KtNamedClassOrObjectSymbol: name: Foo origin: SOURCE superTypes: [ - kotlin/Any + KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [] @@ -526,7 +595,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -549,7 +621,10 @@ KtKotlinPropertySymbol: name: j origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: TOP_LEVEL typeParameters: [] @@ -581,7 +656,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -604,7 +682,10 @@ KtKotlinPropertySymbol: name: j2 origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: TOP_LEVEL typeParameters: [] @@ -636,7 +717,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -659,7 +743,10 @@ KtKotlinPropertySymbol: name: j2 origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: TOP_LEVEL typeParameters: [] diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/destructuringDeclaration.descriptors.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/destructuringDeclaration.descriptors.txt index f9b36fae004..5825eb0fe2e 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/destructuringDeclaration.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/destructuringDeclaration.descriptors.txt @@ -8,7 +8,10 @@ KtConstructorSymbol: isPrimary: true origin: SOURCE receiverParameter: null - returnType: P + returnType: KtUsualClassType: + type: P + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -33,12 +36,18 @@ KtConstructorSymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): P + getDispatchReceiver(): KtUsualClassType: + type: P + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: true @@ -57,12 +66,18 @@ KtConstructorSymbol: name: x origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): P + getDispatchReceiver(): KtUsualClassType: + type: P + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -78,7 +93,10 @@ KtConstructorSymbol: name: x origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -104,12 +122,18 @@ KtConstructorSymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): P + getDispatchReceiver(): KtUsualClassType: + type: P + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: true @@ -128,12 +152,18 @@ KtConstructorSymbol: name: y origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): P + getDispatchReceiver(): KtUsualClassType: + type: P + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -149,7 +179,10 @@ KtConstructorSymbol: name: y origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -174,7 +207,10 @@ KtNamedClassOrObjectSymbol: name: P origin: SOURCE superTypes: [ - kotlin/Any + KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [] @@ -192,7 +228,10 @@ KtLocalVariableSymbol: name: l origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -207,7 +246,10 @@ KtLocalVariableSymbol: name: r origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -232,7 +274,10 @@ KtFunctionSymbol: name: destruct origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [] diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/destructuringDeclaration.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/destructuringDeclaration.txt index bd2800677a4..641ceb4de89 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/destructuringDeclaration.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/destructuringDeclaration.txt @@ -8,7 +8,10 @@ KtConstructorSymbol: isPrimary: true origin: SOURCE receiverParameter: null - returnType: P + returnType: KtUsualClassType: + type: P + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -33,12 +36,18 @@ KtConstructorSymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): P + getDispatchReceiver(): KtUsualClassType: + type: P + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: true @@ -57,12 +66,18 @@ KtConstructorSymbol: name: x origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): P + getDispatchReceiver(): KtUsualClassType: + type: P + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -78,7 +93,10 @@ KtConstructorSymbol: name: x origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -104,12 +122,18 @@ KtConstructorSymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): P + getDispatchReceiver(): KtUsualClassType: + type: P + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: true @@ -128,12 +152,18 @@ KtConstructorSymbol: name: y origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): P + getDispatchReceiver(): KtUsualClassType: + type: P + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -149,7 +179,10 @@ KtConstructorSymbol: name: y origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -174,7 +207,10 @@ KtNamedClassOrObjectSymbol: name: P origin: SOURCE superTypes: [ - kotlin/Any + KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [] @@ -192,7 +228,10 @@ KtLocalVariableSymbol: name: l origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -207,7 +246,10 @@ KtLocalVariableSymbol: name: r origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -232,7 +274,10 @@ KtFunctionSymbol: name: destruct origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: TOP_LEVEL typeParameters: [] valueParameters: [] diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/dynamic.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/dynamic.txt index 31cede4399f..d10262648c2 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/dynamic.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/dynamic.txt @@ -15,12 +15,17 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: dynamic + returnType: KtDynamicType: + type: dynamic + annotationsList: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): Foo + getDispatchReceiver(): KtUsualClassType: + type: Foo + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: true @@ -39,12 +44,17 @@ KtKotlinPropertySymbol: name: p origin: SOURCE receiverParameter: null - returnType: dynamic + returnType: KtDynamicType: + type: dynamic + annotationsList: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): Foo + getDispatchReceiver(): KtUsualClassType: + type: Foo + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -60,7 +70,9 @@ KtAnonymousFunctionSymbol: isExtension: false origin: SOURCE receiverParameter: null - returnType: dynamic + returnType: KtDynamicType: + type: dynamic + annotationsList: [] symbolKind: LOCAL typeParameters: [] valueParameters: [] @@ -86,7 +98,9 @@ KtFunctionSymbol: name: f origin: SOURCE receiverParameter: null - returnType: dynamic + returnType: KtDynamicType: + type: dynamic + annotationsList: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -104,14 +118,19 @@ KtFunctionSymbol: name: p origin: SOURCE receiverParameter: null - returnType: dynamic + returnType: KtDynamicType: + type: dynamic + annotationsList: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): Foo + getDispatchReceiver(): KtUsualClassType: + type: Foo + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -130,7 +149,10 @@ KtNamedClassOrObjectSymbol: name: Foo origin: SOURCE superTypes: [ - kotlin/Any + KtUsualClassType: + type: kotlin/Any + annotationsList: [] + ownTypeArguments: [] ] symbolKind: TOP_LEVEL typeParameters: [] diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/enum.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/enum.txt index 8214b485610..bdf9979ba9f 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/enum.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/enum.txt @@ -7,7 +7,10 @@ KtEnumEntrySymbol: name: Y origin: SOURCE receiverParameter: null - returnType: X + returnType: KtUsualClassType: + type: X + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -22,7 +25,10 @@ KtEnumEntrySymbol: name: Z origin: SOURCE receiverParameter: null - returnType: X + returnType: KtUsualClassType: + type: X + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -43,7 +49,15 @@ KtNamedClassOrObjectSymbol: name: X origin: SOURCE superTypes: [ - kotlin/Enum + KtUsualClassType: + type: kotlin/Enum + annotationsList: [] + ownTypeArguments: [ + KtUsualClassType: + type: X + annotationsList: [] + ownTypeArguments: [] + ] ] symbolKind: TOP_LEVEL typeParameters: [] diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/enumEntryFunctions.descriptors.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/enumEntryFunctions.descriptors.txt index 7350146787a..f7d759a8b66 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/enumEntryFunctions.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/enumEntryFunctions.descriptors.txt @@ -17,12 +17,18 @@ KtFunctionSymbol: name: a origin: SOURCE receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): MyEnumClass.FirstEntry + getDispatchReceiver(): KtUsualClassType: + type: MyEnumClass.FirstEntry + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -35,7 +41,10 @@ KtEnumEntrySymbol: name: FirstEntry origin: SOURCE receiverParameter: null - returnType: MyEnumClass + returnType: KtUsualClassType: + type: MyEnumClass + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -50,7 +59,10 @@ KtEnumEntrySymbol: name: SecondEntry origin: SOURCE receiverParameter: null - returnType: MyEnumClass + returnType: KtUsualClassType: + type: MyEnumClass + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -75,12 +87,18 @@ KtFunctionSymbol: name: one origin: SOURCE receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): MyEnumClass.ThirdEntry + getDispatchReceiver(): KtUsualClassType: + type: MyEnumClass.ThirdEntry + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -103,7 +121,10 @@ KtFunctionSymbol: name: one origin: SOURCE receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -121,14 +142,20 @@ KtFunctionSymbol: name: i origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): MyEnumClass.ThirdEntry + getDispatchReceiver(): KtUsualClassType: + type: MyEnumClass.ThirdEntry + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -141,7 +168,10 @@ KtEnumEntrySymbol: name: ThirdEntry origin: SOURCE receiverParameter: null - returnType: MyEnumClass + returnType: KtUsualClassType: + type: MyEnumClass + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -162,7 +192,15 @@ KtNamedClassOrObjectSymbol: name: MyEnumClass origin: SOURCE superTypes: [ - kotlin/Enum + KtUsualClassType: + type: kotlin/Enum + annotationsList: [] + ownTypeArguments: [ + KtUsualClassType: + type: MyEnumClass + annotationsList: [] + ownTypeArguments: [] + ] ] symbolKind: TOP_LEVEL typeParameters: [] diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/enumEntryFunctions.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/enumEntryFunctions.txt index 90d0c9d2e59..b33ac6817cb 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/enumEntryFunctions.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/enumEntryFunctions.txt @@ -17,12 +17,18 @@ KtFunctionSymbol: name: a origin: SOURCE receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): + getDispatchReceiver(): KtUsualClassType: + type: + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -35,7 +41,10 @@ KtEnumEntrySymbol: name: FirstEntry origin: SOURCE receiverParameter: null - returnType: MyEnumClass + returnType: KtUsualClassType: + type: MyEnumClass + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -50,7 +59,10 @@ KtEnumEntrySymbol: name: SecondEntry origin: SOURCE receiverParameter: null - returnType: MyEnumClass + returnType: KtUsualClassType: + type: MyEnumClass + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -75,12 +87,18 @@ KtFunctionSymbol: name: one origin: SOURCE receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): + getDispatchReceiver(): KtUsualClassType: + type: + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -103,7 +121,10 @@ KtFunctionSymbol: name: one origin: SOURCE receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -121,14 +142,20 @@ KtFunctionSymbol: name: i origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): + getDispatchReceiver(): KtUsualClassType: + type: + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -141,7 +168,10 @@ KtEnumEntrySymbol: name: ThirdEntry origin: SOURCE receiverParameter: null - returnType: MyEnumClass + returnType: KtUsualClassType: + type: MyEnumClass + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -162,7 +192,15 @@ KtNamedClassOrObjectSymbol: name: MyEnumClass origin: SOURCE superTypes: [ - kotlin/Enum + KtUsualClassType: + type: kotlin/Enum + annotationsList: [] + ownTypeArguments: [ + KtUsualClassType: + type: MyEnumClass + annotationsList: [] + ownTypeArguments: [] + ] ] symbolKind: TOP_LEVEL typeParameters: [] diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/enumEntryOverride.descriptors.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/enumEntryOverride.descriptors.txt index ebedd903eeb..28576741217 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/enumEntryOverride.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/enumEntryOverride.descriptors.txt @@ -17,12 +17,18 @@ KtFunctionSymbol: name: a origin: SOURCE receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): MyEnumClass.FirstEntry + getDispatchReceiver(): KtUsualClassType: + type: MyEnumClass.FirstEntry + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -45,12 +51,18 @@ KtFunctionSymbol: name: foo origin: SOURCE receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): MyEnumClass.FirstEntry + getDispatchReceiver(): KtUsualClassType: + type: MyEnumClass.FirstEntry + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -63,7 +75,10 @@ KtEnumEntrySymbol: name: FirstEntry origin: SOURCE receiverParameter: null - returnType: MyEnumClass + returnType: KtUsualClassType: + type: MyEnumClass + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -88,12 +103,18 @@ KtFunctionSymbol: name: foo origin: SOURCE receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): MyEnumClass.SecondEntry + getDispatchReceiver(): KtUsualClassType: + type: MyEnumClass.SecondEntry + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -114,12 +135,18 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): MyEnumClass.SecondEntry + getDispatchReceiver(): KtUsualClassType: + type: MyEnumClass.SecondEntry + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: false @@ -138,12 +165,18 @@ KtKotlinPropertySymbol: name: i origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): MyEnumClass.SecondEntry + getDispatchReceiver(): KtUsualClassType: + type: MyEnumClass.SecondEntry + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -160,7 +193,10 @@ KtEnumEntrySymbol: name: SecondEntry origin: SOURCE receiverParameter: null - returnType: MyEnumClass + returnType: KtUsualClassType: + type: MyEnumClass + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -185,12 +221,18 @@ KtFunctionSymbol: name: foo origin: SOURCE receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): MyEnumClass.ThirdEntry + getDispatchReceiver(): KtUsualClassType: + type: MyEnumClass.ThirdEntry + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -213,7 +255,10 @@ KtFunctionSymbol: name: foo origin: SOURCE receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -231,14 +276,20 @@ KtFunctionSymbol: name: i origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): MyEnumClass.ThirdEntry + getDispatchReceiver(): KtUsualClassType: + type: MyEnumClass.ThirdEntry + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -251,7 +302,10 @@ KtEnumEntrySymbol: name: ThirdEntry origin: SOURCE receiverParameter: null - returnType: MyEnumClass + returnType: KtUsualClassType: + type: MyEnumClass + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -276,12 +330,18 @@ KtFunctionSymbol: name: foo origin: SOURCE receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): MyEnumClass + getDispatchReceiver(): KtUsualClassType: + type: MyEnumClass + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -304,7 +364,10 @@ KtFunctionSymbol: name: foo origin: SOURCE receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -322,14 +385,20 @@ KtFunctionSymbol: name: i origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): MyEnumClass + getDispatchReceiver(): KtUsualClassType: + type: MyEnumClass + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -350,12 +419,18 @@ KtKotlinPropertySymbol: modality: OPEN origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): MyEnumClass + getDispatchReceiver(): KtUsualClassType: + type: MyEnumClass + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: true @@ -374,12 +449,18 @@ KtKotlinPropertySymbol: name: i origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): MyEnumClass + getDispatchReceiver(): KtUsualClassType: + type: MyEnumClass + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -402,7 +483,15 @@ KtNamedClassOrObjectSymbol: name: MyEnumClass origin: SOURCE superTypes: [ - kotlin/Enum + KtUsualClassType: + type: kotlin/Enum + annotationsList: [] + ownTypeArguments: [ + KtUsualClassType: + type: MyEnumClass + annotationsList: [] + ownTypeArguments: [] + ] ] symbolKind: TOP_LEVEL typeParameters: [] diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/enumEntryOverride.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/enumEntryOverride.txt index efc1cd32f62..d2f14187fd3 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/enumEntryOverride.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/enumEntryOverride.txt @@ -17,12 +17,18 @@ KtFunctionSymbol: name: a origin: SOURCE receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): + getDispatchReceiver(): KtUsualClassType: + type: + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -45,12 +51,18 @@ KtFunctionSymbol: name: foo origin: SOURCE receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): + getDispatchReceiver(): KtUsualClassType: + type: + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -63,7 +75,10 @@ KtEnumEntrySymbol: name: FirstEntry origin: SOURCE receiverParameter: null - returnType: MyEnumClass + returnType: KtUsualClassType: + type: MyEnumClass + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -88,12 +103,18 @@ KtFunctionSymbol: name: foo origin: SOURCE receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): + getDispatchReceiver(): KtUsualClassType: + type: + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -114,7 +135,10 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -137,12 +161,18 @@ KtKotlinPropertySymbol: name: i origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): + getDispatchReceiver(): KtUsualClassType: + type: + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -159,7 +189,10 @@ KtEnumEntrySymbol: name: SecondEntry origin: SOURCE receiverParameter: null - returnType: MyEnumClass + returnType: KtUsualClassType: + type: MyEnumClass + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -184,12 +217,18 @@ KtFunctionSymbol: name: foo origin: SOURCE receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): + getDispatchReceiver(): KtUsualClassType: + type: + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -212,7 +251,10 @@ KtFunctionSymbol: name: foo origin: SOURCE receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -230,14 +272,20 @@ KtFunctionSymbol: name: i origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): + getDispatchReceiver(): KtUsualClassType: + type: + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -250,7 +298,10 @@ KtEnumEntrySymbol: name: ThirdEntry origin: SOURCE receiverParameter: null - returnType: MyEnumClass + returnType: KtUsualClassType: + type: MyEnumClass + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -275,12 +326,18 @@ KtFunctionSymbol: name: foo origin: SOURCE receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): MyEnumClass + getDispatchReceiver(): KtUsualClassType: + type: MyEnumClass + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -303,7 +360,10 @@ KtFunctionSymbol: name: foo origin: SOURCE receiverParameter: null - returnType: kotlin/Unit + returnType: KtUsualClassType: + type: kotlin/Unit + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -321,14 +381,20 @@ KtFunctionSymbol: name: i origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null ] visibility: Public - getDispatchReceiver(): MyEnumClass + getDispatchReceiver(): KtUsualClassType: + type: MyEnumClass + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null @@ -349,12 +415,18 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): MyEnumClass + getDispatchReceiver(): KtUsualClassType: + type: MyEnumClass + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: true @@ -373,12 +445,18 @@ KtKotlinPropertySymbol: name: i origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): MyEnumClass + getDispatchReceiver(): KtUsualClassType: + type: MyEnumClass + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -401,7 +479,15 @@ KtNamedClassOrObjectSymbol: name: MyEnumClass origin: SOURCE superTypes: [ - kotlin/Enum + KtUsualClassType: + type: kotlin/Enum + annotationsList: [] + ownTypeArguments: [ + KtUsualClassType: + type: MyEnumClass + annotationsList: [] + ownTypeArguments: [] + ] ] symbolKind: TOP_LEVEL typeParameters: [] diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/enumEntryProperties.descriptors.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/enumEntryProperties.descriptors.txt index b45141e135f..855c1099410 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/enumEntryProperties.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/enumEntryProperties.descriptors.txt @@ -15,12 +15,18 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): MyEnumClass.FirstEntry + getDispatchReceiver(): KtUsualClassType: + type: MyEnumClass.FirstEntry + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: true @@ -39,12 +45,18 @@ KtKotlinPropertySymbol: name: a origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): MyEnumClass.FirstEntry + getDispatchReceiver(): KtUsualClassType: + type: MyEnumClass.FirstEntry + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -61,7 +73,10 @@ KtEnumEntrySymbol: name: FirstEntry origin: SOURCE receiverParameter: null - returnType: MyEnumClass + returnType: KtUsualClassType: + type: MyEnumClass + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -76,7 +91,10 @@ KtEnumEntrySymbol: name: SecondEntry origin: SOURCE receiverParameter: null - returnType: MyEnumClass + returnType: KtUsualClassType: + type: MyEnumClass + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -99,12 +117,18 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): MyEnumClass.ThirdEntry + getDispatchReceiver(): KtUsualClassType: + type: MyEnumClass.ThirdEntry + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: true @@ -123,12 +147,18 @@ KtKotlinPropertySymbol: name: b origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): MyEnumClass.ThirdEntry + getDispatchReceiver(): KtUsualClassType: + type: MyEnumClass.ThirdEntry + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -156,15 +186,24 @@ KtKotlinPropertySymbol: annotationsList: [] origin: SOURCE owningCallableSymbol: KtKotlinPropertySymbol(/d) - type: kotlin/Int + type: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): MyEnumClass.ThirdEntry + getDispatchReceiver(): KtUsualClassType: + type: MyEnumClass.ThirdEntry + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: false @@ -186,15 +225,24 @@ KtKotlinPropertySymbol: annotationsList: [] origin: SOURCE owningCallableSymbol: KtKotlinPropertySymbol(/d) - type: kotlin/Int + type: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): MyEnumClass.ThirdEntry + getDispatchReceiver(): KtUsualClassType: + type: MyEnumClass.ThirdEntry + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -211,7 +259,10 @@ KtEnumEntrySymbol: name: ThirdEntry origin: SOURCE receiverParameter: null - returnType: MyEnumClass + returnType: KtUsualClassType: + type: MyEnumClass + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -232,7 +283,15 @@ KtNamedClassOrObjectSymbol: name: MyEnumClass origin: SOURCE superTypes: [ - kotlin/Enum + KtUsualClassType: + type: kotlin/Enum + annotationsList: [] + ownTypeArguments: [ + KtUsualClassType: + type: MyEnumClass + annotationsList: [] + ownTypeArguments: [] + ] ] symbolKind: TOP_LEVEL typeParameters: [] diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/enumEntryProperties.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/enumEntryProperties.txt index 31af35a860a..3bf1fc730e4 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/enumEntryProperties.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/enumEntryProperties.txt @@ -15,12 +15,18 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): + getDispatchReceiver(): KtUsualClassType: + type: + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: true @@ -39,12 +45,18 @@ KtKotlinPropertySymbol: name: a origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): + getDispatchReceiver(): KtUsualClassType: + type: + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -61,7 +73,10 @@ KtEnumEntrySymbol: name: FirstEntry origin: SOURCE receiverParameter: null - returnType: MyEnumClass + returnType: KtUsualClassType: + type: MyEnumClass + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -76,7 +91,10 @@ KtEnumEntrySymbol: name: SecondEntry origin: SOURCE receiverParameter: null - returnType: MyEnumClass + returnType: KtUsualClassType: + type: MyEnumClass + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -99,12 +117,18 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): + getDispatchReceiver(): KtUsualClassType: + type: + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: true @@ -123,12 +147,18 @@ KtKotlinPropertySymbol: name: b origin: SOURCE receiverParameter: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): + getDispatchReceiver(): KtUsualClassType: + type: + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -156,10 +186,16 @@ KtKotlinPropertySymbol: annotationsList: [] origin: SOURCE owningCallableSymbol: KtKotlinPropertySymbol(/d) - type: kotlin/Int + type: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] @@ -185,15 +221,24 @@ KtKotlinPropertySymbol: annotationsList: [] origin: SOURCE owningCallableSymbol: KtKotlinPropertySymbol(/d) - type: kotlin/Int + type: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null - returnType: kotlin/Int + returnType: KtUsualClassType: + type: kotlin/Int + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): + getDispatchReceiver(): KtUsualClassType: + type: + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -210,7 +255,10 @@ KtEnumEntrySymbol: name: ThirdEntry origin: SOURCE receiverParameter: null - returnType: MyEnumClass + returnType: KtUsualClassType: + type: MyEnumClass + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -231,7 +279,15 @@ KtNamedClassOrObjectSymbol: name: MyEnumClass origin: SOURCE superTypes: [ - kotlin/Enum + KtUsualClassType: + type: kotlin/Enum + annotationsList: [] + ownTypeArguments: [ + KtUsualClassType: + type: MyEnumClass + annotationsList: [] + ownTypeArguments: [] + ] ] symbolKind: TOP_LEVEL typeParameters: [] diff --git a/analysis/analysis-api/testData/symbols/symbolByPsi/enumValueMember.descriptors.txt b/analysis/analysis-api/testData/symbols/symbolByPsi/enumValueMember.descriptors.txt index 12962c89cdb..2e5d48e73f6 100644 --- a/analysis/analysis-api/testData/symbols/symbolByPsi/enumValueMember.descriptors.txt +++ b/analysis/analysis-api/testData/symbols/symbolByPsi/enumValueMember.descriptors.txt @@ -8,7 +8,10 @@ KtConstructorSymbol: isPrimary: true origin: SOURCE receiverParameter: null - returnType: Style + returnType: KtUsualClassType: + type: Style + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ @@ -33,12 +36,18 @@ KtConstructorSymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): Style + getDispatchReceiver(): KtUsualClassType: + type: Style + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: true @@ -57,12 +66,18 @@ KtConstructorSymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): Style + getDispatchReceiver(): KtUsualClassType: + type: Style + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -78,7 +93,10 @@ KtConstructorSymbol: name: value origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: LOCAL typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -105,12 +123,18 @@ KtKotlinPropertySymbol: modality: FINAL origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): Style.SHEET + getDispatchReceiver(): KtUsualClassType: + type: Style.SHEET + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: false @@ -129,12 +153,18 @@ KtKotlinPropertySymbol: name: exitAnimation origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): Style.SHEET + getDispatchReceiver(): KtUsualClassType: + type: Style.SHEET + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -151,7 +181,10 @@ KtEnumEntrySymbol: name: SHEET origin: SOURCE receiverParameter: null - returnType: Style + returnType: KtUsualClassType: + type: Style + annotationsList: [] + ownTypeArguments: [] symbolKind: CLASS_MEMBER typeParameters: [] getContainingModule: KtSourceModule "Sources of main" @@ -174,12 +207,18 @@ KtKotlinPropertySymbol: modality: ABSTRACT origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] symbolKind: ACCESSOR typeParameters: [] valueParameters: [] visibility: Public - getDispatchReceiver(): Style + getDispatchReceiver(): KtUsualClassType: + type: Style + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null hasBackingField: false @@ -198,12 +237,18 @@ KtKotlinPropertySymbol: name: exitAnimation origin: SOURCE receiverParameter: null - returnType: kotlin/String + returnType: KtUsualClassType: + type: kotlin/String + annotationsList: [] + ownTypeArguments: [] setter: null symbolKind: CLASS_MEMBER typeParameters: [] visibility: Public - getDispatchReceiver(): Style + getDispatchReceiver(): KtUsualClassType: + type: Style + annotationsList: [] + ownTypeArguments: [] getContainingModule: KtSourceModule "Sources of main" deprecationStatus: null getterDeprecationStatus: null @@ -226,7 +271,15 @@ KtNamedClassOrObjectSymbol: name: Style origin: SOURCE superTypes: [ - kotlin/Enum