[AA] restore Fe10IdeNormalAnalysisSourceModuleSymbolByReferenceTestGenerated

^KT-54311
^KT-54385
This commit is contained in:
Dmitrii Gridin
2022-10-12 12:29:33 +02:00
committed by Space Team
parent 782ff3e4ea
commit b8a64d20ac
9 changed files with 273 additions and 8 deletions
@@ -1,13 +1,132 @@
KtBackingFieldSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
isExtension: false
name: field
origin: PROPERTY_BACKING_FIELD
owningProperty: KtKotlinPropertySymbol(/x)
owningProperty: KtKotlinPropertySymbol:
annotationsList: [
PropertyAnnotation()
psi: KtAnnotationEntry
]
callableIdIfNonLocal: /x
contextReceivers: []
getter: KtPropertyGetterSymbol:
annotationsList: [
GetAnnotation()
psi: KtAnnotationEntry
ExplicitGetAnnotation()
psi: KtAnnotationEntry
]
callableIdIfNonLocal: null
contextReceivers: []
hasBody: true
hasStableParameterNames: false
isDefault: false
isExtension: false
isInline: false
isOverride: false
modality: FINAL
origin: SOURCE
receiverType: null
returnType: kotlin/Int
symbolKind: ACCESSOR
typeParameters: []
valueParameters: []
visibility: Public
hasBackingField: true
hasGetter: true
hasSetter: true
initializer: null
isConst: false
isDelegatedProperty: false
isExtension: false
isFromPrimaryConstructor: false
isLateInit: false
isOverride: false
isStatic: false
isVal: false
modality: FINAL
name: x
origin: SOURCE
receiverType: null
returnType: kotlin/Int
setter: KtPropertySetterSymbol:
annotationsList: [
SetAnnotation()
psi: KtAnnotationEntry
ExplicitSetAnnotation()
psi: KtAnnotationEntry
]
callableIdIfNonLocal: null
contextReceivers: []
hasBody: true
hasStableParameterNames: false
isDefault: false
isExtension: false
isInline: false
isOverride: false
modality: FINAL
origin: SOURCE
parameter: KtValueParameterSymbol:
annotationsList: [
ExplicitSetparamAnnotation()
psi: KtAnnotationEntry
SetparamAnnotation()
psi: KtAnnotationEntry
]
callableIdIfNonLocal: null
contextReceivers: []
generatedPrimaryConstructorProperty: null
hasDefaultValue: false
isCrossinline: false
isExtension: false
isImplicitLambdaParameter: false
isNoinline: false
isVararg: false
name: value
origin: SOURCE
receiverType: null
returnType: kotlin/Int
symbolKind: LOCAL
typeParameters: []
receiverType: null
returnType: kotlin/Unit
symbolKind: ACCESSOR
typeParameters: []
valueParameters: [
KtValueParameterSymbol:
annotationsList: [
ExplicitSetparamAnnotation()
psi: KtAnnotationEntry
SetparamAnnotation()
psi: KtAnnotationEntry
]
callableIdIfNonLocal: null
contextReceivers: []
generatedPrimaryConstructorProperty: null
hasDefaultValue: false
isCrossinline: false
isExtension: false
isImplicitLambdaParameter: false
isNoinline: false
isVararg: false
name: value
origin: SOURCE
receiverType: null
returnType: kotlin/Int
symbolKind: LOCAL
typeParameters: []
]
visibility: Public
symbolKind: TOP_LEVEL
typeParameters: []
visibility: Public
receiverType: null
returnType: kotlin/Int
symbolKind: LOCAL
getContainingModule: Could not render due to java.lang.IllegalStateException: Unexpected KtSymbol KtFe10DescSyntheticFieldSymbol
typeParameters: []
getContainingModule: Could not render due to org.jetbrains.kotlin.utils.KotlinExceptionWithAttachments: Unexpected KtSymbol KtFe10DescSyntheticFieldSymbol
deprecationStatus: null
deprecationStatus: null
@@ -2,6 +2,7 @@ KtConstructorSymbol:
annotationsList: []
callableIdIfNonLocal: null
containingClassIdIfNonLocal: java/util/ArrayList
contextReceivers: []
hasStableParameterNames: false
isExtension: false
isPrimary: false
@@ -13,9 +14,25 @@ KtConstructorSymbol:
KtTypeParameterSymbol(E)
]
valueParameters: [
KtValueParameterSymbol(c)
KtValueParameterSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
generatedPrimaryConstructorProperty: null
hasDefaultValue: false
isCrossinline: false
isExtension: false
isImplicitLambdaParameter: false
isNoinline: false
isVararg: false
name: c
origin: JAVA
receiverType: null
returnType: (kotlin/collections/MutableCollection<out E!>..kotlin/collections/Collection<E!>?)
symbolKind: LOCAL
typeParameters: []
]
visibility: Public
getContainingModule: Could not render due to java.util.NoSuchElementException: Collection contains no element matching the predicate.
deprecationStatus: null
deprecationStatus: null
@@ -1,4 +1,5 @@
// WITH_STDLIB
// DO_NOT_CHECK_SYMBOL_RESTORE_K1
fun x() {
val a = <caret>ArrayList(listOf(1))
@@ -1,3 +1,5 @@
// IGNORE_FE10
package test
class SomeClass
@@ -1,6 +1,7 @@
KtFunctionSymbol:
annotationsList: []
callableIdIfNonLocal: test/TopLevel.Base.withOuter
contextReceivers: []
hasStableParameterNames: true
isBuiltinFunctionInvoke: false
isExtension: false
@@ -1,6 +1,7 @@
KtSamConstructorSymbol:
annotationsList: []
callableIdIfNonLocal: java/lang/Runnable
contextReceivers: []
hasStableParameterNames: true
isExtension: false
name: Runnable
@@ -8,9 +9,26 @@ KtSamConstructorSymbol:
receiverType: null
returnType: java/lang/Runnable
symbolKind: SAM_CONSTRUCTOR
typeParameters: []
valueParameters: [
KtValueParameterSymbol(function)
KtValueParameterSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
generatedPrimaryConstructorProperty: null
hasDefaultValue: false
isCrossinline: false
isExtension: false
isImplicitLambdaParameter: false
isNoinline: false
isVararg: false
name: function
origin: SOURCE
receiverType: null
returnType: kotlin/Function0<kotlin/Unit>
symbolKind: LOCAL
typeParameters: []
]
getContainingModule: Could not render due to java.util.NoSuchElementException: Collection contains no element matching the predicate.
deprecationStatus: null
deprecationStatus: null
@@ -6,6 +6,7 @@ KtNamedClassOrObjectSymbol:
classIdIfNonLocal: test/WithGeneratedCompanion
classKind: CLASS
companionObject: null
contextReceivers: []
isData: false
isExternal: false
isFun: false