[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
@@ -16,6 +16,7 @@ import org.jetbrains.kotlin.analysis.api.symbols.pointers.KtPsiBasedSymbolPointe
import org.jetbrains.kotlin.analysis.api.symbols.pointers.KtSymbolPointer
import org.jetbrains.kotlin.analysis.api.types.KtType
import org.jetbrains.kotlin.analysis.api.lifetime.withValidityAssertion
import org.jetbrains.kotlin.analysis.api.symbols.KtTypeParameterSymbol
import org.jetbrains.kotlin.name.CallableId
import org.jetbrains.kotlin.name.Name
import org.jetbrains.kotlin.resolve.calls.inference.returnTypeOrNothing
@@ -53,6 +54,10 @@ internal class KtFe10DescSamConstructorSymbol(
override val origin: KtSymbolOrigin
get() = withValidityAssertion { expandedDescriptor.getSymbolOrigin(analysisContext) }
override val typeParameters: List<KtTypeParameterSymbol>
get() = withValidityAssertion { descriptor.typeParameters.map { KtFe10DescTypeParameterSymbol(it, analysisContext) } }
override fun createPointer(): KtSymbolPointer<KtSamConstructorSymbol> = withValidityAssertion {
val pointerByPsi = KtPsiBasedSymbolPointer.createForSymbolFromSource(this)
if (pointerByPsi != null) {
@@ -18,6 +18,7 @@ import org.jetbrains.kotlin.analysis.api.symbols.pointers.KtSymbolPointer
import org.jetbrains.kotlin.analysis.api.lifetime.KtLifetimeToken
import org.jetbrains.kotlin.analysis.api.types.KtType
import org.jetbrains.kotlin.analysis.api.lifetime.withValidityAssertion
import org.jetbrains.kotlin.analysis.api.symbols.KtTypeParameterSymbol
import org.jetbrains.kotlin.analysis.low.level.api.fir.api.LLFirResolveSession
import org.jetbrains.kotlin.fir.resolve.getHasStableParameterNames
import org.jetbrains.kotlin.fir.symbols.impl.FirNamedFunctionSymbol
@@ -59,6 +60,9 @@ internal class KtFirSamConstructorSymbol(
override val callableIdIfNonLocal: CallableId? get() = withValidityAssertion { firSymbol.getCallableIdIfNonLocal() }
override val typeParameters: List<KtTypeParameterSymbol>
get() = withValidityAssertion { firSymbol.createKtTypeParameters(builder) }
override fun createPointer(): KtSymbolPointer<KtSamConstructorSymbol> {
val callableId = firSymbol.callableId
return KtFirSamConstructorSymbolPointer(ClassId(callableId.packageName, callableId.callableName))
@@ -8,11 +8,12 @@ package org.jetbrains.kotlin.analysis.api.symbols
import org.jetbrains.kotlin.analysis.api.symbols.markers.KtAnnotatedSymbol
import org.jetbrains.kotlin.analysis.api.symbols.markers.KtPossibleMemberSymbol
import org.jetbrains.kotlin.analysis.api.symbols.markers.KtSymbolWithKind
import org.jetbrains.kotlin.analysis.api.symbols.markers.KtSymbolWithTypeParameters
import org.jetbrains.kotlin.analysis.api.symbols.pointers.KtSymbolPointer
import org.jetbrains.kotlin.analysis.api.types.KtType
import org.jetbrains.kotlin.name.CallableId
public abstract class KtCallableSymbol : KtSymbol, KtSymbolWithKind, KtAnnotatedSymbol, KtPossibleMemberSymbol, KtDeclarationSymbol {
public abstract class KtCallableSymbol : KtSymbolWithKind, KtAnnotatedSymbol, KtPossibleMemberSymbol, KtDeclarationSymbol {
public abstract val callableIdIfNonLocal: CallableId?
public abstract val returnType: KtType
@@ -5,6 +5,7 @@
package org.jetbrains.kotlin.analysis.api.symbols
import org.jetbrains.kotlin.analysis.api.lifetime.withValidityAssertion
import org.jetbrains.kotlin.analysis.api.symbols.markers.*
import org.jetbrains.kotlin.analysis.api.symbols.pointers.KtSymbolPointer
import org.jetbrains.kotlin.analysis.api.types.KtType
@@ -21,6 +22,9 @@ public val KtClassifierSymbol.nameOrAnonymous: Name
public abstract class KtTypeParameterSymbol : KtClassifierSymbol(), KtNamedSymbol {
abstract override fun createPointer(): KtSymbolPointer<KtTypeParameterSymbol>
final override val typeParameters: List<KtTypeParameterSymbol>
get() = withValidityAssertion { emptyList() }
public abstract val upperBounds: List<KtType>
public abstract val variance: Variance
public abstract val isReified: Boolean
@@ -33,7 +37,6 @@ public sealed class KtClassLikeSymbol : KtClassifierSymbol(), KtSymbolWithKind,
}
public abstract class KtTypeAliasSymbol : KtClassLikeSymbol(),
KtSymbolWithTypeParameters,
KtSymbolWithVisibility,
KtNamedSymbol,
KtAnnotatedSymbol {
@@ -64,11 +67,13 @@ public abstract class KtAnonymousObjectSymbol : KtClassOrObjectSymbol() {
final override val symbolKind: KtSymbolKind get() = KtSymbolKind.LOCAL
final override val name: Name? get() = null
final override val typeParameters: List<KtTypeParameterSymbol>
get() = withValidityAssertion { emptyList() }
abstract override fun createPointer(): KtSymbolPointer<KtAnonymousObjectSymbol>
}
public abstract class KtNamedClassOrObjectSymbol : KtClassOrObjectSymbol(),
KtSymbolWithTypeParameters,
KtSymbolWithModality,
KtSymbolWithVisibility,
KtNamedSymbol {
@@ -5,8 +5,10 @@
package org.jetbrains.kotlin.analysis.api.symbols
import org.jetbrains.kotlin.analysis.api.symbols.markers.KtSymbolWithTypeParameters
/**
* Represents a symbol of declaration which can be directly expressed in source code.
* Eg, classes, type parameters or functions ar [KtDeclarationSymbol], but files and packages are not
*/
public sealed interface KtDeclarationSymbol : KtSymbol
public sealed interface KtDeclarationSymbol : KtSymbol, KtSymbolWithTypeParameters
@@ -5,6 +5,7 @@
package org.jetbrains.kotlin.analysis.api.symbols
import org.jetbrains.kotlin.analysis.api.lifetime.withValidityAssertion
import org.jetbrains.kotlin.analysis.api.symbols.markers.*
import org.jetbrains.kotlin.analysis.api.symbols.pointers.KtSymbolPointer
import org.jetbrains.kotlin.analysis.api.types.KtType
@@ -28,6 +29,9 @@ public abstract class KtAnonymousFunctionSymbol : KtFunctionLikeSymbol() {
final override val symbolKind: KtSymbolKind get() = KtSymbolKind.LOCAL
final override val callableIdIfNonLocal: CallableId? get() = null
final override val typeParameters: List<KtTypeParameterSymbol>
get() = withValidityAssertion { emptyList() }
abstract override fun createPointer(): KtSymbolPointer<KtAnonymousFunctionSymbol>
}
@@ -40,7 +44,6 @@ public abstract class KtSamConstructorSymbol : KtFunctionLikeSymbol(), KtNamedSy
public abstract class KtFunctionSymbol : KtFunctionLikeSymbol(),
KtNamedSymbol,
KtPossibleMemberSymbol,
KtSymbolWithTypeParameters,
KtSymbolWithModality,
KtSymbolWithVisibility,
KtAnnotatedSymbol {
@@ -64,8 +67,7 @@ public abstract class KtFunctionSymbol : KtFunctionLikeSymbol(),
public abstract class KtConstructorSymbol : KtFunctionLikeSymbol(),
KtPossibleMemberSymbol,
KtAnnotatedSymbol,
KtSymbolWithVisibility,
KtSymbolWithTypeParameters {
KtSymbolWithVisibility {
public abstract val isPrimary: Boolean
public abstract val containingClassIdIfNonLocal: ClassId?
@@ -5,6 +5,7 @@
package org.jetbrains.kotlin.analysis.api.symbols
import org.jetbrains.kotlin.analysis.api.lifetime.withValidityAssertion
import org.jetbrains.kotlin.analysis.api.symbols.markers.*
import org.jetbrains.kotlin.analysis.api.symbols.pointers.KtSymbolPointer
@@ -17,6 +18,9 @@ public sealed class KtPropertyAccessorSymbol : KtFunctionLikeSymbol(),
final override val isExtension: Boolean get() = false
final override val typeParameters: List<KtTypeParameterSymbol>
get() = withValidityAssertion { emptyList() }
public abstract val isDefault: Boolean
public abstract val isInline: Boolean
public abstract val isOverride: Boolean
@@ -7,6 +7,7 @@ package org.jetbrains.kotlin.analysis.api.symbols
import com.intellij.psi.PsiElement
import org.jetbrains.kotlin.analysis.api.*
import org.jetbrains.kotlin.analysis.api.lifetime.withValidityAssertion
import org.jetbrains.kotlin.builtins.StandardNames
import org.jetbrains.kotlin.analysis.api.symbols.markers.*
import org.jetbrains.kotlin.analysis.api.symbols.pointers.KtSymbolPointer
@@ -42,6 +43,9 @@ public abstract class KtBackingFieldSymbol : KtVariableLikeSymbol() {
final override val isExtension: Boolean get() = false
final override val receiverType: KtType? get() = null
final override val typeParameters: List<KtTypeParameterSymbol>
get() = withValidityAssertion { emptyList() }
abstract override fun createPointer(): KtSymbolPointer<KtVariableLikeSymbol>
public companion object {
@@ -55,6 +59,9 @@ public abstract class KtEnumEntrySymbol : KtVariableLikeSymbol(), KtSymbolWithMe
final override val isExtension: Boolean get() = false
final override val receiverType: KtType? get() = null
final override val typeParameters: List<KtTypeParameterSymbol>
get() = withValidityAssertion { emptyList() }
//todo reduntant, remove
public abstract val containingEnumClassIdIfNonLocal: ClassId?
@@ -75,6 +82,10 @@ public abstract class KtJavaFieldSymbol :
final override val symbolKind: KtSymbolKind get() = KtSymbolKind.CLASS_MEMBER
final override val isExtension: Boolean get() = false
final override val receiverType: KtType? get() = null
final override val typeParameters: List<KtTypeParameterSymbol>
get() = withValidityAssertion { emptyList() }
public abstract val isStatic: Boolean
abstract override fun createPointer(): KtSymbolPointer<KtJavaFieldSymbol>
@@ -82,7 +93,6 @@ public abstract class KtJavaFieldSymbol :
public sealed class KtPropertySymbol : KtVariableSymbol(),
KtPossibleMemberSymbol,
KtSymbolWithTypeParameters,
KtSymbolWithModality,
KtSymbolWithVisibility,
KtAnnotatedSymbol,
@@ -142,6 +152,9 @@ public abstract class KtLocalVariableSymbol : KtVariableSymbol(), KtSymbolWithKi
final override val isExtension: Boolean get() = false
final override val receiverType: KtType? get() = null
final override val typeParameters: List<KtTypeParameterSymbol>
get() = withValidityAssertion { emptyList() }
abstract override fun createPointer(): KtSymbolPointer<KtLocalVariableSymbol>
}
@@ -151,6 +164,9 @@ public abstract class KtValueParameterSymbol : KtVariableLikeSymbol(), KtSymbolW
final override val isExtension: Boolean get() = false
final override val receiverType: KtType? get() = null
final override val typeParameters: List<KtTypeParameterSymbol>
get() = withValidityAssertion { emptyList() }
/**
* Whether this value parameter has a default value or not.
*/
@@ -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)
]