[Analysis API] make KtDeclarationSymbol <: KtSymbolWithTypeParameters

To simplify work with type parameters
This commit is contained in:
Ilya Kirillov
2022-05-27 16:15:58 +02:00
committed by teamcity
parent 8f4554959e
commit f189fd1ff0
43 changed files with 142 additions and 20 deletions
@@ -10,6 +10,7 @@ KtJavaFieldSymbol:
receiverType: null
returnType: ft<kotlin/CharArray, kotlin/CharArray?>
symbolKind: CLASS_MEMBER
typeParameters: []
visibility: Private
getDispatchReceiver(): java/lang/String
getContainingModule: KtSdkModule "SDK jdk"
@@ -27,6 +28,7 @@ KtJavaFieldSymbol:
receiverType: null
returnType: kotlin/Int
symbolKind: CLASS_MEMBER
typeParameters: []
visibility: Private
getDispatchReceiver(): java/lang/String
getContainingModule: KtSdkModule "SDK jdk"
@@ -70,6 +72,7 @@ KtJavaFieldSymbol:
receiverType: null
returnType: kotlin/Int
symbolKind: CLASS_MEMBER
typeParameters: []
visibility: Private
getDispatchReceiver(): java/lang/String
getContainingModule: KtSdkModule "SDK jdk"
@@ -8,6 +8,7 @@ KtEnumEntrySymbol:
receiverType: null
returnType: kotlin/LazyThreadSafetyMode
symbolKind: CLASS_MEMBER
typeParameters: []
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: enum entry SYNCHRONIZED
deprecationStatus: null
@@ -8,5 +8,6 @@ KtEnumEntrySymbol:
receiverType: null
returnType: kotlin/LazyThreadSafetyMode
symbolKind: CLASS_MEMBER
typeParameters: []
getContainingModule: KtLibraryModule "Library kotlin-stdlib"
deprecationStatus: null
@@ -10,6 +10,7 @@ KtValueParameterSymbol:
receiverType: null
returnType: kotlin/String
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
@@ -25,6 +26,7 @@ KtValueParameterSymbol:
receiverType: null
returnType: kotlin/Int
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
@@ -67,6 +67,7 @@ KtAnonymousObjectSymbol:
java/lang/Runnable
]
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
@@ -67,6 +67,7 @@ KtAnonymousObjectSymbol:
java/lang/Runnable
]
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
@@ -12,6 +12,7 @@ KtPropertyGetterSymbol:
receiverType: null
returnType: kotlin/Int
symbolKind: ACCESSOR
typeParameters: []
valueParameters: []
visibility: Public
getContainingModule: KtSourceModule "Sources of main"
@@ -29,6 +30,7 @@ KtValueParameterSymbol:
receiverType: null
returnType: kotlin/Int
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
@@ -47,6 +49,7 @@ KtPropertySetterSymbol:
receiverType: null
returnType: kotlin/Unit
symbolKind: ACCESSOR
typeParameters: []
valueParameters: [
KtValueParameterSymbol(value)
]
@@ -84,4 +87,4 @@ KtKotlinPropertySymbol:
getterDeprecationStatus: null
javaGetterName: getP
javaSetterName: setP
setterDeprecationStatus: null
setterDeprecationStatus: null
@@ -27,6 +27,7 @@ KtValueParameterSymbol:
receiverType: null
returnType: kotlin/Int
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
@@ -61,6 +62,7 @@ KtValueParameterSymbol:
receiverType: null
returnType: kotlin/Int
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
@@ -76,6 +78,7 @@ KtValueParameterSymbol:
receiverType: null
returnType: kotlin/String
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
@@ -119,4 +122,4 @@ KtNamedClassOrObjectSymbol:
typeParameters: []
visibility: Public
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
deprecationStatus: null
@@ -6,6 +6,7 @@ KtTypeParameterSymbol:
isReified: false
name: T
origin: SOURCE
typeParameters: []
upperBounds: [
kotlin/Any?
]
@@ -18,6 +19,7 @@ KtTypeParameterSymbol:
isReified: false
name: R
origin: SOURCE
typeParameters: []
upperBounds: [
kotlin/Any?
]
@@ -10,6 +10,7 @@ KtValueParameterSymbol:
receiverType: null
returnType: kotlin/Int
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
@@ -25,6 +26,7 @@ KtValueParameterSymbol:
receiverType: null
returnType: kotlin/Int
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
@@ -40,6 +42,7 @@ KtValueParameterSymbol:
receiverType: null
returnType: kotlin/Int
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
@@ -95,6 +98,7 @@ KtAnonymousFunctionSymbol:
receiverType: null
returnType: MyColor
symbolKind: LOCAL
typeParameters: []
valueParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
@@ -141,6 +145,7 @@ KtAnonymousFunctionSymbol:
receiverType: null
returnType: MyColor
symbolKind: LOCAL
typeParameters: []
valueParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
@@ -8,6 +8,7 @@ KtEnumEntrySymbol:
receiverType: null
returnType: X
symbolKind: CLASS_MEMBER
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
@@ -21,6 +22,7 @@ KtEnumEntrySymbol:
receiverType: null
returnType: X
symbolKind: CLASS_MEMBER
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
@@ -10,6 +10,7 @@ KtValueParameterSymbol:
receiverType: null
returnType: kotlin/String
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
@@ -46,6 +47,7 @@ KtPropertyGetterSymbol:
receiverType: null
returnType: kotlin/String
symbolKind: ACCESSOR
typeParameters: []
valueParameters: []
visibility: Public
getDispatchReceiver(): Style.SHEET
@@ -95,6 +97,7 @@ KtEnumEntrySymbol:
receiverType: null
returnType: Style
symbolKind: CLASS_MEMBER
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
@@ -151,4 +154,4 @@ KtNamedClassOrObjectSymbol:
typeParameters: []
visibility: Public
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
deprecationStatus: null
@@ -10,6 +10,7 @@ KtValueParameterSymbol:
receiverType: null
returnType: kotlin/String
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
@@ -46,6 +47,7 @@ KtPropertyGetterSymbol:
receiverType: null
returnType: kotlin/String
symbolKind: ACCESSOR
typeParameters: []
valueParameters: []
visibility: Public
getContainingModule: KtSourceModule "Sources of main"
@@ -94,6 +96,7 @@ KtEnumEntrySymbol:
receiverType: null
returnType: Style
symbolKind: CLASS_MEMBER
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
@@ -150,4 +153,4 @@ KtNamedClassOrObjectSymbol:
typeParameters: []
visibility: Public
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
deprecationStatus: null
@@ -8,6 +8,7 @@ KtLocalVariableSymbol:
receiverType: null
returnType: kotlin/Int
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
@@ -10,6 +10,7 @@ KtValueParameterSymbol:
receiverType: null
returnType: kotlin/Int
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
@@ -38,4 +39,4 @@ KtFunctionSymbol:
]
visibility: Public
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
deprecationStatus: null
@@ -3,6 +3,7 @@ KtTypeParameterSymbol:
isReified: false
name: X
origin: SOURCE
typeParameters: []
upperBounds: [
kotlin/Any?
]
@@ -22,6 +23,7 @@ KtValueParameterSymbol:
receiverType: null
returnType: X
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
@@ -10,6 +10,7 @@ KtValueParameterSymbol:
receiverType: null
returnType: kotlin/Int
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
@@ -10,6 +10,7 @@ KtValueParameterSymbol:
receiverType: null
returnType: kotlin/Int
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
@@ -23,6 +24,7 @@ KtLocalVariableSymbol:
receiverType: null
returnType: kotlin/Int
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
@@ -35,6 +37,7 @@ KtAnonymousFunctionSymbol:
receiverType: null
returnType: kotlin/Int
symbolKind: LOCAL
typeParameters: []
valueParameters: [
KtValueParameterSymbol(a)
]
@@ -51,6 +54,7 @@ KtLocalVariableSymbol:
receiverType: null
returnType: kotlin/Function1<kotlin/Int, kotlin/Int>
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
@@ -66,6 +70,7 @@ KtValueParameterSymbol:
receiverType: null
returnType: kotlin/Int
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
@@ -79,6 +84,7 @@ KtLocalVariableSymbol:
receiverType: null
returnType: kotlin/Int
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
@@ -91,6 +97,7 @@ KtAnonymousFunctionSymbol:
receiverType: null
returnType: kotlin/Int
symbolKind: LOCAL
typeParameters: []
valueParameters: [
KtValueParameterSymbol(a)
]
@@ -107,6 +114,7 @@ KtLocalVariableSymbol:
receiverType: null
returnType: kotlin/Function1<kotlin/Int, kotlin/Int>
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
@@ -120,6 +128,7 @@ KtLocalVariableSymbol:
receiverType: null
returnType: kotlin/Int
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
@@ -132,6 +141,7 @@ KtAnonymousFunctionSymbol:
receiverType: null
returnType: kotlin/Int
symbolKind: LOCAL
typeParameters: []
valueParameters: [
KtValueParameterSymbol(it)
]
@@ -175,6 +185,7 @@ KtValueParameterSymbol:
receiverType: null
returnType: kotlin/Function1<kotlin/Int, kotlin/Int>
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
@@ -203,4 +214,4 @@ KtFunctionSymbol:
]
visibility: Private
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
deprecationStatus: null
@@ -48,6 +48,7 @@ KtPropertyGetterSymbol:
receiverType: null
returnType: kotlin/Int
symbolKind: ACCESSOR
typeParameters: []
valueParameters: []
visibility: Public
getDispatchReceiver(): Foo
@@ -66,6 +67,7 @@ KtValueParameterSymbol:
receiverType: null
returnType: kotlin/Int
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
@@ -87,6 +89,7 @@ KtPropertySetterSymbol:
receiverType: null
returnType: kotlin/Unit
symbolKind: ACCESSOR
typeParameters: []
valueParameters: [
KtValueParameterSymbol(value)
]
@@ -148,4 +151,4 @@ KtNamedClassOrObjectSymbol:
typeParameters: []
visibility: Public
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
deprecationStatus: null
@@ -48,6 +48,7 @@ KtPropertyGetterSymbol:
receiverType: null
returnType: kotlin/Int
symbolKind: ACCESSOR
typeParameters: []
valueParameters: []
visibility: Public
getContainingModule: KtSourceModule "Sources of main"
@@ -65,6 +66,7 @@ KtValueParameterSymbol:
receiverType: null
returnType: kotlin/Int
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
@@ -86,6 +88,7 @@ KtPropertySetterSymbol:
receiverType: null
returnType: kotlin/Unit
symbolKind: ACCESSOR
typeParameters: []
valueParameters: [
KtValueParameterSymbol(value)
]
@@ -146,4 +149,4 @@ KtNamedClassOrObjectSymbol:
typeParameters: []
visibility: Public
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
deprecationStatus: null
@@ -8,6 +8,7 @@ KtLocalVariableSymbol:
receiverType: null
returnType: kotlin/Int
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
@@ -45,6 +45,7 @@ KtPropertyGetterSymbol:
receiverType: kotlin/Int
returnType: kotlin/Int
symbolKind: ACCESSOR
typeParameters: []
valueParameters: []
visibility: Public
getDispatchReceiver(): A
@@ -45,6 +45,7 @@ KtPropertyGetterSymbol:
receiverType: null
returnType: kotlin/Int
symbolKind: ACCESSOR
typeParameters: []
valueParameters: []
visibility: Public
getContainingModule: KtSourceModule "Sources of main"
@@ -3,6 +3,7 @@ KtTypeParameterSymbol:
isReified: false
name: T
origin: SOURCE
typeParameters: []
upperBounds: [
kotlin/Any?
]
@@ -15,6 +16,7 @@ KtTypeParameterSymbol:
isReified: false
name: T1
origin: SOURCE
typeParameters: []
upperBounds: [
kotlin/Any?
]
@@ -51,6 +53,7 @@ KtTypeParameterSymbol:
isReified: false
name: T2
origin: SOURCE
typeParameters: []
upperBounds: [
kotlin/Any?
]
@@ -87,6 +90,7 @@ KtTypeParameterSymbol:
isReified: false
name: T3
origin: SOURCE
typeParameters: []
upperBounds: [
kotlin/Any?
]
@@ -99,6 +103,7 @@ KtTypeParameterSymbol:
isReified: false
name: T4
origin: SOURCE
typeParameters: []
upperBounds: [
kotlin/Any?
]
@@ -111,6 +116,7 @@ KtTypeParameterSymbol:
isReified: false
name: T5
origin: SOURCE
typeParameters: []
upperBounds: [
kotlin/Any?
]
@@ -147,6 +153,7 @@ KtTypeParameterSymbol:
isReified: false
name: T6
origin: SOURCE
typeParameters: []
upperBounds: [
kotlin/Any?
]
@@ -3,6 +3,7 @@ KtTypeParameterSymbol:
isReified: false
name: T
origin: SOURCE
typeParameters: []
upperBounds: [
kotlin/Any?
]
@@ -15,6 +16,7 @@ KtTypeParameterSymbol:
isReified: false
name: T1
origin: SOURCE
typeParameters: []
upperBounds: [
kotlin/Any?
]
@@ -51,6 +53,7 @@ KtTypeParameterSymbol:
isReified: false
name: T2
origin: SOURCE
typeParameters: []
upperBounds: [
kotlin/Any?
]
@@ -87,6 +90,7 @@ KtTypeParameterSymbol:
isReified: false
name: T3
origin: SOURCE
typeParameters: []
upperBounds: [
kotlin/Any?
]
@@ -99,6 +103,7 @@ KtTypeParameterSymbol:
isReified: false
name: T4
origin: SOURCE
typeParameters: []
upperBounds: [
kotlin/Any?
]
@@ -111,6 +116,7 @@ KtTypeParameterSymbol:
isReified: false
name: T5
origin: SOURCE
typeParameters: []
upperBounds: [
kotlin/Any?
]
@@ -147,6 +153,7 @@ KtTypeParameterSymbol:
isReified: false
name: T6
origin: SOURCE
typeParameters: []
upperBounds: [
kotlin/Any?
]
@@ -44,6 +44,7 @@ KtPropertyGetterSymbol:
receiverType: kotlin/Int
returnType: kotlin/Int
symbolKind: ACCESSOR
typeParameters: []
valueParameters: []
visibility: Public
getContainingModule: KtSourceModule "Sources of main"
@@ -44,6 +44,7 @@ KtPropertyGetterSymbol:
receiverType: null
returnType: kotlin/Int
symbolKind: ACCESSOR
typeParameters: []
valueParameters: []
visibility: Public
getContainingModule: KtSourceModule "Sources of main"
@@ -3,6 +3,7 @@ KtTypeParameterSymbol:
isReified: false
name: T
origin: SOURCE
typeParameters: []
upperBounds: [
kotlin/Any?
]
@@ -39,6 +40,7 @@ KtTypeParameterSymbol:
isReified: false
name: Z
origin: SOURCE
typeParameters: []
upperBounds: [
kotlin/Any?
]
@@ -135,6 +135,7 @@ KtValueParameterSymbol:
psi: KtAnnotationEntry
] @R|Anno2|() I
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
@@ -229,4 +230,4 @@ KtNamedClassOrObjectSymbol:
typeParameters: []
visibility: Public
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
deprecationStatus: null
@@ -135,6 +135,7 @@ KtValueParameterSymbol:
psi: KtAnnotationEntry
] @R|Anno2|() I
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
@@ -10,6 +10,7 @@ KtValueParameterSymbol:
receiverType: null
returnType: kotlin/Int
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
@@ -52,6 +53,7 @@ KtValueParameterSymbol:
receiverType: null
returnType: kotlin/Float?
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
@@ -94,6 +96,7 @@ KtValueParameterSymbol:
receiverType: null
returnType: kotlin/Any
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
@@ -136,6 +139,7 @@ KtValueParameterSymbol:
receiverType: null
returnType: ERROR_TYPE
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
@@ -164,4 +168,4 @@ KtFunctionSymbol:
]
visibility: Public
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
deprecationStatus: null
@@ -8,5 +8,6 @@ KtBackingFieldSymbol:
receiverType: null
returnType: kotlin/Int
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
@@ -10,5 +10,6 @@ KtValueParameterSymbol:
receiverType: null
returnType: kotlin/Int
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
deprecationStatus: null
@@ -10,5 +10,6 @@ KtValueParameterSymbol:
receiverType: null
returnType: kotlin/Int
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
deprecationStatus: null
@@ -8,6 +8,7 @@ KtSamConstructorSymbol:
receiverType: null
returnType: java/lang/Runnable
symbolKind: SAM_CONSTRUCTOR
typeParameters: []
valueParameters: [
KtValueParameterSymbol(function)
]