[Analysis API FE1.0] fix containing module for some cases

This commit is contained in:
Ilya Kirillov
2022-10-24 22:50:26 +02:00
committed by teamcity
parent 59beeb36be
commit f5432127d1
33 changed files with 362 additions and 115 deletions
@@ -48,8 +48,7 @@ KtKotlinPropertySymbol:
valueParameters: []
visibility: Public
getDispatchReceiver(): <no name provided>
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: public final fun `<get-data>`(): kotlin.Int defined in AnonymousContainer.anonymousObject.`<no name provided>`[PropertyGetterDescriptorImpl@424280a0]
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
hasBackingField: true
hasGetter: true
@@ -117,8 +116,7 @@ KtKotlinPropertySymbol:
valueParameters: []
visibility: Public
getDispatchReceiver(): AnonymousContainer
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: public final fun `<get-anonymousObject>`(): java.lang.Runnable defined in AnonymousContainer[PropertyGetterDescriptorImpl@413bc5ad]
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
hasBackingField: true
hasGetter: true
@@ -0,0 +1,85 @@
KtKotlinPropertySymbol:
annotationsList: []
callableIdIfNonLocal: /A.i
contextReceivers: []
getter: KtPropertyGetterSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
hasBody: false
hasStableParameterNames: true
isDefault: true
isExtension: false
isInline: false
isOverride: false
modality: FINAL
origin: SOURCE
receiverType: null
returnType: kotlin/Int
symbolKind: ACCESSOR
typeParameters: []
valueParameters: []
visibility: Public
getDispatchReceiver(): A
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
hasBackingField: true
hasGetter: true
hasSetter: false
initializer: null
isConst: false
isDelegatedProperty: false
isExtension: false
isFromPrimaryConstructor: false
isLateInit: false
isOverride: false
isStatic: false
isVal: true
modality: FINAL
name: i
origin: SOURCE
receiverType: null
returnType: kotlin/Int
setter: null
symbolKind: CLASS_MEMBER
typeParameters: []
visibility: Public
getDispatchReceiver(): A
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
getterDeprecationStatus: null
javaGetterName: getI
javaSetterName: null
setterDeprecationStatus: null
KtClassInitializerSymbol:
annotationsList: []
origin: SOURCE
symbolKind: CLASS_MEMBER
typeParameters: []
getContainingModule: Could not render due to org.jetbrains.kotlin.utils.KotlinExceptionWithAttachments: Unexpected KtSymbol KtFe10PsiClassInitializerSymbol
deprecationStatus: null
KtNamedClassOrObjectSymbol:
annotationsList: []
classIdIfNonLocal: A
classKind: CLASS
companionObject: null
contextReceivers: []
isData: false
isExternal: false
isFun: false
isInline: false
isInner: false
modality: FINAL
name: A
origin: SOURCE
superTypes: [
kotlin/Any
]
symbolKind: TOP_LEVEL
typeParameters: []
visibility: Public
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
@@ -21,8 +21,7 @@ KtKotlinPropertySymbol:
valueParameters: []
visibility: Public
getDispatchReceiver(): A
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: public final fun `<get-i>`(): kotlin.Int defined in A[PropertyGetterDescriptorImpl@30470bde]
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
hasBackingField: true
hasGetter: true
@@ -21,8 +21,7 @@ KtKotlinPropertySymbol:
valueParameters: []
visibility: Public
getDispatchReceiver(): A
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: public final fun `<get-a>`(): kotlin.Int defined in A[PropertyGetterDescriptorImpl@5e912708]
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
hasBackingField: true
hasGetter: true
@@ -135,8 +135,7 @@ KtKotlinPropertySymbol:
valueParameters: []
visibility: Public
getDispatchReceiver(): Some
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: public final fun `<get-delegate>`(): MyColor defined in Some[PropertyGetterDescriptorImpl@71709753]
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
hasBackingField: false
hasGetter: true
@@ -205,8 +204,7 @@ KtKotlinPropertySymbol:
valueParameters: []
visibility: Public
getDispatchReceiver(): Some
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: public final fun `<get-lambda>`(): kotlin.Lazy<MyColor> defined in Some[PropertyGetterDescriptorImpl@713cdbf7]
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
hasBackingField: true
hasGetter: true
@@ -260,8 +258,7 @@ KtKotlinPropertySymbol:
valueParameters: []
visibility: Public
getDispatchReceiver(): Some
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: public final fun `<get-nonLazy>`(): MyColor defined in Some[PropertyGetterDescriptorImpl@270a35d9]
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
hasBackingField: true
hasGetter: true
@@ -23,6 +23,8 @@ KtKotlinPropertySymbol:
typeParameters: []
valueParameters: []
visibility: Public
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
hasBackingField: true
hasGetter: true
hasSetter: false
@@ -76,6 +78,8 @@ KtKotlinPropertySymbol:
typeParameters: []
valueParameters: []
visibility: Public
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
hasBackingField: true
hasGetter: true
hasSetter: false
@@ -126,6 +130,8 @@ KtKotlinPropertySymbol:
typeParameters: []
valueParameters: []
visibility: Public
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
hasBackingField: true
hasGetter: true
hasSetter: true
@@ -175,6 +181,8 @@ KtKotlinPropertySymbol:
returnType: kotlin/Int
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
receiverType: null
returnType: kotlin/Unit
symbolKind: ACCESSOR
@@ -197,8 +205,13 @@ KtKotlinPropertySymbol:
returnType: kotlin/Int
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
]
visibility: Public
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: org.jetbrains.kotlin.analysis.api.descriptors.symbols.psiBased.KtFe10PsiDefaultPropertySetterSymbol
deprecationStatus: null
symbolKind: TOP_LEVEL
typeParameters: []
visibility: Public
@@ -234,6 +247,8 @@ KtKotlinPropertySymbol:
typeParameters: []
valueParameters: []
visibility: Public
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
hasBackingField: true
hasGetter: true
hasSetter: true
@@ -283,6 +298,8 @@ KtKotlinPropertySymbol:
returnType: kotlin/Int
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
receiverType: null
returnType: kotlin/Unit
symbolKind: ACCESSOR
@@ -305,8 +322,13 @@ KtKotlinPropertySymbol:
returnType: kotlin/Int
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
]
visibility: Public
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: org.jetbrains.kotlin.analysis.api.descriptors.symbols.psiBased.KtFe10PsiDefaultPropertySetterSymbol
deprecationStatus: null
symbolKind: TOP_LEVEL
typeParameters: []
visibility: Public
@@ -397,6 +419,9 @@ KtKotlinPropertySymbol:
typeParameters: []
valueParameters: []
visibility: Public
getDispatchReceiver(): Foo
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
hasBackingField: true
hasGetter: true
hasSetter: false
@@ -504,6 +529,8 @@ KtKotlinPropertySymbol:
typeParameters: []
valueParameters: []
visibility: Public
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
hasBackingField: true
hasGetter: true
hasSetter: false
@@ -557,6 +584,8 @@ KtKotlinPropertySymbol:
typeParameters: []
valueParameters: []
visibility: Public
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
hasBackingField: true
hasGetter: true
hasSetter: false
@@ -607,6 +636,8 @@ KtKotlinPropertySymbol:
typeParameters: []
valueParameters: []
visibility: Public
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
hasBackingField: true
hasGetter: true
hasSetter: false
@@ -21,8 +21,7 @@ KtKotlinPropertySymbol:
valueParameters: []
visibility: Public
getDispatchReceiver(): Foo
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: public final fun `<get-p>`(): dynamic defined in Foo[PropertyGetterDescriptorImpl@6ee51d31]
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
hasBackingField: true
hasGetter: true
@@ -128,8 +128,7 @@ KtKotlinPropertySymbol:
valueParameters: []
visibility: Public
getDispatchReceiver(): Style
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: public abstract fun `<get-exitAnimation>`(): kotlin.String defined in Style[PropertyGetterDescriptorImpl@47e785cf]
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
hasBackingField: false
hasGetter: true
@@ -20,6 +20,8 @@ KtKotlinPropertySymbol:
typeParameters: []
valueParameters: []
visibility: Public
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
hasBackingField: true
hasGetter: true
hasSetter: true
@@ -66,6 +68,8 @@ KtKotlinPropertySymbol:
returnType: kotlin/Long
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
receiverType: null
returnType: kotlin/Unit
symbolKind: ACCESSOR
@@ -88,8 +92,13 @@ KtKotlinPropertySymbol:
returnType: kotlin/Long
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
]
visibility: Public
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: org.jetbrains.kotlin.analysis.api.descriptors.symbols.psiBased.KtFe10PsiDefaultPropertySetterSymbol
deprecationStatus: null
symbolKind: TOP_LEVEL
typeParameters: []
visibility: Public
@@ -122,6 +131,8 @@ KtKotlinPropertySymbol:
typeParameters: []
valueParameters: []
visibility: Public
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
hasBackingField: true
hasGetter: true
hasSetter: true
@@ -168,6 +179,8 @@ KtKotlinPropertySymbol:
returnType: kotlin/Int
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
receiverType: null
returnType: kotlin/Unit
symbolKind: ACCESSOR
@@ -190,8 +203,13 @@ KtKotlinPropertySymbol:
returnType: kotlin/Int
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
]
visibility: Public
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: org.jetbrains.kotlin.analysis.api.descriptors.symbols.psiBased.KtFe10PsiDefaultPropertySetterSymbol
deprecationStatus: null
symbolKind: TOP_LEVEL
typeParameters: []
visibility: Public
@@ -23,6 +23,9 @@ KtKotlinPropertySymbol:
typeParameters: []
valueParameters: []
visibility: Public
getDispatchReceiver(): Foo
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
hasBackingField: true
hasGetter: true
hasSetter: true
@@ -72,6 +75,8 @@ KtKotlinPropertySymbol:
returnType: kotlin/Int
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
receiverType: null
returnType: kotlin/Unit
symbolKind: ACCESSOR
@@ -94,8 +99,13 @@ KtKotlinPropertySymbol:
returnType: kotlin/Int
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
]
visibility: Public
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: org.jetbrains.kotlin.analysis.api.descriptors.symbols.psiBased.KtFe10PsiDefaultPropertySetterSymbol
deprecationStatus: null
symbolKind: CLASS_MEMBER
typeParameters: []
visibility: Public
@@ -132,6 +142,9 @@ KtKotlinPropertySymbol:
typeParameters: []
valueParameters: []
visibility: Public
getDispatchReceiver(): Foo
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
hasBackingField: false
hasGetter: true
hasSetter: true
@@ -181,6 +194,8 @@ KtKotlinPropertySymbol:
returnType: kotlin/Int
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
receiverType: null
returnType: kotlin/Unit
symbolKind: ACCESSOR
@@ -203,8 +218,13 @@ KtKotlinPropertySymbol:
returnType: kotlin/Int
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
]
visibility: Public
getDispatchReceiver(): Foo
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
symbolKind: CLASS_MEMBER
typeParameters: []
visibility: Public
@@ -0,0 +1,130 @@
KtKotlinPropertySymbol:
annotationsList: []
callableIdIfNonLocal: /A.x
contextReceivers: []
getter: KtPropertyGetterSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
hasBody: false
hasStableParameterNames: true
isDefault: true
isExtension: false
isInline: false
isOverride: false
modality: FINAL
origin: SOURCE
receiverType: null
returnType: kotlin/Int
symbolKind: ACCESSOR
typeParameters: []
valueParameters: []
visibility: Public
getDispatchReceiver(): A
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
hasBackingField: true
hasGetter: true
hasSetter: false
initializer: KtConstantInitializerValue(10)
isConst: false
isDelegatedProperty: false
isExtension: false
isFromPrimaryConstructor: false
isLateInit: false
isOverride: false
isStatic: false
isVal: true
modality: FINAL
name: x
origin: SOURCE
receiverType: null
returnType: kotlin/Int
setter: null
symbolKind: CLASS_MEMBER
typeParameters: []
visibility: Public
getDispatchReceiver(): A
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
getterDeprecationStatus: null
javaGetterName: getX
javaSetterName: null
setterDeprecationStatus: null
KtKotlinPropertySymbol:
annotationsList: []
callableIdIfNonLocal: /A.y
contextReceivers: []
getter: KtPropertyGetterSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
hasBody: true
hasStableParameterNames: true
isDefault: false
isExtension: false
isInline: false
isOverride: false
modality: FINAL
origin: SOURCE
receiverType: kotlin/Int
returnType: kotlin/Int
symbolKind: ACCESSOR
typeParameters: []
valueParameters: []
visibility: Public
getDispatchReceiver(): A
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
hasBackingField: false
hasGetter: true
hasSetter: false
initializer: null
isConst: false
isDelegatedProperty: false
isExtension: true
isFromPrimaryConstructor: false
isLateInit: false
isOverride: false
isStatic: false
isVal: true
modality: FINAL
name: y
origin: SOURCE
receiverType: kotlin/Int
returnType: kotlin/Int
setter: null
symbolKind: CLASS_MEMBER
typeParameters: []
visibility: Public
getDispatchReceiver(): A
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
getterDeprecationStatus: null
javaGetterName: getY
javaSetterName: null
setterDeprecationStatus: null
KtNamedClassOrObjectSymbol:
annotationsList: []
classIdIfNonLocal: A
classKind: CLASS
companionObject: null
contextReceivers: []
isData: false
isExternal: false
isFun: false
isInline: false
isInner: false
modality: FINAL
name: A
origin: SOURCE
superTypes: [
kotlin/Any
]
symbolKind: TOP_LEVEL
typeParameters: []
visibility: Public
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
@@ -21,8 +21,7 @@ KtKotlinPropertySymbol:
valueParameters: []
visibility: Public
getDispatchReceiver(): A
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: public final fun `<get-x>`(): kotlin.Int defined in A[PropertyGetterDescriptorImpl@6819c9f0]
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
hasBackingField: true
hasGetter: true
@@ -75,7 +74,6 @@ KtKotlinPropertySymbol:
typeParameters: []
valueParameters: []
visibility: Public
getDispatchReceiver(): A
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
hasBackingField: false
@@ -20,8 +20,7 @@ KtKotlinPropertySymbol:
typeParameters: []
valueParameters: []
visibility: Public
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: public fun `<get-x>`(): kotlin.Int defined in root package in file topLevelProperties.kt[PropertyGetterDescriptorImpl@338f4432]
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
hasBackingField: true
hasGetter: true