[AA] DebugSymbolRenderer: improve type render
to process all nested annotations and types ^KT-56046
This commit is contained in:
committed by
Space Team
parent
0a06efa1bf
commit
1e2d517c21
Vendored
+20
-5
@@ -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: []
|
||||
|
||||
Vendored
+12
-3
@@ -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: []
|
||||
|
||||
Vendored
+16
-4
@@ -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: []
|
||||
|
||||
+48
-12
@@ -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: []
|
||||
|
||||
Reference in New Issue
Block a user