[Analysis API] Add symbol tests for properties from libraries

^KT-62888
^KT-62651
This commit is contained in:
Dmitrii Gridin
2023-12-29 22:42:40 +01:00
committed by Space Team
parent faf33e4fa4
commit a341dc704f
52 changed files with 3190 additions and 3 deletions
@@ -0,0 +1,182 @@
KtKotlinPropertySymbol:
annotationsList: [
one/Anno()
psi: null
]
backingFieldSymbol: KtBackingFieldSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
isExtension: false
name: field
origin: PROPERTY_BACKING_FIELD
owningProperty: KtKotlinPropertySymbol(one/SimpleClass.memberVariableWithAnnotations)
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Long
symbolKind: LOCAL
typeParameters: []
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library lib"
deprecationStatus: null
callableIdIfNonLocal: one/SimpleClass.memberVariableWithAnnotations
contextReceivers: []
getter: KtPropertyGetterSymbol:
annotationsList: [
one/Anno()
psi: null
]
callableIdIfNonLocal: null
contextReceivers: []
hasBody: false
hasStableParameterNames: true
isDefault: false
isExtension: false
isInline: false
isOverride: false
modality: FINAL
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Long
symbolKind: ACCESSOR
typeParameters: []
valueParameters: []
visibility: Public
getDispatchReceiver(): KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: one/SimpleClass
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library lib"
deprecationStatus: null
hasBackingField: true
hasGetter: true
hasSetter: true
initializer: null
isActual: false
isConst: false
isDelegatedProperty: false
isExpect: false
isExtension: false
isFromPrimaryConstructor: false
isLateInit: false
isOverride: false
isStatic: false
isVal: false
modality: FINAL
name: memberVariableWithAnnotations
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Long
setter: KtPropertySetterSymbol:
annotationsList: [
one/Anno()
psi: null
]
callableIdIfNonLocal: null
contextReceivers: []
hasBody: false
hasStableParameterNames: true
isDefault: false
isExtension: false
isInline: false
isOverride: false
modality: FINAL
origin: LIBRARY
parameter: KtValueParameterSymbol:
annotationsList: [
one/Anno()
psi: null
]
callableIdIfNonLocal: null
contextReceivers: []
generatedPrimaryConstructorProperty: null
hasDefaultValue: false
isCrossinline: false
isExtension: false
isImplicitLambdaParameter: false
isNoinline: false
isVararg: false
name: value
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Long
symbolKind: LOCAL
typeParameters: []
getContainingFileSymbol: null
getContainingJvmClassName: null
getContainingModule: KtLibraryModule "Library lib"
deprecationStatus: null
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Unit
symbolKind: ACCESSOR
typeParameters: []
valueParameters: [
KtValueParameterSymbol:
annotationsList: [
one/Anno()
psi: null
]
callableIdIfNonLocal: null
contextReceivers: []
generatedPrimaryConstructorProperty: null
hasDefaultValue: false
isCrossinline: false
isExtension: false
isImplicitLambdaParameter: false
isNoinline: false
isVararg: false
name: value
origin: LIBRARY
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Long
symbolKind: LOCAL
typeParameters: []
getContainingFileSymbol: null
getContainingJvmClassName: null
getContainingModule: KtLibraryModule "Library lib"
deprecationStatus: null
]
visibility: Public
getDispatchReceiver(): KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: one/SimpleClass
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library lib"
deprecationStatus: null
symbolKind: CLASS_MEMBER
typeParameters: []
visibility: Public
getDispatchReceiver(): KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: one/SimpleClass
getContainingFileSymbol: null
getContainingJvmClassName: one.SimpleClass
getContainingModule: KtLibraryModule "Library lib"
deprecationStatus: null
getterDeprecationStatus: null
javaGetterName: getMemberVariableWithAnnotations
javaSetterName: setMemberVariableWithAnnotations
setterDeprecationStatus: null