[AA] DebugSymbolRenderer: improve type render

to process all nested annotations and types

^KT-56046
This commit is contained in:
Dmitrii Gridin
2023-01-26 12:48:59 +01:00
committed by Space Team
parent 0a06efa1bf
commit 1e2d517c21
282 changed files with 9169 additions and 2392 deletions
@@ -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<MyEnumClass>
KtUsualClassType:
type: kotlin/Enum<MyEnumClass>
annotationsList: []
ownTypeArguments: [
KtUsualClassType:
type: MyEnumClass
annotationsList: []
ownTypeArguments: []
]
]
symbolKind: TOP_LEVEL
typeParameters: []