[Analysis API FE1.0] fix containing module for some cases

This commit is contained in:
Ilya Kirillov
2022-10-24 22:50:26 +02:00
committed by teamcity
parent 59beeb36be
commit f5432127d1
33 changed files with 362 additions and 115 deletions
@@ -40,9 +40,11 @@ sourceSets {
tasks.withType<org.jetbrains.kotlin.gradle.dsl.KotlinCompile<*>> { tasks.withType<org.jetbrains.kotlin.gradle.dsl.KotlinCompile<*>> {
kotlinOptions { kotlinOptions {
freeCompilerArgs += "-opt-in=kotlin.RequiresOptIn" freeCompilerArgs += "-opt-in=kotlin.RequiresOptIn"
freeCompilerArgs += "-Xcontext-receivers"
} }
} }
projectTest(jUnitMode = JUnitMode.JUnit5) { projectTest(jUnitMode = JUnitMode.JUnit5) {
dependsOn(":dist") dependsOn(":dist")
workingDir = rootDir workingDir = rootDir
@@ -27,6 +27,7 @@ import org.jetbrains.kotlin.analysis.project.structure.getKtModule
import org.jetbrains.kotlin.descriptors.DeclarationDescriptor import org.jetbrains.kotlin.descriptors.DeclarationDescriptor
import org.jetbrains.kotlin.load.kotlin.JvmPackagePartSource import org.jetbrains.kotlin.load.kotlin.JvmPackagePartSource
import org.jetbrains.kotlin.platform.TargetPlatform import org.jetbrains.kotlin.platform.TargetPlatform
import org.jetbrains.kotlin.resolve.DescriptorToSourceUtils
import org.jetbrains.kotlin.resolve.PlatformDependentAnalyzerServices import org.jetbrains.kotlin.resolve.PlatformDependentAnalyzerServices
import org.jetbrains.kotlin.resolve.descriptorUtil.platform import org.jetbrains.kotlin.resolve.descriptorUtil.platform
import org.jetbrains.kotlin.resolve.jvm.platform.JvmPlatformAnalyzerServices import org.jetbrains.kotlin.resolve.jvm.platform.JvmPlatformAnalyzerServices
@@ -53,19 +54,15 @@ internal class KtFe10SymbolContainingDeclarationProvider(
// TODO this is a dummy and incorrect implementation just to satisfy some tests // TODO this is a dummy and incorrect implementation just to satisfy some tests
override fun getContainingModule(symbol: KtSymbol): KtModule { override fun getContainingModule(symbol: KtSymbol): KtModule {
// Implicit lambda parameter doesn't have a source PSI. val psiForModule = symbol.getDescriptor()?.let { DescriptorToSourceUtils.getContainingFile(it) }
if ((symbol as? KtValueParameterSymbol)?.isImplicitLambdaParameter == true) { ?: symbol.psi
// Retrieve the module from its containing lambda instead.
getContainingDeclaration(symbol)?.let { parentLambdaSymbol -> return psiForModule?.getKtModule(analysisSession.analysisContext.resolveSession.project)
return getContainingModule(parentLambdaSymbol)
}
}
return symbol.psi?.getKtModule(analysisSession.analysisContext.resolveSession.project)
?: symbol.getDescriptor()?.getFakeContainingKtModule() ?: symbol.getDescriptor()?.getFakeContainingKtModule()
?: TODO(symbol.toString()) ?: TODO(symbol::class.java.name)
} }
private fun DeclarationDescriptor.getFakeContainingKtModule(): KtModule { private fun DeclarationDescriptor.getFakeContainingKtModule(): KtModule? {
return when (this) { return when (this) {
is DescriptorWithContainerSource -> { is DescriptorWithContainerSource -> {
val libraryPath = Paths.get((containerSource as JvmPackagePartSource).knownJvmBinaryClass?.containingLibrary!!) val libraryPath = Paths.get((containerSource as JvmPackagePartSource).knownJvmBinaryClass?.containingLibrary!!)
@@ -87,7 +84,7 @@ internal class KtFe10SymbolContainingDeclarationProvider(
} }
} }
else -> TODO(this.toString()) else -> null
} }
} }
} }
@@ -21,11 +21,12 @@ import org.jetbrains.kotlin.analysis.api.types.KtType
import org.jetbrains.kotlin.analysis.api.lifetime.withValidityAssertion import org.jetbrains.kotlin.analysis.api.lifetime.withValidityAssertion
import org.jetbrains.kotlin.descriptors.Modality import org.jetbrains.kotlin.descriptors.Modality
import org.jetbrains.kotlin.descriptors.PropertyDescriptor import org.jetbrains.kotlin.descriptors.PropertyDescriptor
import org.jetbrains.kotlin.descriptors.ValueParameterDescriptor
import org.jetbrains.kotlin.descriptors.Visibility import org.jetbrains.kotlin.descriptors.Visibility
import org.jetbrains.kotlin.name.CallableId import org.jetbrains.kotlin.name.CallableId
import org.jetbrains.kotlin.name.Name import org.jetbrains.kotlin.name.Name
class KtFe10DescDefaultPropertySetterSymbol( internal class KtFe10DescDefaultPropertySetterSymbol(
private val propertyDescriptor: PropertyDescriptor, private val propertyDescriptor: PropertyDescriptor,
override val analysisContext: Fe10AnalysisContext override val analysisContext: Fe10AnalysisContext
) : KtPropertySetterSymbol(), KtFe10Symbol { ) : KtPropertySetterSymbol(), KtFe10Symbol {
@@ -81,10 +82,13 @@ class KtFe10DescDefaultPropertySetterSymbol(
} }
} }
private class DefaultKtValueParameterSymbol( class DefaultKtValueParameterSymbol(
private val propertyDescriptor: PropertyDescriptor, private val propertyDescriptor: PropertyDescriptor,
override val analysisContext: Fe10AnalysisContext override val analysisContext: Fe10AnalysisContext
) : KtValueParameterSymbol(), KtFe10Symbol { ) : KtValueParameterSymbol(), KtFe10Symbol {
val descriptor: ValueParameterDescriptor?
get() = propertyDescriptor.setter?.valueParameters?.singleOrNull()
override val hasDefaultValue: Boolean override val hasDefaultValue: Boolean
get() = withValidityAssertion { false } get() = withValidityAssertion { false }
@@ -13,6 +13,7 @@ import org.jetbrains.kotlin.analysis.api.base.KtConstantValue
import org.jetbrains.kotlin.analysis.api.base.KtContextReceiver import org.jetbrains.kotlin.analysis.api.base.KtContextReceiver
import org.jetbrains.kotlin.analysis.api.components.KtDeclarationRendererOptions import org.jetbrains.kotlin.analysis.api.components.KtDeclarationRendererOptions
import org.jetbrains.kotlin.analysis.api.descriptors.Fe10AnalysisContext import org.jetbrains.kotlin.analysis.api.descriptors.Fe10AnalysisContext
import org.jetbrains.kotlin.analysis.api.descriptors.symbols.KtFe10FileSymbol
import org.jetbrains.kotlin.analysis.api.descriptors.symbols.KtFe10PackageSymbol import org.jetbrains.kotlin.analysis.api.descriptors.symbols.KtFe10PackageSymbol
import org.jetbrains.kotlin.analysis.api.descriptors.symbols.descriptorBased.* import org.jetbrains.kotlin.analysis.api.descriptors.symbols.descriptorBased.*
import org.jetbrains.kotlin.analysis.api.descriptors.symbols.psiBased.KtFe10PsiDefaultPropertyGetterSymbol import org.jetbrains.kotlin.analysis.api.descriptors.symbols.psiBased.KtFe10PsiDefaultPropertyGetterSymbol
@@ -135,6 +136,9 @@ internal fun KtSymbol.getDescriptor(): DeclarationDescriptor? {
is KtFe10PsiDefaultSetterParameterSymbol -> descriptor is KtFe10PsiDefaultSetterParameterSymbol -> descriptor
is KtFe10PsiDefaultPropertySetterSymbol -> null is KtFe10PsiDefaultPropertySetterSymbol -> null
is KtFe10DescDefaultPropertySetterSymbol -> null is KtFe10DescDefaultPropertySetterSymbol -> null
is KtFe10FileSymbol -> null
is KtFe10DescDefaultPropertySetterSymbol.DefaultKtValueParameterSymbol -> descriptor
is KtFe10PsiDefaultPropertySetterSymbol.DefaultKtValueParameterSymbol -> descriptor
else -> unexpectedElementError("KtSymbol", this) else -> unexpectedElementError("KtSymbol", this)
} }
} }
@@ -104,9 +104,9 @@ internal class KtFe10PsiDefaultPropertySetterSymbol(
return KtFe10NeverRestoringSymbolPointer() return KtFe10NeverRestoringSymbolPointer()
} }
private class DefaultKtValueParameterSymbol( class DefaultKtValueParameterSymbol(
private val propertyPsi: KtProperty, private val propertyPsi: KtProperty,
private val descriptor: ValueParameterDescriptor?, val descriptor: ValueParameterDescriptor?,
override val analysisContext: Fe10AnalysisContext override val analysisContext: Fe10AnalysisContext
) : KtValueParameterSymbol(), KtFe10Symbol { ) : KtValueParameterSymbol(), KtFe10Symbol {
override val hasDefaultValue: Boolean override val hasDefaultValue: Boolean
@@ -21,8 +21,7 @@ KtKotlinPropertySymbol:
valueParameters: [] valueParameters: []
visibility: Public visibility: Public
getDispatchReceiver(): A getDispatchReceiver(): A
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: public open fun `<get-foo>`(): kotlin.Int defined in I[PropertyGetterDescriptorImpl@5db84abe] getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null deprecationStatus: null
hasBackingField: false hasBackingField: false
hasGetter: true hasGetter: true
@@ -21,8 +21,7 @@ KtKotlinPropertySymbol:
valueParameters: [] valueParameters: []
visibility: Public visibility: Public
getDispatchReceiver(): A getDispatchReceiver(): A
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: public open fun kotlin.Int.`<get-zoo>`(): kotlin.Unit defined in I[PropertyGetterDescriptorImpl@74fa42af] getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null deprecationStatus: null
hasBackingField: false hasBackingField: false
hasGetter: true hasGetter: true
@@ -70,8 +69,7 @@ KtKotlinPropertySymbol:
returnType: kotlin/Unit returnType: kotlin/Unit
symbolKind: LOCAL symbolKind: LOCAL
typeParameters: [] typeParameters: []
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: value-parameter `<set-?>`: kotlin.Unit defined in I.`<set-zoo>`[ValueParameterDescriptorImpl@5e026e8c] getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null deprecationStatus: null
receiverType: kotlin/Int receiverType: kotlin/Int
returnType: kotlin/Unit returnType: kotlin/Unit
@@ -95,14 +93,12 @@ KtKotlinPropertySymbol:
returnType: kotlin/Unit returnType: kotlin/Unit
symbolKind: LOCAL symbolKind: LOCAL
typeParameters: [] typeParameters: []
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: value-parameter `<set-?>`: kotlin.Unit defined in I.`<set-zoo>`[ValueParameterDescriptorImpl@5e026e8c] getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null deprecationStatus: null
] ]
visibility: Public visibility: Public
getDispatchReceiver(): A getDispatchReceiver(): A
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: public open fun kotlin.Int.`<set-zoo>`(`<set-?>`: kotlin.Unit): kotlin.Unit defined in I[PropertySetterDescriptorImpl@14f129cc] getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null deprecationStatus: null
symbolKind: CLASS_MEMBER symbolKind: CLASS_MEMBER
typeParameters: [] typeParameters: []
@@ -192,8 +188,7 @@ KtKotlinPropertySymbol:
valueParameters: [] valueParameters: []
visibility: Public visibility: Public
getDispatchReceiver(): A getDispatchReceiver(): A
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: public open fun `<get-foo>`(): kotlin.Int defined in I[PropertyGetterDescriptorImpl@5c47271] getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null deprecationStatus: null
hasBackingField: false hasBackingField: false
hasGetter: true hasGetter: true
@@ -247,8 +242,7 @@ KtKotlinPropertySymbol:
valueParameters: [] valueParameters: []
visibility: Public visibility: Public
getDispatchReceiver(): A getDispatchReceiver(): A
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: public open fun `<get-bar>`(): kotlin.Long defined in I[PropertyGetterDescriptorImpl@59243d9c] getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null deprecationStatus: null
hasBackingField: false hasBackingField: false
hasGetter: true hasGetter: true
@@ -296,8 +290,7 @@ KtKotlinPropertySymbol:
returnType: kotlin/Long returnType: kotlin/Long
symbolKind: LOCAL symbolKind: LOCAL
typeParameters: [] typeParameters: []
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: value-parameter `<set-?>`: kotlin.Long defined in I.`<set-bar>`[ValueParameterDescriptorImpl@4751d8dd] getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null deprecationStatus: null
receiverType: null receiverType: null
returnType: kotlin/Unit returnType: kotlin/Unit
@@ -321,14 +314,12 @@ KtKotlinPropertySymbol:
returnType: kotlin/Long returnType: kotlin/Long
symbolKind: LOCAL symbolKind: LOCAL
typeParameters: [] typeParameters: []
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: value-parameter `<set-?>`: kotlin.Long defined in I.`<set-bar>`[ValueParameterDescriptorImpl@4751d8dd] getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null deprecationStatus: null
] ]
visibility: Public visibility: Public
getDispatchReceiver(): A getDispatchReceiver(): A
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: public open fun `<set-bar>`(`<set-?>`: kotlin.Long): kotlin.Unit defined in I[PropertySetterDescriptorImpl@421fc80] getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null deprecationStatus: null
symbolKind: CLASS_MEMBER symbolKind: CLASS_MEMBER
typeParameters: [] typeParameters: []
@@ -364,8 +355,7 @@ KtKotlinPropertySymbol:
valueParameters: [] valueParameters: []
visibility: Public visibility: Public
getDispatchReceiver(): A getDispatchReceiver(): A
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: public open fun kotlin.Int.`<get-doo>`(): kotlin.String defined in I[PropertyGetterDescriptorImpl@663e249d] getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null deprecationStatus: null
hasBackingField: false hasBackingField: false
hasGetter: true hasGetter: true
@@ -206,8 +206,7 @@ KtKotlinPropertySymbol:
returnType: kotlin/Int returnType: kotlin/Int
symbolKind: LOCAL symbolKind: LOCAL
typeParameters: [] typeParameters: []
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: value-parameter `<set-?>`: kotlin.Int defined in `<set-initializedVariable>`[ValueParameterDescriptorImpl@d6c9b60] getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null deprecationStatus: null
receiverType: null receiverType: null
returnType: kotlin/Unit returnType: kotlin/Unit
@@ -231,8 +230,7 @@ KtKotlinPropertySymbol:
returnType: kotlin/Int returnType: kotlin/Int
symbolKind: LOCAL symbolKind: LOCAL
typeParameters: [] typeParameters: []
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: value-parameter `<set-?>`: kotlin.Int defined in `<set-initializedVariable>`[ValueParameterDescriptorImpl@d6c9b60] getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null deprecationStatus: null
] ]
visibility: Public visibility: Public
@@ -318,8 +316,7 @@ KtKotlinPropertySymbol:
returnType: kotlin/Long returnType: kotlin/Long
symbolKind: LOCAL symbolKind: LOCAL
typeParameters: [] typeParameters: []
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: value-parameter `<set-?>`: kotlin.Long defined in `<set-unitializedVariable>`[ValueParameterDescriptorImpl@7b97af2c] getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null deprecationStatus: null
receiverType: null receiverType: null
returnType: kotlin/Unit returnType: kotlin/Unit
@@ -343,8 +340,7 @@ KtKotlinPropertySymbol:
returnType: kotlin/Long returnType: kotlin/Long
symbolKind: LOCAL symbolKind: LOCAL
typeParameters: [] typeParameters: []
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: value-parameter `<set-?>`: kotlin.Long defined in `<set-unitializedVariable>`[ValueParameterDescriptorImpl@7b97af2c] getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null deprecationStatus: null
] ]
visibility: Public visibility: Public
@@ -430,8 +426,7 @@ KtKotlinPropertySymbol:
returnType: kotlin/String returnType: kotlin/String
symbolKind: LOCAL symbolKind: LOCAL
typeParameters: [] typeParameters: []
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: value-parameter `<set-?>`: kotlin.String defined in `<set-lateinitVariable>`[ValueParameterDescriptorImpl@fff5304] getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null deprecationStatus: null
receiverType: null receiverType: null
returnType: kotlin/Unit returnType: kotlin/Unit
@@ -455,8 +450,7 @@ KtKotlinPropertySymbol:
returnType: kotlin/String returnType: kotlin/String
symbolKind: LOCAL symbolKind: LOCAL
typeParameters: [] typeParameters: []
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: value-parameter `<set-?>`: kotlin.String defined in `<set-lateinitVariable>`[ValueParameterDescriptorImpl@fff5304] getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null deprecationStatus: null
] ]
visibility: Public visibility: Public
@@ -542,8 +536,7 @@ KtKotlinPropertySymbol:
returnType: kotlin/Long returnType: kotlin/Long
symbolKind: LOCAL symbolKind: LOCAL
typeParameters: [] typeParameters: []
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: value-parameter `<set-?>`: kotlin.Long defined in `<set-variableWithBackingField>`[ValueParameterDescriptorImpl@1a6bf275] getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null deprecationStatus: null
receiverType: null receiverType: null
returnType: kotlin/Unit returnType: kotlin/Unit
@@ -567,8 +560,7 @@ KtKotlinPropertySymbol:
returnType: kotlin/Long returnType: kotlin/Long
symbolKind: LOCAL symbolKind: LOCAL
typeParameters: [] typeParameters: []
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: value-parameter `<set-?>`: kotlin.Long defined in `<set-variableWithBackingField>`[ValueParameterDescriptorImpl@1a6bf275] getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null deprecationStatus: null
] ]
visibility: Public visibility: Public
@@ -657,8 +649,7 @@ KtKotlinPropertySymbol:
returnType: kotlin/String returnType: kotlin/String
symbolKind: LOCAL symbolKind: LOCAL
typeParameters: [] typeParameters: []
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: value-parameter `<set-?>`: kotlin.String defined in `<set-privateSetter>`[ValueParameterDescriptorImpl@79cce906] getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null deprecationStatus: null
receiverType: null receiverType: null
returnType: kotlin/Unit returnType: kotlin/Unit
@@ -682,8 +673,7 @@ KtKotlinPropertySymbol:
returnType: kotlin/String returnType: kotlin/String
symbolKind: LOCAL symbolKind: LOCAL
typeParameters: [] typeParameters: []
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: value-parameter `<set-?>`: kotlin.String defined in `<set-privateSetter>`[ValueParameterDescriptorImpl@79cce906] getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null deprecationStatus: null
] ]
visibility: Private visibility: Private
@@ -772,8 +762,7 @@ KtKotlinPropertySymbol:
returnType: kotlin/String returnType: kotlin/String
symbolKind: LOCAL symbolKind: LOCAL
typeParameters: [] typeParameters: []
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: value-parameter `<set-?>`: kotlin.String defined in `<set-jvmNameOnSetter>`[ValueParameterDescriptorImpl@11a17524] getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null deprecationStatus: null
receiverType: null receiverType: null
returnType: kotlin/Unit returnType: kotlin/Unit
@@ -797,8 +786,7 @@ KtKotlinPropertySymbol:
returnType: kotlin/String returnType: kotlin/String
symbolKind: LOCAL symbolKind: LOCAL
typeParameters: [] typeParameters: []
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: value-parameter `<set-?>`: kotlin.String defined in `<set-jvmNameOnSetter>`[ValueParameterDescriptorImpl@11a17524] getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null deprecationStatus: null
] ]
visibility: Private visibility: Private
@@ -1152,8 +1140,7 @@ KtKotlinPropertySymbol:
returnType: kotlin/Long returnType: kotlin/Long
symbolKind: LOCAL symbolKind: LOCAL
typeParameters: [] typeParameters: []
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: value-parameter `<set-?>`: kotlin.Long defined in `<set-jvmField>`[ValueParameterDescriptorImpl@35483a2e] getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null deprecationStatus: null
receiverType: null receiverType: null
returnType: kotlin/Unit returnType: kotlin/Unit
@@ -1177,8 +1164,7 @@ KtKotlinPropertySymbol:
returnType: kotlin/Long returnType: kotlin/Long
symbolKind: LOCAL symbolKind: LOCAL
typeParameters: [] typeParameters: []
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: value-parameter `<set-?>`: kotlin.Long defined in `<set-jvmField>`[ValueParameterDescriptorImpl@35483a2e] getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null deprecationStatus: null
] ]
visibility: Public visibility: Public
@@ -26,6 +26,8 @@ KtKotlinPropertySymbol:
typeParameters: [] typeParameters: []
valueParameters: [] valueParameters: []
visibility: Public visibility: Public
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
hasBackingField: true hasBackingField: true
hasGetter: true hasGetter: true
hasSetter: true hasSetter: true
@@ -78,6 +80,8 @@ KtKotlinPropertySymbol:
returnType: kotlin/Int returnType: kotlin/Int
symbolKind: LOCAL symbolKind: LOCAL
typeParameters: [] typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
receiverType: null receiverType: null
returnType: kotlin/Unit returnType: kotlin/Unit
symbolKind: ACCESSOR symbolKind: ACCESSOR
@@ -103,8 +107,13 @@ KtKotlinPropertySymbol:
returnType: kotlin/Int returnType: kotlin/Int
symbolKind: LOCAL symbolKind: LOCAL
typeParameters: [] typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
] ]
visibility: Public visibility: Public
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: org.jetbrains.kotlin.analysis.api.descriptors.symbols.psiBased.KtFe10PsiDefaultPropertySetterSymbol
deprecationStatus: null
symbolKind: TOP_LEVEL symbolKind: TOP_LEVEL
typeParameters: [] typeParameters: []
visibility: Public visibility: Public
@@ -25,8 +25,7 @@ KtKotlinPropertySymbol:
typeParameters: [] typeParameters: []
valueParameters: [] valueParameters: []
visibility: Public visibility: Public
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: public fun `<get-lazyProperty>`(): kotlin.Int defined in root package in file propertyWithDelegateAndAnnotations.kt[PropertyGetterDescriptorImpl@4e0346f] getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null deprecationStatus: null
hasBackingField: false hasBackingField: false
hasGetter: true hasGetter: true
@@ -20,6 +20,6 @@ KtNamedClassOrObjectSymbol:
KtTypeParameterSymbol(T) KtTypeParameterSymbol(T)
] ]
visibility: Public visibility: Public
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: deserialized class Lazy getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: org.jetbrains.kotlin.analysis.api.descriptors.symbols.descriptorBased.KtFe10DescNamedClassOrObjectSymbol
deprecationStatus: null deprecationStatus: null
@@ -10,6 +10,6 @@ KtEnumEntrySymbol:
returnType: kotlin/LazyThreadSafetyMode returnType: kotlin/LazyThreadSafetyMode
symbolKind: CLASS_MEMBER symbolKind: CLASS_MEMBER
typeParameters: [] typeParameters: []
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: enum entry SYNCHRONIZED getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: org.jetbrains.kotlin.analysis.api.descriptors.symbols.descriptorBased.KtFe10DescEnumEntrySymbol
deprecationStatus: null deprecationStatus: null
@@ -39,7 +39,7 @@ KtFunctionSymbol:
returnType: T returnType: T
symbolKind: LOCAL symbolKind: LOCAL
typeParameters: [] typeParameters: []
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: value-parameter element: T defined in kotlin.collections.listOf[ValueParameterDescriptorImpl@54766ab0] getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: org.jetbrains.kotlin.analysis.api.descriptors.symbols.descriptorBased.KtFe10DescValueParameterSymbol
deprecationStatus: null deprecationStatus: null
] ]
@@ -119,7 +119,7 @@ KtFunctionSymbol:
returnType: T returnType: T
symbolKind: LOCAL symbolKind: LOCAL
typeParameters: [] typeParameters: []
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: value-parameter vararg elements: T defined in kotlin.collections.listOf[ValueParameterDescriptorImpl@fc71ecb] getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: org.jetbrains.kotlin.analysis.api.descriptors.symbols.descriptorBased.KtFe10DescValueParameterSymbol
deprecationStatus: null deprecationStatus: null
] ]
@@ -20,6 +20,6 @@ KtNamedClassOrObjectSymbol:
KtTypeParameterSymbol(T) KtTypeParameterSymbol(T)
] ]
visibility: Public visibility: Public
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: deserialized class Iterator getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: org.jetbrains.kotlin.analysis.api.descriptors.symbols.descriptorBased.KtFe10DescNamedClassOrObjectSymbol
deprecationStatus: null deprecationStatus: null
@@ -18,6 +18,6 @@ KtNamedClassOrObjectSymbol:
symbolKind: TOP_LEVEL symbolKind: TOP_LEVEL
typeParameters: [] typeParameters: []
visibility: Public visibility: Public
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: deserialized class FileWalkDirection getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: org.jetbrains.kotlin.analysis.api.descriptors.symbols.descriptorBased.KtFe10DescNamedClassOrObjectSymbol
deprecationStatus: null deprecationStatus: null
@@ -37,7 +37,7 @@ KtFunctionSymbol:
returnType: kotlin/Int returnType: kotlin/Int
symbolKind: LOCAL symbolKind: LOCAL
typeParameters: [] typeParameters: []
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: value-parameter index: kotlin.Int defined in kotlin.collections.List.get[ValueParameterDescriptorImpl@7609158f] getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: org.jetbrains.kotlin.analysis.api.descriptors.symbols.descriptorBased.KtFe10DescValueParameterSymbol
deprecationStatus: null deprecationStatus: null
] ]
@@ -65,7 +65,7 @@ KtFunctionSymbol:
returnType: kotlin/Int returnType: kotlin/Int
symbolKind: LOCAL symbolKind: LOCAL
typeParameters: [] typeParameters: []
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: value-parameter index: kotlin.Int defined in kotlin.collections.List.listIterator[ValueParameterDescriptorImpl@30d92096] getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: org.jetbrains.kotlin.analysis.api.descriptors.symbols.descriptorBased.KtFe10DescValueParameterSymbol
deprecationStatus: null deprecationStatus: null
] ]
@@ -21,6 +21,6 @@ KtNamedClassOrObjectSymbol:
KtTypeParameterSymbol(V) KtTypeParameterSymbol(V)
] ]
visibility: Public visibility: Public
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: deserialized class MutableEntry getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: org.jetbrains.kotlin.analysis.api.descriptors.symbols.descriptorBased.KtFe10DescNamedClassOrObjectSymbol
deprecationStatus: null deprecationStatus: null
@@ -48,8 +48,7 @@ KtKotlinPropertySymbol:
valueParameters: [] valueParameters: []
visibility: Public visibility: Public
getDispatchReceiver(): <no name provided> getDispatchReceiver(): <no name provided>
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: public final fun `<get-data>`(): kotlin.Int defined in AnonymousContainer.anonymousObject.`<no name provided>`[PropertyGetterDescriptorImpl@424280a0] getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null deprecationStatus: null
hasBackingField: true hasBackingField: true
hasGetter: true hasGetter: true
@@ -117,8 +116,7 @@ KtKotlinPropertySymbol:
valueParameters: [] valueParameters: []
visibility: Public visibility: Public
getDispatchReceiver(): AnonymousContainer getDispatchReceiver(): AnonymousContainer
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: public final fun `<get-anonymousObject>`(): java.lang.Runnable defined in AnonymousContainer[PropertyGetterDescriptorImpl@413bc5ad] getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null deprecationStatus: null
hasBackingField: true hasBackingField: true
hasGetter: true hasGetter: true
@@ -0,0 +1,85 @@
KtKotlinPropertySymbol:
annotationsList: []
callableIdIfNonLocal: /A.i
contextReceivers: []
getter: KtPropertyGetterSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
hasBody: false
hasStableParameterNames: true
isDefault: true
isExtension: false
isInline: false
isOverride: false
modality: FINAL
origin: SOURCE
receiverType: null
returnType: kotlin/Int
symbolKind: ACCESSOR
typeParameters: []
valueParameters: []
visibility: Public
getDispatchReceiver(): A
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
hasBackingField: true
hasGetter: true
hasSetter: false
initializer: null
isConst: false
isDelegatedProperty: false
isExtension: false
isFromPrimaryConstructor: false
isLateInit: false
isOverride: false
isStatic: false
isVal: true
modality: FINAL
name: i
origin: SOURCE
receiverType: null
returnType: kotlin/Int
setter: null
symbolKind: CLASS_MEMBER
typeParameters: []
visibility: Public
getDispatchReceiver(): A
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
getterDeprecationStatus: null
javaGetterName: getI
javaSetterName: null
setterDeprecationStatus: null
KtClassInitializerSymbol:
annotationsList: []
origin: SOURCE
symbolKind: CLASS_MEMBER
typeParameters: []
getContainingModule: Could not render due to org.jetbrains.kotlin.utils.KotlinExceptionWithAttachments: Unexpected KtSymbol KtFe10PsiClassInitializerSymbol
deprecationStatus: null
KtNamedClassOrObjectSymbol:
annotationsList: []
classIdIfNonLocal: A
classKind: CLASS
companionObject: null
contextReceivers: []
isData: false
isExternal: false
isFun: false
isInline: false
isInner: false
modality: FINAL
name: A
origin: SOURCE
superTypes: [
kotlin/Any
]
symbolKind: TOP_LEVEL
typeParameters: []
visibility: Public
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
@@ -21,8 +21,7 @@ KtKotlinPropertySymbol:
valueParameters: [] valueParameters: []
visibility: Public visibility: Public
getDispatchReceiver(): A getDispatchReceiver(): A
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: public final fun `<get-i>`(): kotlin.Int defined in A[PropertyGetterDescriptorImpl@30470bde] getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null deprecationStatus: null
hasBackingField: true hasBackingField: true
hasGetter: true hasGetter: true
@@ -21,8 +21,7 @@ KtKotlinPropertySymbol:
valueParameters: [] valueParameters: []
visibility: Public visibility: Public
getDispatchReceiver(): A getDispatchReceiver(): A
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: public final fun `<get-a>`(): kotlin.Int defined in A[PropertyGetterDescriptorImpl@5e912708] getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null deprecationStatus: null
hasBackingField: true hasBackingField: true
hasGetter: true hasGetter: true
@@ -135,8 +135,7 @@ KtKotlinPropertySymbol:
valueParameters: [] valueParameters: []
visibility: Public visibility: Public
getDispatchReceiver(): Some getDispatchReceiver(): Some
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: public final fun `<get-delegate>`(): MyColor defined in Some[PropertyGetterDescriptorImpl@71709753] getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null deprecationStatus: null
hasBackingField: false hasBackingField: false
hasGetter: true hasGetter: true
@@ -205,8 +204,7 @@ KtKotlinPropertySymbol:
valueParameters: [] valueParameters: []
visibility: Public visibility: Public
getDispatchReceiver(): Some getDispatchReceiver(): Some
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: public final fun `<get-lambda>`(): kotlin.Lazy<MyColor> defined in Some[PropertyGetterDescriptorImpl@713cdbf7] getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null deprecationStatus: null
hasBackingField: true hasBackingField: true
hasGetter: true hasGetter: true
@@ -260,8 +258,7 @@ KtKotlinPropertySymbol:
valueParameters: [] valueParameters: []
visibility: Public visibility: Public
getDispatchReceiver(): Some getDispatchReceiver(): Some
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: public final fun `<get-nonLazy>`(): MyColor defined in Some[PropertyGetterDescriptorImpl@270a35d9] getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null deprecationStatus: null
hasBackingField: true hasBackingField: true
hasGetter: true hasGetter: true
@@ -23,6 +23,8 @@ KtKotlinPropertySymbol:
typeParameters: [] typeParameters: []
valueParameters: [] valueParameters: []
visibility: Public visibility: Public
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
hasBackingField: true hasBackingField: true
hasGetter: true hasGetter: true
hasSetter: false hasSetter: false
@@ -76,6 +78,8 @@ KtKotlinPropertySymbol:
typeParameters: [] typeParameters: []
valueParameters: [] valueParameters: []
visibility: Public visibility: Public
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
hasBackingField: true hasBackingField: true
hasGetter: true hasGetter: true
hasSetter: false hasSetter: false
@@ -126,6 +130,8 @@ KtKotlinPropertySymbol:
typeParameters: [] typeParameters: []
valueParameters: [] valueParameters: []
visibility: Public visibility: Public
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
hasBackingField: true hasBackingField: true
hasGetter: true hasGetter: true
hasSetter: true hasSetter: true
@@ -175,6 +181,8 @@ KtKotlinPropertySymbol:
returnType: kotlin/Int returnType: kotlin/Int
symbolKind: LOCAL symbolKind: LOCAL
typeParameters: [] typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
receiverType: null receiverType: null
returnType: kotlin/Unit returnType: kotlin/Unit
symbolKind: ACCESSOR symbolKind: ACCESSOR
@@ -197,8 +205,13 @@ KtKotlinPropertySymbol:
returnType: kotlin/Int returnType: kotlin/Int
symbolKind: LOCAL symbolKind: LOCAL
typeParameters: [] typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
] ]
visibility: Public visibility: Public
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: org.jetbrains.kotlin.analysis.api.descriptors.symbols.psiBased.KtFe10PsiDefaultPropertySetterSymbol
deprecationStatus: null
symbolKind: TOP_LEVEL symbolKind: TOP_LEVEL
typeParameters: [] typeParameters: []
visibility: Public visibility: Public
@@ -234,6 +247,8 @@ KtKotlinPropertySymbol:
typeParameters: [] typeParameters: []
valueParameters: [] valueParameters: []
visibility: Public visibility: Public
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
hasBackingField: true hasBackingField: true
hasGetter: true hasGetter: true
hasSetter: true hasSetter: true
@@ -283,6 +298,8 @@ KtKotlinPropertySymbol:
returnType: kotlin/Int returnType: kotlin/Int
symbolKind: LOCAL symbolKind: LOCAL
typeParameters: [] typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
receiverType: null receiverType: null
returnType: kotlin/Unit returnType: kotlin/Unit
symbolKind: ACCESSOR symbolKind: ACCESSOR
@@ -305,8 +322,13 @@ KtKotlinPropertySymbol:
returnType: kotlin/Int returnType: kotlin/Int
symbolKind: LOCAL symbolKind: LOCAL
typeParameters: [] typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
] ]
visibility: Public visibility: Public
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: org.jetbrains.kotlin.analysis.api.descriptors.symbols.psiBased.KtFe10PsiDefaultPropertySetterSymbol
deprecationStatus: null
symbolKind: TOP_LEVEL symbolKind: TOP_LEVEL
typeParameters: [] typeParameters: []
visibility: Public visibility: Public
@@ -397,6 +419,9 @@ KtKotlinPropertySymbol:
typeParameters: [] typeParameters: []
valueParameters: [] valueParameters: []
visibility: Public visibility: Public
getDispatchReceiver(): Foo
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
hasBackingField: true hasBackingField: true
hasGetter: true hasGetter: true
hasSetter: false hasSetter: false
@@ -504,6 +529,8 @@ KtKotlinPropertySymbol:
typeParameters: [] typeParameters: []
valueParameters: [] valueParameters: []
visibility: Public visibility: Public
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
hasBackingField: true hasBackingField: true
hasGetter: true hasGetter: true
hasSetter: false hasSetter: false
@@ -557,6 +584,8 @@ KtKotlinPropertySymbol:
typeParameters: [] typeParameters: []
valueParameters: [] valueParameters: []
visibility: Public visibility: Public
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
hasBackingField: true hasBackingField: true
hasGetter: true hasGetter: true
hasSetter: false hasSetter: false
@@ -607,6 +636,8 @@ KtKotlinPropertySymbol:
typeParameters: [] typeParameters: []
valueParameters: [] valueParameters: []
visibility: Public visibility: Public
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
hasBackingField: true hasBackingField: true
hasGetter: true hasGetter: true
hasSetter: false hasSetter: false
@@ -21,8 +21,7 @@ KtKotlinPropertySymbol:
valueParameters: [] valueParameters: []
visibility: Public visibility: Public
getDispatchReceiver(): Foo getDispatchReceiver(): Foo
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: public final fun `<get-p>`(): dynamic defined in Foo[PropertyGetterDescriptorImpl@6ee51d31] getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null deprecationStatus: null
hasBackingField: true hasBackingField: true
hasGetter: true hasGetter: true
@@ -128,8 +128,7 @@ KtKotlinPropertySymbol:
valueParameters: [] valueParameters: []
visibility: Public visibility: Public
getDispatchReceiver(): Style getDispatchReceiver(): Style
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: public abstract fun `<get-exitAnimation>`(): kotlin.String defined in Style[PropertyGetterDescriptorImpl@47e785cf] getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null deprecationStatus: null
hasBackingField: false hasBackingField: false
hasGetter: true hasGetter: true
@@ -20,6 +20,8 @@ KtKotlinPropertySymbol:
typeParameters: [] typeParameters: []
valueParameters: [] valueParameters: []
visibility: Public visibility: Public
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
hasBackingField: true hasBackingField: true
hasGetter: true hasGetter: true
hasSetter: true hasSetter: true
@@ -66,6 +68,8 @@ KtKotlinPropertySymbol:
returnType: kotlin/Long returnType: kotlin/Long
symbolKind: LOCAL symbolKind: LOCAL
typeParameters: [] typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
receiverType: null receiverType: null
returnType: kotlin/Unit returnType: kotlin/Unit
symbolKind: ACCESSOR symbolKind: ACCESSOR
@@ -88,8 +92,13 @@ KtKotlinPropertySymbol:
returnType: kotlin/Long returnType: kotlin/Long
symbolKind: LOCAL symbolKind: LOCAL
typeParameters: [] typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
] ]
visibility: Public visibility: Public
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: org.jetbrains.kotlin.analysis.api.descriptors.symbols.psiBased.KtFe10PsiDefaultPropertySetterSymbol
deprecationStatus: null
symbolKind: TOP_LEVEL symbolKind: TOP_LEVEL
typeParameters: [] typeParameters: []
visibility: Public visibility: Public
@@ -122,6 +131,8 @@ KtKotlinPropertySymbol:
typeParameters: [] typeParameters: []
valueParameters: [] valueParameters: []
visibility: Public visibility: Public
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
hasBackingField: true hasBackingField: true
hasGetter: true hasGetter: true
hasSetter: true hasSetter: true
@@ -168,6 +179,8 @@ KtKotlinPropertySymbol:
returnType: kotlin/Int returnType: kotlin/Int
symbolKind: LOCAL symbolKind: LOCAL
typeParameters: [] typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
receiverType: null receiverType: null
returnType: kotlin/Unit returnType: kotlin/Unit
symbolKind: ACCESSOR symbolKind: ACCESSOR
@@ -190,8 +203,13 @@ KtKotlinPropertySymbol:
returnType: kotlin/Int returnType: kotlin/Int
symbolKind: LOCAL symbolKind: LOCAL
typeParameters: [] typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
] ]
visibility: Public visibility: Public
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: org.jetbrains.kotlin.analysis.api.descriptors.symbols.psiBased.KtFe10PsiDefaultPropertySetterSymbol
deprecationStatus: null
symbolKind: TOP_LEVEL symbolKind: TOP_LEVEL
typeParameters: [] typeParameters: []
visibility: Public visibility: Public
@@ -23,6 +23,9 @@ KtKotlinPropertySymbol:
typeParameters: [] typeParameters: []
valueParameters: [] valueParameters: []
visibility: Public visibility: Public
getDispatchReceiver(): Foo
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
hasBackingField: true hasBackingField: true
hasGetter: true hasGetter: true
hasSetter: true hasSetter: true
@@ -72,6 +75,8 @@ KtKotlinPropertySymbol:
returnType: kotlin/Int returnType: kotlin/Int
symbolKind: LOCAL symbolKind: LOCAL
typeParameters: [] typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
receiverType: null receiverType: null
returnType: kotlin/Unit returnType: kotlin/Unit
symbolKind: ACCESSOR symbolKind: ACCESSOR
@@ -94,8 +99,13 @@ KtKotlinPropertySymbol:
returnType: kotlin/Int returnType: kotlin/Int
symbolKind: LOCAL symbolKind: LOCAL
typeParameters: [] typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
] ]
visibility: Public visibility: Public
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: org.jetbrains.kotlin.analysis.api.descriptors.symbols.psiBased.KtFe10PsiDefaultPropertySetterSymbol
deprecationStatus: null
symbolKind: CLASS_MEMBER symbolKind: CLASS_MEMBER
typeParameters: [] typeParameters: []
visibility: Public visibility: Public
@@ -132,6 +142,9 @@ KtKotlinPropertySymbol:
typeParameters: [] typeParameters: []
valueParameters: [] valueParameters: []
visibility: Public visibility: Public
getDispatchReceiver(): Foo
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
hasBackingField: false hasBackingField: false
hasGetter: true hasGetter: true
hasSetter: true hasSetter: true
@@ -181,6 +194,8 @@ KtKotlinPropertySymbol:
returnType: kotlin/Int returnType: kotlin/Int
symbolKind: LOCAL symbolKind: LOCAL
typeParameters: [] typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
receiverType: null receiverType: null
returnType: kotlin/Unit returnType: kotlin/Unit
symbolKind: ACCESSOR symbolKind: ACCESSOR
@@ -203,8 +218,13 @@ KtKotlinPropertySymbol:
returnType: kotlin/Int returnType: kotlin/Int
symbolKind: LOCAL symbolKind: LOCAL
typeParameters: [] typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
] ]
visibility: Public visibility: Public
getDispatchReceiver(): Foo
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
symbolKind: CLASS_MEMBER symbolKind: CLASS_MEMBER
typeParameters: [] typeParameters: []
visibility: Public visibility: Public
@@ -0,0 +1,130 @@
KtKotlinPropertySymbol:
annotationsList: []
callableIdIfNonLocal: /A.x
contextReceivers: []
getter: KtPropertyGetterSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
hasBody: false
hasStableParameterNames: true
isDefault: true
isExtension: false
isInline: false
isOverride: false
modality: FINAL
origin: SOURCE
receiverType: null
returnType: kotlin/Int
symbolKind: ACCESSOR
typeParameters: []
valueParameters: []
visibility: Public
getDispatchReceiver(): A
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
hasBackingField: true
hasGetter: true
hasSetter: false
initializer: KtConstantInitializerValue(10)
isConst: false
isDelegatedProperty: false
isExtension: false
isFromPrimaryConstructor: false
isLateInit: false
isOverride: false
isStatic: false
isVal: true
modality: FINAL
name: x
origin: SOURCE
receiverType: null
returnType: kotlin/Int
setter: null
symbolKind: CLASS_MEMBER
typeParameters: []
visibility: Public
getDispatchReceiver(): A
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
getterDeprecationStatus: null
javaGetterName: getX
javaSetterName: null
setterDeprecationStatus: null
KtKotlinPropertySymbol:
annotationsList: []
callableIdIfNonLocal: /A.y
contextReceivers: []
getter: KtPropertyGetterSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
hasBody: true
hasStableParameterNames: true
isDefault: false
isExtension: false
isInline: false
isOverride: false
modality: FINAL
origin: SOURCE
receiverType: kotlin/Int
returnType: kotlin/Int
symbolKind: ACCESSOR
typeParameters: []
valueParameters: []
visibility: Public
getDispatchReceiver(): A
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
hasBackingField: false
hasGetter: true
hasSetter: false
initializer: null
isConst: false
isDelegatedProperty: false
isExtension: true
isFromPrimaryConstructor: false
isLateInit: false
isOverride: false
isStatic: false
isVal: true
modality: FINAL
name: y
origin: SOURCE
receiverType: kotlin/Int
returnType: kotlin/Int
setter: null
symbolKind: CLASS_MEMBER
typeParameters: []
visibility: Public
getDispatchReceiver(): A
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
getterDeprecationStatus: null
javaGetterName: getY
javaSetterName: null
setterDeprecationStatus: null
KtNamedClassOrObjectSymbol:
annotationsList: []
classIdIfNonLocal: A
classKind: CLASS
companionObject: null
contextReceivers: []
isData: false
isExternal: false
isFun: false
isInline: false
isInner: false
modality: FINAL
name: A
origin: SOURCE
superTypes: [
kotlin/Any
]
symbolKind: TOP_LEVEL
typeParameters: []
visibility: Public
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
@@ -21,8 +21,7 @@ KtKotlinPropertySymbol:
valueParameters: [] valueParameters: []
visibility: Public visibility: Public
getDispatchReceiver(): A getDispatchReceiver(): A
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: public final fun `<get-x>`(): kotlin.Int defined in A[PropertyGetterDescriptorImpl@6819c9f0] getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null deprecationStatus: null
hasBackingField: true hasBackingField: true
hasGetter: true hasGetter: true
@@ -75,7 +74,6 @@ KtKotlinPropertySymbol:
typeParameters: [] typeParameters: []
valueParameters: [] valueParameters: []
visibility: Public visibility: Public
getDispatchReceiver(): A
getContainingModule: KtSourceModule "Sources of main" getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null deprecationStatus: null
hasBackingField: false hasBackingField: false
@@ -20,8 +20,7 @@ KtKotlinPropertySymbol:
typeParameters: [] typeParameters: []
valueParameters: [] valueParameters: []
visibility: Public visibility: Public
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: public fun `<get-x>`(): kotlin.Int defined in root package in file topLevelProperties.kt[PropertyGetterDescriptorImpl@338f4432] getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null deprecationStatus: null
hasBackingField: true hasBackingField: true
hasGetter: true hasGetter: true
@@ -1,15 +0,0 @@
KtBackingFieldSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
isExtension: false
name: field
origin: PROPERTY_BACKING_FIELD
owningProperty: KtKotlinPropertySymbol(/x)
receiverType: null
returnType: kotlin/Int
symbolKind: LOCAL
typeParameters: []
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: var field: kotlin.Int defined in `<get-x>`[SyntheticFieldDescriptor@660c5189]
deprecationStatus: null
@@ -28,7 +28,7 @@ KtSamConstructorSymbol:
returnType: kotlin/Function0<kotlin/Unit> returnType: kotlin/Function0<kotlin/Unit>
symbolKind: LOCAL symbolKind: LOCAL
typeParameters: [] typeParameters: []
getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: value-parameter function: () -> kotlin.Unit defined in java.lang.Runnable[ValueParameterDescriptorImpl@4dcd7cfa] getContainingModule: Could not render due to kotlin.NotImplementedError: An operation is not implemented: org.jetbrains.kotlin.analysis.api.descriptors.symbols.descriptorBased.KtFe10DescValueParameterSymbol
deprecationStatus: null deprecationStatus: null
] ]