AA/LC: Support annotation property->backing field move

#KT-57462 Fixed
This commit is contained in:
Mikhail Glukhikh
2023-03-24 13:32:02 +01:00
committed by Space Team
parent f6bf7560a6
commit 1f05ce2e01
119 changed files with 551 additions and 292 deletions
@@ -0,0 +1,46 @@
/*
* Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.analysis.api.descriptors.symbols.descriptorBased
import org.jetbrains.kotlin.analysis.api.KtAnalysisSession
import org.jetbrains.kotlin.analysis.api.annotations.KtAnnotationsList
import org.jetbrains.kotlin.analysis.api.descriptors.Fe10AnalysisContext
import org.jetbrains.kotlin.analysis.api.descriptors.annotations.KtFe10AnnotationsList
import org.jetbrains.kotlin.analysis.api.descriptors.symbols.pointers.KtFe10NeverRestoringSymbolPointer
import org.jetbrains.kotlin.analysis.api.descriptors.symbols.pointers.KtFe10PsiDefaultBackingFieldSymbolPointer
import org.jetbrains.kotlin.analysis.api.lifetime.KtLifetimeToken
import org.jetbrains.kotlin.analysis.api.lifetime.withValidityAssertion
import org.jetbrains.kotlin.analysis.api.symbols.KtBackingFieldSymbol
import org.jetbrains.kotlin.analysis.api.symbols.KtKotlinPropertySymbol
import org.jetbrains.kotlin.analysis.api.symbols.KtPropertySymbol
import org.jetbrains.kotlin.analysis.api.symbols.pointers.KtPsiBasedSymbolPointer
import org.jetbrains.kotlin.analysis.api.symbols.pointers.KtSymbolPointer
import org.jetbrains.kotlin.analysis.api.types.KtType
import org.jetbrains.kotlin.descriptors.FieldDescriptor
import org.jetbrains.kotlin.descriptors.annotations.Annotations
internal class KtFe10DescDefaultBackingFieldSymbol(
private val fieldDescriptor: FieldDescriptor?,
override val owningProperty: KtKotlinPropertySymbol,
val analysisContext: Fe10AnalysisContext
) : KtBackingFieldSymbol() {
context(KtAnalysisSession) override fun createPointer(): KtSymbolPointer<KtBackingFieldSymbol> = withValidityAssertion {
KtPsiBasedSymbolPointer.createForSymbolFromSource<KtPropertySymbol>(owningProperty)
?.let { KtFe10PsiDefaultBackingFieldSymbolPointer(it) }
?: KtFe10NeverRestoringSymbolPointer()
}
override val returnType: KtType
get() = withValidityAssertion { owningProperty.returnType }
override val token: KtLifetimeToken
get() = owningProperty.token
override val annotationsList: KtAnnotationsList
get() = withValidityAssertion {
KtFe10AnnotationsList.create(fieldDescriptor?.annotations ?: Annotations.EMPTY, analysisContext)
}
}
@@ -20,6 +20,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.symbols.pointers.KtSymbolPointer
import org.jetbrains.kotlin.analysis.api.types.KtType import org.jetbrains.kotlin.analysis.api.types.KtType
import org.jetbrains.kotlin.descriptors.ConstructorDescriptor import org.jetbrains.kotlin.descriptors.ConstructorDescriptor
import org.jetbrains.kotlin.descriptors.FunctionDescriptor
import org.jetbrains.kotlin.descriptors.impl.PropertyDescriptorImpl import org.jetbrains.kotlin.descriptors.impl.PropertyDescriptorImpl
import org.jetbrains.kotlin.name.CallableId import org.jetbrains.kotlin.name.CallableId
import org.jetbrains.kotlin.name.Name import org.jetbrains.kotlin.name.Name
@@ -87,6 +88,12 @@ internal class KtFe10DescKotlinPropertySymbol(
return KtFe10DescPropertySetterSymbol(setter, analysisContext) return KtFe10DescPropertySetterSymbol(setter, analysisContext)
} }
override val backingFieldSymbol: KtBackingFieldSymbol?
get() = withValidityAssertion {
if (descriptor.containingDeclaration is FunctionDescriptor) null
else KtFe10DescDefaultBackingFieldSymbol(descriptor.backingField, this, analysisContext)
}
override val returnType: KtType override val returnType: KtType
get() = withValidityAssertion { descriptor.type.toKtType(analysisContext) } get() = withValidityAssertion { descriptor.type.toKtType(analysisContext) }
@@ -46,7 +46,7 @@ internal class KtFe10DescSyntheticFieldSymbol(
get() = withValidityAssertion { descriptor.propertyDescriptor.type.toKtType(analysisContext) } get() = withValidityAssertion { descriptor.propertyDescriptor.type.toKtType(analysisContext) }
context(KtAnalysisSession) context(KtAnalysisSession)
override fun createPointer(): KtSymbolPointer<KtVariableLikeSymbol> = withValidityAssertion { override fun createPointer(): KtSymbolPointer<KtBackingFieldSymbol> = withValidityAssertion {
val accessorPsi = descriptor.containingDeclaration.toSourceElement.getPsi() val accessorPsi = descriptor.containingDeclaration.toSourceElement.getPsi()
if (accessorPsi is KtPropertyAccessor) { if (accessorPsi is KtPropertyAccessor) {
val accessorPointer = KtPsiBasedSymbolPointer.createForSymbolFromPsi<KtPropertyAccessorSymbol>(accessorPsi) val accessorPointer = KtPsiBasedSymbolPointer.createForSymbolFromPsi<KtPropertyAccessorSymbol>(accessorPsi)
@@ -75,6 +75,9 @@ internal class KtFe10DescSyntheticJavaPropertySymbol(
KtFe10DescPropertySetterSymbol(setter, analysisContext) KtFe10DescPropertySetterSymbol(setter, analysisContext)
} }
override val backingFieldSymbol: KtBackingFieldSymbol?
get() = withValidityAssertion { null }
override val initializer: KtInitializerValue? override val initializer: KtInitializerValue?
get() = withValidityAssertion { createKtInitializerValue(source as? KtProperty, descriptor, analysisContext) } get() = withValidityAssertion { createKtInitializerValue(source as? KtProperty, descriptor, analysisContext) }
@@ -75,6 +75,9 @@ internal class KtFe10DescSyntheticJavaPropertySymbolForOverride(
KtFe10DescPropertySetterSymbol(setter, analysisContext) KtFe10DescPropertySetterSymbol(setter, analysisContext)
} }
override val backingFieldSymbol: KtBackingFieldSymbol?
get() = withValidityAssertion { null }
override val initializer: KtInitializerValue? override val initializer: KtInitializerValue?
get() = withValidityAssertion { createKtInitializerValue(source as? KtProperty, descriptor, analysisContext) } get() = withValidityAssertion { createKtInitializerValue(source as? KtProperty, descriptor, analysisContext) }
@@ -0,0 +1,27 @@
/*
* Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.analysis.api.descriptors.symbols.pointers
import org.jetbrains.kotlin.analysis.api.KtAnalysisSession
import org.jetbrains.kotlin.analysis.api.symbols.KtBackingFieldSymbol
import org.jetbrains.kotlin.analysis.api.symbols.KtPropertySymbol
import org.jetbrains.kotlin.analysis.api.symbols.KtSymbol
import org.jetbrains.kotlin.analysis.api.symbols.pointers.KtPsiBasedSymbolPointer
import org.jetbrains.kotlin.analysis.api.symbols.pointers.KtSymbolPointer
internal class KtFe10PsiDefaultBackingFieldSymbolPointer(
private val propertySymbolPointer: KtPsiBasedSymbolPointer<KtPropertySymbol>,
) : KtSymbolPointer<KtBackingFieldSymbol>() {
@Deprecated("Consider using org.jetbrains.kotlin.analysis.api.KtAnalysisSession.restoreSymbol")
override fun restoreSymbol(analysisSession: KtAnalysisSession): KtBackingFieldSymbol? {
val property = with(analysisSession) { propertySymbolPointer.restoreSymbol() }
return property?.backingFieldSymbol
}
override fun pointsToTheSameSymbolAs(other: KtSymbolPointer<KtSymbol>): Boolean = this === other ||
other is KtFe10PsiDefaultBackingFieldSymbolPointer &&
other.propertySymbolPointer.pointsToTheSameSymbolAs(propertySymbolPointer)
}
@@ -0,0 +1,58 @@
/*
* Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.analysis.api.descriptors.symbols.psiBased
import org.jetbrains.kotlin.analysis.api.KtAnalysisSession
import org.jetbrains.kotlin.analysis.api.annotations.KtAnnotationsList
import org.jetbrains.kotlin.analysis.api.descriptors.Fe10AnalysisContext
import org.jetbrains.kotlin.analysis.api.descriptors.Fe10AnalysisFacade
import org.jetbrains.kotlin.analysis.api.descriptors.annotations.KtFe10AnnotationsList
import org.jetbrains.kotlin.analysis.api.descriptors.symbols.pointers.KtFe10NeverRestoringSymbolPointer
import org.jetbrains.kotlin.analysis.api.descriptors.symbols.pointers.KtFe10PsiDefaultBackingFieldSymbolPointer
import org.jetbrains.kotlin.analysis.api.descriptors.utils.cached
import org.jetbrains.kotlin.analysis.api.lifetime.KtLifetimeToken
import org.jetbrains.kotlin.analysis.api.lifetime.withValidityAssertion
import org.jetbrains.kotlin.analysis.api.symbols.KtBackingFieldSymbol
import org.jetbrains.kotlin.analysis.api.symbols.KtKotlinPropertySymbol
import org.jetbrains.kotlin.analysis.api.symbols.KtPropertySymbol
import org.jetbrains.kotlin.analysis.api.symbols.pointers.KtPsiBasedSymbolPointer
import org.jetbrains.kotlin.analysis.api.symbols.pointers.KtSymbolPointer
import org.jetbrains.kotlin.analysis.api.types.KtType
import org.jetbrains.kotlin.descriptors.FieldDescriptor
import org.jetbrains.kotlin.descriptors.PropertyDescriptor
import org.jetbrains.kotlin.descriptors.PropertyGetterDescriptor
import org.jetbrains.kotlin.descriptors.annotations.Annotations
import org.jetbrains.kotlin.psi.KtProperty
import org.jetbrains.kotlin.resolve.BindingContext
internal class KtFe10PsiDefaultBackingFieldSymbol(
private val propertyPsi: KtProperty,
override val owningProperty: KtKotlinPropertySymbol,
val analysisContext: Fe10AnalysisContext
) : KtBackingFieldSymbol() {
val descriptor: FieldDescriptor? by cached {
val bindingContext = analysisContext.analyze(propertyPsi, Fe10AnalysisFacade.AnalysisMode.PARTIAL)
(bindingContext[BindingContext.VARIABLE, propertyPsi] as? PropertyDescriptor)?.backingField
}
context(KtAnalysisSession)
override fun createPointer(): KtSymbolPointer<KtBackingFieldSymbol> = withValidityAssertion {
KtPsiBasedSymbolPointer.createForSymbolFromPsi<KtPropertySymbol>(propertyPsi)
?.let(::KtFe10PsiDefaultBackingFieldSymbolPointer)
?: KtFe10NeverRestoringSymbolPointer()
}
override val returnType: KtType
get() = withValidityAssertion { owningProperty.returnType }
override val token: KtLifetimeToken
get() = owningProperty.token
override val annotationsList: KtAnnotationsList
get() = withValidityAssertion {
KtFe10AnnotationsList.create(descriptor?.annotations ?: Annotations.EMPTY, analysisContext)
}
}
@@ -70,6 +70,12 @@ internal class KtFe10PsiKotlinPropertySymbol(
return KtFe10PsiPropertySetterSymbol(setter, analysisContext) return KtFe10PsiPropertySetterSymbol(setter, analysisContext)
} }
override val backingFieldSymbol: KtBackingFieldSymbol?
get() = withValidityAssertion {
if (psi.isLocal) null
else KtFe10PsiDefaultBackingFieldSymbol(propertyPsi = psi, owningProperty = this, analysisContext)
}
override val hasBackingField: Boolean override val hasBackingField: Boolean
get() = withValidityAssertion { get() = withValidityAssertion {
val bindingContext = analysisContext.analyze(psi, AnalysisMode.PARTIAL) val bindingContext = analysisContext.analyze(psi, AnalysisMode.PARTIAL)
@@ -143,3 +149,4 @@ internal class KtFe10PsiKotlinPropertySymbol(
override fun equals(other: Any?): Boolean = isEqualTo(other) override fun equals(other: Any?): Boolean = isEqualTo(other)
override fun hashCode(): Int = calculateHashCode() override fun hashCode(): Int = calculateHashCode()
} }
@@ -402,6 +402,12 @@ internal class KtSymbolByFirBuilder constructor(
} }
} }
fun buildBackingFieldSymbol(firSymbol: FirBackingFieldSymbol): KtFirBackingFieldSymbol {
return symbolsCache.cache(firSymbol) {
KtFirBackingFieldSymbol(firSymbol, analysisSession)
}
}
fun buildExtensionReceiverSymbol(firCallableSymbol: FirCallableSymbol<*>): KtReceiverParameterSymbol? { fun buildExtensionReceiverSymbol(firCallableSymbol: FirCallableSymbol<*>): KtReceiverParameterSymbol? {
if (firCallableSymbol.fir.receiverParameter == null) return null if (firCallableSymbol.fir.receiverParameter == null) return null
return KtFirReceiverParameterSymbol(firCallableSymbol, analysisSession) return KtFirReceiverParameterSymbol(firCallableSymbol, analysisSession)
@@ -14,6 +14,7 @@ import org.jetbrains.kotlin.analysis.api.lifetime.KtLifetimeToken
import org.jetbrains.kotlin.analysis.api.lifetime.withValidityAssertion import org.jetbrains.kotlin.analysis.api.lifetime.withValidityAssertion
import org.jetbrains.kotlin.fir.FirSession import org.jetbrains.kotlin.fir.FirSession
import org.jetbrains.kotlin.fir.symbols.FirBasedSymbol import org.jetbrains.kotlin.fir.symbols.FirBasedSymbol
import org.jetbrains.kotlin.fir.symbols.impl.FirBackingFieldSymbol
import org.jetbrains.kotlin.name.ClassId import org.jetbrains.kotlin.name.ClassId
internal class KtFirAnnotationListForDeclaration private constructor( internal class KtFirAnnotationListForDeclaration private constructor(
@@ -53,10 +54,13 @@ internal class KtFirAnnotationListForDeclaration private constructor(
useSiteSession: FirSession, useSiteSession: FirSession,
token: KtLifetimeToken, token: KtLifetimeToken,
): KtAnnotationsList { ): KtAnnotationsList {
return if (firSymbol.annotations.isEmpty()) { return when {
KtEmptyAnnotationsList(token) firSymbol is FirBackingFieldSymbol && firSymbol.propertySymbol.annotations.any { it.useSiteTarget == null } ->
} else { KtFirAnnotationListForDeclaration(firSymbol, useSiteSession, token)
KtFirAnnotationListForDeclaration(firSymbol, useSiteSession, token) firSymbol.annotations.isEmpty() ->
KtEmptyAnnotationsList(token)
else ->
KtFirAnnotationListForDeclaration(firSymbol, useSiteSession, token)
} }
} }
} }
@@ -18,8 +18,8 @@ import org.jetbrains.kotlin.fir.FirSession
import org.jetbrains.kotlin.fir.declarations.FirResolvePhase import org.jetbrains.kotlin.fir.declarations.FirResolvePhase
import org.jetbrains.kotlin.fir.declarations.toAnnotationClassId import org.jetbrains.kotlin.fir.declarations.toAnnotationClassId
import org.jetbrains.kotlin.fir.expressions.FirAnnotation import org.jetbrains.kotlin.fir.expressions.FirAnnotation
import org.jetbrains.kotlin.fir.symbols.resolvedAnnotationsWithArguments import org.jetbrains.kotlin.fir.symbols.resolveAnnotationsWithArguments
import org.jetbrains.kotlin.fir.symbols.resolvedAnnotationsWithClassIds import org.jetbrains.kotlin.fir.symbols.resolveAnnotationsWithClassIds
import org.jetbrains.kotlin.fir.types.ConeKotlinType import org.jetbrains.kotlin.fir.types.ConeKotlinType
import org.jetbrains.kotlin.fir.types.custom import org.jetbrains.kotlin.fir.types.custom
import org.jetbrains.kotlin.fir.types.customAnnotations import org.jetbrains.kotlin.fir.types.customAnnotations
@@ -89,8 +89,8 @@ private fun ConeKotlinType.customAnnotationsWithLazyResolve(phase: FirResolvePha
for (containerSymbol in custom.containerSymbols) { for (containerSymbol in custom.containerSymbols) {
when (phase) { when (phase) {
FirResolvePhase.TYPES -> annotations.resolvedAnnotationsWithClassIds(containerSymbol) FirResolvePhase.TYPES -> resolveAnnotationsWithClassIds(containerSymbol)
FirResolvePhase.ANNOTATIONS_ARGUMENTS_MAPPING -> annotations.resolvedAnnotationsWithArguments(containerSymbol) FirResolvePhase.ANNOTATIONS_ARGUMENTS_MAPPING -> annotations.resolveAnnotationsWithArguments(containerSymbol)
else -> {} else -> {}
} }
} }
@@ -33,7 +33,7 @@ internal class KtFirSymbolInfoProvider(
private val apiVersion = analysisSession.useSiteSession.languageVersionSettings.apiVersion private val apiVersion = analysisSession.useSiteSession.languageVersionSettings.apiVersion
override fun getDeprecation(symbol: KtSymbol): DeprecationInfo? { override fun getDeprecation(symbol: KtSymbol): DeprecationInfo? {
if (symbol is KtFirBackingFieldSymbol || symbol is KtFirPackageSymbol || symbol is KtReceiverParameterSymbol) return null if (symbol is KtFirPackageSymbol || symbol is KtReceiverParameterSymbol) return null
require(symbol is KtFirSymbol<*>) { "${this::class}" } require(symbol is KtFirSymbol<*>) { "${this::class}" }
// Optimization: Avoid building `firSymbol` of `KtFirPsiJavaClassSymbol` if it definitely isn't deprecated. // Optimization: Avoid building `firSymbol` of `KtFirPsiJavaClassSymbol` if it definitely isn't deprecated.
@@ -44,6 +44,7 @@ internal class KtFirSymbolInfoProvider(
return when (val firSymbol = symbol.firSymbol) { return when (val firSymbol = symbol.firSymbol) {
is FirPropertySymbol -> { is FirPropertySymbol -> {
firSymbol.getDeprecationForCallSite(apiVersion, AnnotationUseSiteTarget.PROPERTY) firSymbol.getDeprecationForCallSite(apiVersion, AnnotationUseSiteTarget.PROPERTY)
?: firSymbol.backingFieldSymbol?.getDeprecationForCallSite(apiVersion, AnnotationUseSiteTarget.FIELD)
} }
else -> { else -> {
firSymbol.getDeprecationForCallSite(apiVersion) firSymbol.getDeprecationForCallSite(apiVersion)
@@ -115,7 +116,9 @@ internal class KtFirSymbolInfoProvider(
} }
private fun getJvmName(property: FirProperty, isSetter: Boolean): Name { private fun getJvmName(property: FirProperty, isSetter: Boolean): Name {
if (property.hasAnnotation(StandardClassIds.Annotations.JvmField, analysisSession.useSiteSession)) return property.name if (property.backingField?.symbol?.hasAnnotation(StandardClassIds.Annotations.JvmField, analysisSession.useSiteSession) == true) {
return property.name
}
return Name.identifier(getJvmNameAsString(property, isSetter)) return Name.identifier(getJvmNameAsString(property, isSetter))
} }
@@ -11,12 +11,10 @@ import org.jetbrains.kotlin.analysis.api.KtAnalysisSession
import org.jetbrains.kotlin.analysis.api.KtInitializerValue import org.jetbrains.kotlin.analysis.api.KtInitializerValue
import org.jetbrains.kotlin.analysis.api.base.KtContextReceiver import org.jetbrains.kotlin.analysis.api.base.KtContextReceiver
import org.jetbrains.kotlin.analysis.api.fir.KtFirAnalysisSession import org.jetbrains.kotlin.analysis.api.fir.KtFirAnalysisSession
import org.jetbrains.kotlin.analysis.api.fir.KtSymbolByFirBuilder
import org.jetbrains.kotlin.analysis.api.fir.annotations.KtFirAnnotationListForDeclaration import org.jetbrains.kotlin.analysis.api.fir.annotations.KtFirAnnotationListForDeclaration
import org.jetbrains.kotlin.analysis.api.fir.findPsi import org.jetbrains.kotlin.analysis.api.fir.findPsi
import org.jetbrains.kotlin.analysis.api.fir.symbols.pointers.* import org.jetbrains.kotlin.analysis.api.fir.symbols.pointers.*
import org.jetbrains.kotlin.analysis.api.fir.utils.cached import org.jetbrains.kotlin.analysis.api.fir.utils.cached
import org.jetbrains.kotlin.analysis.api.lifetime.KtLifetimeToken
import org.jetbrains.kotlin.analysis.api.lifetime.withValidityAssertion import org.jetbrains.kotlin.analysis.api.lifetime.withValidityAssertion
import org.jetbrains.kotlin.analysis.api.symbols.* import org.jetbrains.kotlin.analysis.api.symbols.*
import org.jetbrains.kotlin.analysis.api.symbols.markers.KtSymbolKind import org.jetbrains.kotlin.analysis.api.symbols.markers.KtSymbolKind
@@ -24,7 +22,6 @@ import org.jetbrains.kotlin.analysis.api.symbols.pointers.KtPsiBasedSymbolPointe
import org.jetbrains.kotlin.analysis.api.symbols.pointers.KtSymbolPointer import org.jetbrains.kotlin.analysis.api.symbols.pointers.KtSymbolPointer
import org.jetbrains.kotlin.analysis.api.symbols.pointers.UnsupportedSymbolKind import org.jetbrains.kotlin.analysis.api.symbols.pointers.UnsupportedSymbolKind
import org.jetbrains.kotlin.analysis.api.types.KtType import org.jetbrains.kotlin.analysis.api.types.KtType
import org.jetbrains.kotlin.analysis.low.level.api.fir.api.LLFirResolveSession
import org.jetbrains.kotlin.descriptors.Modality import org.jetbrains.kotlin.descriptors.Modality
import org.jetbrains.kotlin.descriptors.Visibility import org.jetbrains.kotlin.descriptors.Visibility
import org.jetbrains.kotlin.fir.containingClassLookupTag import org.jetbrains.kotlin.fir.containingClassLookupTag
@@ -97,6 +94,10 @@ internal class KtFirKotlinPropertySymbol(
get() = withValidityAssertion { get() = withValidityAssertion {
firSymbol.setterSymbol?.let { builder.callableBuilder.buildPropertyAccessorSymbol(it) } as? KtPropertySetterSymbol firSymbol.setterSymbol?.let { builder.callableBuilder.buildPropertyAccessorSymbol(it) } as? KtPropertySetterSymbol
} }
override val backingFieldSymbol: KtBackingFieldSymbol?
get() = withValidityAssertion {
firSymbol.backingFieldSymbol?.let { builder.callableBuilder.buildBackingFieldSymbol(it) }
}
// NB: `field` in accessors indicates the property should have a backing field. To see that, though, we need BODY_RESOLVE. // NB: `field` in accessors indicates the property should have a backing field. To see that, though, we need BODY_RESOLVE.
override val hasBackingField: Boolean override val hasBackingField: Boolean
@@ -84,6 +84,9 @@ internal class KtFirSyntheticJavaPropertySymbol(
firSymbol.setterSymbol?.let { builder.callableBuilder.buildPropertyAccessorSymbol(it) } as? KtPropertySetterSymbol firSymbol.setterSymbol?.let { builder.callableBuilder.buildPropertyAccessorSymbol(it) } as? KtPropertySetterSymbol
} }
override val backingFieldSymbol: KtBackingFieldSymbol?
get() = null
override val isFromPrimaryConstructor: Boolean get() = withValidityAssertion { false } override val isFromPrimaryConstructor: Boolean get() = withValidityAssertion { false }
override val isOverride: Boolean get() = withValidityAssertion { firSymbol.isOverride } override val isOverride: Boolean get() = withValidityAssertion { firSymbol.isOverride }
override val isStatic: Boolean get() = withValidityAssertion { firSymbol.isStatic } override val isStatic: Boolean get() = withValidityAssertion { firSymbol.isStatic }
@@ -9,6 +9,7 @@ import org.jetbrains.kotlin.analysis.api.KtAnalysisSession
import org.jetbrains.kotlin.analysis.api.annotations.KtAnnotated import org.jetbrains.kotlin.analysis.api.annotations.KtAnnotated
import org.jetbrains.kotlin.analysis.api.base.KtContextReceiversOwner import org.jetbrains.kotlin.analysis.api.base.KtContextReceiversOwner
import org.jetbrains.kotlin.analysis.api.symbols.KtDeclarationSymbol import org.jetbrains.kotlin.analysis.api.symbols.KtDeclarationSymbol
import org.jetbrains.kotlin.analysis.api.symbols.KtPropertySymbol
import org.jetbrains.kotlin.analysis.utils.printer.PrettyPrinter import org.jetbrains.kotlin.analysis.utils.printer.PrettyPrinter
import org.jetbrains.kotlin.lexer.KtKeywordToken import org.jetbrains.kotlin.lexer.KtKeywordToken
@@ -30,14 +31,20 @@ public fun <S> renderAnnotationsModifiersAndContextReceivers(
renderContextReceivers(symbol, printer) renderContextReceivers(symbol, printer)
val annotationsRendered: Boolean val annotationsRendered: Boolean
val fieldAnnotationsRendered: Boolean
val modifiersRendered: Boolean val modifiersRendered: Boolean
codeStyle.getSeparatorBetweenAnnotationAndOwner(symbol).separated( codeStyle.getSeparatorBetweenAnnotationAndOwner(symbol).separated(
{ annotationsRendered = checkIfPrinted { annotationRenderer.renderAnnotations(symbol, printer) } }, { annotationsRendered = checkIfPrinted { annotationRenderer.renderAnnotations(symbol, printer) } },
{
fieldAnnotationsRendered = checkIfPrinted {
if (symbol is KtPropertySymbol) symbol.backingFieldSymbol?.let { annotationRenderer.renderAnnotations(it, printer) }
}
},
{ modifiersRendered = checkIfPrinted { modifiersRenderer.renderDeclarationModifiers(symbol, printer) } } { modifiersRendered = checkIfPrinted { modifiersRenderer.renderDeclarationModifiers(symbol, printer) } }
) )
val separator = when { val separator = when {
annotationsRendered && !modifiersRendered -> codeStyle.getSeparatorBetweenAnnotationAndOwner(symbol) (annotationsRendered || fieldAnnotationsRendered) && !modifiersRendered -> codeStyle.getSeparatorBetweenAnnotationAndOwner(symbol)
annotationsRendered || modifiersRendered -> codeStyle.getSeparatorBetweenModifiers() annotationsRendered || fieldAnnotationsRendered || modifiersRendered -> codeStyle.getSeparatorBetweenModifiers()
else -> "" else -> ""
} }
@@ -54,6 +61,7 @@ public fun <S> renderAnnotationsModifiersAndContextReceivers(
renderContextReceivers(symbol, printer) renderContextReceivers(symbol, printer)
codeStyle.getSeparatorBetweenAnnotationAndOwner(symbol).separated( codeStyle.getSeparatorBetweenAnnotationAndOwner(symbol).separated(
{ annotationRenderer.renderAnnotations(symbol, printer) }, { annotationRenderer.renderAnnotations(symbol, printer) },
{ if (symbol is KtPropertySymbol) symbol.backingFieldSymbol?.let { annotationRenderer.renderAnnotations(it, printer) } },
{ modifiersRenderer.renderDeclarationModifiers(symbol, printer) } { modifiersRenderer.renderDeclarationModifiers(symbol, printer) }
) )
} }
@@ -187,6 +187,13 @@ public class DebugSymbolRenderer(
else -> error("Unsupported symbol ${symbol::class.java.name}") else -> error("Unsupported symbol ${symbol::class.java.name}")
} }
append(")") append(")")
if (symbol is KtBackingFieldSymbol && symbol.annotationsList.annotations.isNotEmpty()) {
appendLine()
withIndent {
append("annotationsList: ")
renderAnnotationsList(symbol.annotationsList)
}
}
} }
context(KtAnalysisSession) context(KtAnalysisSession)
@@ -52,7 +52,7 @@ public abstract class KtBackingFieldSymbol : KtVariableLikeSymbol() {
get() = withValidityAssertion { emptyList() } get() = withValidityAssertion { emptyList() }
context(KtAnalysisSession) context(KtAnalysisSession)
abstract override fun createPointer(): KtSymbolPointer<KtVariableLikeSymbol> abstract override fun createPointer(): KtSymbolPointer<KtBackingFieldSymbol>
public companion object { public companion object {
private val fieldName = StandardNames.BACKING_FIELD private val fieldName = StandardNames.BACKING_FIELD
@@ -114,6 +114,7 @@ public sealed class KtPropertySymbol : KtVariableSymbol(),
public abstract val getter: KtPropertyGetterSymbol? public abstract val getter: KtPropertyGetterSymbol?
public abstract val setter: KtPropertySetterSymbol? public abstract val setter: KtPropertySetterSymbol?
public abstract val backingFieldSymbol: KtBackingFieldSymbol?
public abstract val hasBackingField: Boolean public abstract val hasBackingField: Boolean
@@ -1,3 +0,0 @@
KtDeclaration: KtProperty foo
annotations: [
]
@@ -1,5 +1,3 @@
KtDeclaration: KtProperty foo KtDeclaration: KtProperty foo
annotations: [ annotations: [
JavaAnno(types = java.lang.annotation.ElementType.FIELD)
psi: KtAnnotationEntry
] ]
@@ -1,3 +0,0 @@
KtDeclaration: KtProperty foo
annotations: [
]
@@ -1,21 +1,3 @@
KtDeclaration: KtProperty foo KtDeclaration: KtProperty foo
annotations: [ annotations: [
JavaAnno(value = [java.lang.annotation.ElementType.FIELD, java.lang.annotation.ElementType.METHOD])
psi: KtAnnotationEntry
annotations: [
kotlin/annotation/Target(allowedTargets = [kotlin.annotation.AnnotationTarget.FIELD, kotlin.annotation.AnnotationTarget.FUNCTION, kotlin.annotation.AnnotationTarget.PROPERTY_GETTER, kotlin.annotation.AnnotationTarget.PROPERTY_SETTER])
psi: null
annotations: [
kotlin/annotation/Target(allowedTargets = [kotlin.annotation.AnnotationTarget.ANNOTATION_CLASS])
psi: null
<recursive meta-annotation kotlin/annotation/Target>
kotlin/annotation/MustBeDocumented()
psi: null
annotations: [
kotlin/annotation/Target(allowedTargets = [kotlin.annotation.AnnotationTarget.ANNOTATION_CLASS])
psi: null
<recursive meta-annotation kotlin/annotation/Target>
]
]
]
] ]
@@ -1,5 +1,6 @@
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /I.foo callableIdIfNonLocal: /I.foo
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -1,5 +1,6 @@
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: null
callableIdIfNonLocal: /A.foo callableIdIfNonLocal: /A.foo
contextReceivers: [] contextReceivers: []
getter: null getter: null
@@ -1,5 +1,6 @@
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /I.zoo callableIdIfNonLocal: /I.zoo
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -241,6 +242,7 @@ KtFunctionSymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /I.foo callableIdIfNonLocal: /I.foo
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -307,6 +309,7 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /I.bar callableIdIfNonLocal: /I.bar
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -444,6 +447,7 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /I.doo callableIdIfNonLocal: /I.doo
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -1,5 +1,6 @@
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: null
callableIdIfNonLocal: /A.zoo callableIdIfNonLocal: /A.zoo
contextReceivers: [] contextReceivers: []
getter: null getter: null
@@ -83,6 +84,7 @@ KtFunctionSymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: null
callableIdIfNonLocal: /A.foo callableIdIfNonLocal: /A.foo
contextReceivers: [] contextReceivers: []
getter: null getter: null
@@ -166,6 +168,7 @@ KtFunctionSymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: null
callableIdIfNonLocal: /A.bar callableIdIfNonLocal: /A.bar
contextReceivers: [] contextReceivers: []
getter: null getter: null
@@ -206,6 +209,7 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: null
callableIdIfNonLocal: /A.doo callableIdIfNonLocal: /A.doo
contextReceivers: [] contextReceivers: []
getter: null getter: null
@@ -97,6 +97,7 @@ KtFunctionSymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /testVal callableIdIfNonLocal: /testVal
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -155,6 +156,7 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /initializedVariable callableIdIfNonLocal: /initializedVariable
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -280,6 +282,7 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /unitializedVariable callableIdIfNonLocal: /unitializedVariable
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -405,6 +408,7 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /lateinitVariable callableIdIfNonLocal: /lateinitVariable
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -530,6 +534,7 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /variableWithBackingField callableIdIfNonLocal: /variableWithBackingField
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -655,6 +660,7 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /privateSetter callableIdIfNonLocal: /privateSetter
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -783,6 +789,7 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /jvmNameOnSetter callableIdIfNonLocal: /jvmNameOnSetter
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -911,6 +918,7 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /customGetter callableIdIfNonLocal: /customGetter
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -972,6 +980,7 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /jvmNameOnGetter callableIdIfNonLocal: /jvmNameOnGetter
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -1033,6 +1042,7 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /propertyWithReceiver callableIdIfNonLocal: /propertyWithReceiver
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -1109,6 +1119,7 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /propertyWithGenericReceiver callableIdIfNonLocal: /propertyWithGenericReceiver
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -1185,6 +1196,7 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /constant callableIdIfNonLocal: /constant
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -1243,6 +1255,11 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
annotationsList: [
kotlin/jvm/JvmField()
psi: KtAnnotationEntry
]
callableIdIfNonLocal: /jvmField callableIdIfNonLocal: /jvmField
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -97,6 +97,7 @@ KtFunctionSymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /testVal callableIdIfNonLocal: /testVal
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -155,6 +156,7 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /initializedVariable callableIdIfNonLocal: /initializedVariable
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -280,6 +282,7 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /unitializedVariable callableIdIfNonLocal: /unitializedVariable
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -405,6 +408,7 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /lateinitVariable callableIdIfNonLocal: /lateinitVariable
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -530,6 +534,7 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /variableWithBackingField callableIdIfNonLocal: /variableWithBackingField
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -655,6 +660,7 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /privateSetter callableIdIfNonLocal: /privateSetter
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -783,6 +789,7 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /jvmNameOnSetter callableIdIfNonLocal: /jvmNameOnSetter
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -911,6 +918,7 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /customGetter callableIdIfNonLocal: /customGetter
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -972,6 +980,7 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /jvmNameOnGetter callableIdIfNonLocal: /jvmNameOnGetter
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -1033,6 +1042,7 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /propertyWithReceiver callableIdIfNonLocal: /propertyWithReceiver
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -1109,6 +1119,7 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /propertyWithGenericReceiver callableIdIfNonLocal: /propertyWithGenericReceiver
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -1185,6 +1196,7 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /constant callableIdIfNonLocal: /constant
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -1242,10 +1254,12 @@ KtKotlinPropertySymbol:
setterDeprecationStatus: null setterDeprecationStatus: null
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [ annotationsList: []
kotlin/jvm/JvmField() backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
psi: KtAnnotationEntry annotationsList: [
] kotlin/jvm/JvmField()
psi: KtAnnotationEntry
]
callableIdIfNonLocal: /jvmField callableIdIfNonLocal: /jvmField
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -41,6 +41,7 @@ KtFunctionSymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /testVal callableIdIfNonLocal: /testVal
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -1242,6 +1242,7 @@ KtFunctionSymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: kotlin/collections/List.size callableIdIfNonLocal: kotlin/collections/List.size
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -1,5 +1,6 @@
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /Abc.firstProperty callableIdIfNonLocal: /Abc.firstProperty
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -66,6 +67,7 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /Abc.secondProperty callableIdIfNonLocal: /Abc.secondProperty
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -132,6 +134,7 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /Abc.thirdProperty callableIdIfNonLocal: /Abc.thirdProperty
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -232,6 +235,7 @@ KtFunctionSymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /Abc.bodyProperty callableIdIfNonLocal: /Abc.bodyProperty
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -661,6 +665,7 @@ KtConstructorSymbol:
contextReceivers: [] contextReceivers: []
generatedPrimaryConstructorProperty: KtKotlinPropertySymbol: generatedPrimaryConstructorProperty: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /Abc.firstProperty callableIdIfNonLocal: /Abc.firstProperty
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -747,6 +752,7 @@ KtConstructorSymbol:
contextReceivers: [] contextReceivers: []
generatedPrimaryConstructorProperty: KtKotlinPropertySymbol: generatedPrimaryConstructorProperty: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /Abc.secondProperty callableIdIfNonLocal: /Abc.secondProperty
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -833,6 +839,7 @@ KtConstructorSymbol:
contextReceivers: [] contextReceivers: []
generatedPrimaryConstructorProperty: KtKotlinPropertySymbol: generatedPrimaryConstructorProperty: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /Abc.thirdProperty callableIdIfNonLocal: /Abc.thirdProperty
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -1,5 +1,6 @@
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: null callableIdIfNonLocal: null
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -301,6 +302,7 @@ KtKotlinPropertySymbol:
kotlin/internal/IntrinsicConstEvaluation() kotlin/internal/IntrinsicConstEvaluation()
psi: null psi: null
] ]
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: kotlin/Enum.name callableIdIfNonLocal: kotlin/Enum.name
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -375,6 +377,7 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: kotlin/Enum.ordinal callableIdIfNonLocal: kotlin/Enum.ordinal
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -108,6 +108,7 @@ KtJavaFieldSymbol:
KtSyntheticJavaPropertySymbol: KtSyntheticJavaPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: null
callableIdIfNonLocal: java/lang/String.length callableIdIfNonLocal: java/lang/String.length
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -45,6 +45,7 @@ scopes:
callables: 9 callables: 9
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: null callableIdIfNonLocal: null
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -301,6 +302,7 @@ scopes:
kotlin/internal/IntrinsicConstEvaluation() kotlin/internal/IntrinsicConstEvaluation()
psi: null psi: null
] ]
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: kotlin/Enum.name callableIdIfNonLocal: kotlin/Enum.name
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -350,6 +352,7 @@ scopes:
visibility: Public visibility: Public
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: kotlin/Enum.ordinal callableIdIfNonLocal: kotlin/Enum.ordinal
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -498,6 +501,7 @@ scopes:
visibility: Public visibility: Public
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: null
callableIdIfNonLocal: /E.entries callableIdIfNonLocal: /E.entries
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -33,6 +33,7 @@ scopes:
callables: 5 callables: 5
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: null callableIdIfNonLocal: null
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -146,6 +146,7 @@ KtFunctionSymbol:
visibility: Public visibility: Public
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /Outer.A.map callableIdIfNonLocal: /Outer.A.map
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -606,6 +606,7 @@ KtFunctionSymbol:
visibility: Public visibility: Public
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: kotlin/collections/List.size callableIdIfNonLocal: kotlin/collections/List.size
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -140,6 +140,7 @@ KtFunctionSymbol:
visibility: Public visibility: Public
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /Outer.A.map callableIdIfNonLocal: /Outer.A.map
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -132,6 +132,7 @@ KtFunctionSymbol:
visibility: Public visibility: Public
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /A.map callableIdIfNonLocal: /A.map
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -606,6 +606,7 @@ KtFunctionSymbol:
visibility: Public visibility: Public
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: kotlin/collections/List.size callableIdIfNonLocal: kotlin/collections/List.size
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -1,6 +0,0 @@
@PropertyAnnotation
var prop: kotlin.Int
@GetAnnotation
get()
@SetAnnotation
set(@SetparamAnnotation value: kotlin.Int)
@@ -3,6 +3,11 @@ KtKotlinPropertySymbol:
PropertyAnnotation() PropertyAnnotation()
psi: KtAnnotationEntry psi: KtAnnotationEntry
] ]
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
annotationsList: [
FieldAnnotation()
psi: KtAnnotationEntry
]
callableIdIfNonLocal: /prop callableIdIfNonLocal: /prop
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -1,5 +1,5 @@
@PropertyAnnotation @PropertyAnnotation
@field:FieldAnnotation @FieldAnnotation
var prop: kotlin.Int var prop: kotlin.Int
@GetAnnotation @GetAnnotation
get() get()
@@ -2,9 +2,12 @@ KtKotlinPropertySymbol:
annotationsList: [ annotationsList: [
PropertyAnnotation() PropertyAnnotation()
psi: KtAnnotationEntry psi: KtAnnotationEntry
FieldAnnotation()
psi: KtAnnotationEntry
] ]
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
annotationsList: [
FieldAnnotation()
psi: KtAnnotationEntry
]
callableIdIfNonLocal: /prop callableIdIfNonLocal: /prop
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -1,4 +1,5 @@
@PropertyAnnotation @PropertyAnnotation
@FieldAnnotation
var x: kotlin.Int var x: kotlin.Int
@GetAnnotation @GetAnnotation
@ExplicitGetAnnotation @ExplicitGetAnnotation
@@ -3,6 +3,11 @@ KtKotlinPropertySymbol:
PropertyAnnotation() PropertyAnnotation()
psi: KtAnnotationEntry psi: KtAnnotationEntry
] ]
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
annotationsList: [
FieldAnnotation()
psi: KtAnnotationEntry
]
callableIdIfNonLocal: /x callableIdIfNonLocal: /x
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -1,5 +1,5 @@
@PropertyAnnotation @PropertyAnnotation
@field:FieldAnnotation @FieldAnnotation
var x: kotlin.Int var x: kotlin.Int
@ExplicitGetAnnotation @ExplicitGetAnnotation
@GetAnnotation @GetAnnotation
@@ -2,9 +2,12 @@ KtKotlinPropertySymbol:
annotationsList: [ annotationsList: [
PropertyAnnotation() PropertyAnnotation()
psi: KtAnnotationEntry psi: KtAnnotationEntry
FieldAnnotation()
psi: KtAnnotationEntry
] ]
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
annotationsList: [
FieldAnnotation()
psi: KtAnnotationEntry
]
callableIdIfNonLocal: /x callableIdIfNonLocal: /x
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -5,6 +5,7 @@ KtKotlinPropertySymbol:
ExplicitPropertyAnnotation() ExplicitPropertyAnnotation()
psi: KtAnnotationEntry psi: KtAnnotationEntry
] ]
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /lazyProperty callableIdIfNonLocal: /lazyProperty
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -1,5 +1,5 @@
@ExplicitPropertyAnnotation @ExplicitPropertyAnnotation
@delegate:DelegateAnnotation
@PropertyAnnotation @PropertyAnnotation
@delegate:DelegateAnnotation
val lazyProperty: kotlin.Int val lazyProperty: kotlin.Int
get() get()
@@ -2,11 +2,14 @@ KtKotlinPropertySymbol:
annotationsList: [ annotationsList: [
ExplicitPropertyAnnotation() ExplicitPropertyAnnotation()
psi: KtAnnotationEntry psi: KtAnnotationEntry
DelegateAnnotation()
psi: KtAnnotationEntry
PropertyAnnotation() PropertyAnnotation()
psi: KtAnnotationEntry psi: KtAnnotationEntry
] ]
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
annotationsList: [
DelegateAnnotation()
psi: KtAnnotationEntry
]
callableIdIfNonLocal: /lazyProperty callableIdIfNonLocal: /lazyProperty
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -1,5 +1,6 @@
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /prop callableIdIfNonLocal: /prop
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -1,5 +1,6 @@
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /foo callableIdIfNonLocal: /foo
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -1,5 +1,6 @@
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /foo callableIdIfNonLocal: /foo
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -1,5 +1,6 @@
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /foo callableIdIfNonLocal: /foo
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -1,5 +1,6 @@
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /foo callableIdIfNonLocal: /foo
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -21,6 +21,7 @@ KtConstructorSymbol:
contextReceivers: [] contextReceivers: []
generatedPrimaryConstructorProperty: KtKotlinPropertySymbol: generatedPrimaryConstructorProperty: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /Anno.param1 callableIdIfNonLocal: /Anno.param1
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -107,6 +108,7 @@ KtConstructorSymbol:
contextReceivers: [] contextReceivers: []
generatedPrimaryConstructorProperty: KtKotlinPropertySymbol: generatedPrimaryConstructorProperty: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /Anno.param2 callableIdIfNonLocal: /Anno.param2
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -21,6 +21,7 @@ KtConstructorSymbol:
contextReceivers: [] contextReceivers: []
generatedPrimaryConstructorProperty: KtKotlinPropertySymbol: generatedPrimaryConstructorProperty: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /Anno.param1 callableIdIfNonLocal: /Anno.param1
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -107,6 +108,7 @@ KtConstructorSymbol:
contextReceivers: [] contextReceivers: []
generatedPrimaryConstructorProperty: KtKotlinPropertySymbol: generatedPrimaryConstructorProperty: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /Anno.param2 callableIdIfNonLocal: /Anno.param2
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -34,6 +34,7 @@ KtFunctionSymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: null callableIdIfNonLocal: null
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -118,6 +119,7 @@ KtAnonymousObjectSymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /AnonymousContainer.anonymousObject callableIdIfNonLocal: /AnonymousContainer.anonymousObject
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -34,6 +34,7 @@ KtFunctionSymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: null callableIdIfNonLocal: null
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -118,6 +119,7 @@ KtAnonymousObjectSymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /AnonymousContainer.anonymousObject callableIdIfNonLocal: /AnonymousContainer.anonymousObject
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -1,5 +1,6 @@
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /p callableIdIfNonLocal: /p
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -1,5 +1,6 @@
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /A.i callableIdIfNonLocal: /A.i
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -1,5 +1,6 @@
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /A.a callableIdIfNonLocal: /A.a
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -21,6 +21,7 @@ KtConstructorSymbol:
contextReceivers: [] contextReceivers: []
generatedPrimaryConstructorProperty: KtKotlinPropertySymbol: generatedPrimaryConstructorProperty: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /A.a callableIdIfNonLocal: /A.a
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -21,6 +21,7 @@ KtConstructorSymbol:
contextReceivers: [] contextReceivers: []
generatedPrimaryConstructorProperty: KtKotlinPropertySymbol: generatedPrimaryConstructorProperty: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /A.a callableIdIfNonLocal: /A.a
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -1,5 +1,6 @@
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /y callableIdIfNonLocal: /y
contextReceivers: [ contextReceivers: [
KtContextReceiver: KtContextReceiver:
@@ -21,6 +21,7 @@ KtConstructorSymbol:
contextReceivers: [] contextReceivers: []
generatedPrimaryConstructorProperty: KtKotlinPropertySymbol: generatedPrimaryConstructorProperty: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /MyColor.x callableIdIfNonLocal: /MyColor.x
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -107,6 +108,7 @@ KtConstructorSymbol:
contextReceivers: [] contextReceivers: []
generatedPrimaryConstructorProperty: KtKotlinPropertySymbol: generatedPrimaryConstructorProperty: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /MyColor.y callableIdIfNonLocal: /MyColor.y
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -193,6 +195,7 @@ KtConstructorSymbol:
contextReceivers: [] contextReceivers: []
generatedPrimaryConstructorProperty: KtKotlinPropertySymbol: generatedPrimaryConstructorProperty: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /MyColor.z callableIdIfNonLocal: /MyColor.z
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -325,6 +328,7 @@ KtAnonymousFunctionSymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /Some.delegate callableIdIfNonLocal: /Some.delegate
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -409,6 +413,7 @@ KtAnonymousFunctionSymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /Some.lambda callableIdIfNonLocal: /Some.lambda
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -485,6 +490,7 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /Some.nonLazy callableIdIfNonLocal: /Some.nonLazy
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -21,6 +21,7 @@ KtConstructorSymbol:
contextReceivers: [] contextReceivers: []
generatedPrimaryConstructorProperty: KtKotlinPropertySymbol: generatedPrimaryConstructorProperty: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /MyColor.x callableIdIfNonLocal: /MyColor.x
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -107,6 +108,7 @@ KtConstructorSymbol:
contextReceivers: [] contextReceivers: []
generatedPrimaryConstructorProperty: KtKotlinPropertySymbol: generatedPrimaryConstructorProperty: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /MyColor.y callableIdIfNonLocal: /MyColor.y
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -193,6 +195,7 @@ KtConstructorSymbol:
contextReceivers: [] contextReceivers: []
generatedPrimaryConstructorProperty: KtKotlinPropertySymbol: generatedPrimaryConstructorProperty: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /MyColor.z callableIdIfNonLocal: /MyColor.z
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -325,6 +328,7 @@ KtAnonymousFunctionSymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /Some.delegate callableIdIfNonLocal: /Some.delegate
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -405,6 +409,7 @@ KtAnonymousFunctionSymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /Some.lambda callableIdIfNonLocal: /Some.lambda
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -481,6 +486,7 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /Some.nonLazy callableIdIfNonLocal: /Some.nonLazy
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -1,5 +1,6 @@
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /delegatedProp callableIdIfNonLocal: /delegatedProp
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -1,5 +1,6 @@
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /delegatedProp callableIdIfNonLocal: /delegatedProp
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -1,38 +0,0 @@
@kotlin.Deprecated(message = "don't use i")
val i: kotlin.Int
val i2: kotlin.Int
@kotlin.Deprecated(message = "don't use getter of i2")
get()
var i3: kotlin.Int
@kotlin.Deprecated(message = "don't use getter of i3")
set(value: kotlin.Int)
var i4: kotlin.Int
@kotlin.Deprecated(message = "don't use getter of i4")
get()
@kotlin.Deprecated(message = "don't use setter of i4")
set(value: kotlin.Int)
@kotlin.Deprecated(message = "don't use f")
fun f(): kotlin.Int
@kotlin.Deprecated(message = "don't use j", level = kotlin.DeprecationLevel.ERROR)
val j: kotlin.Int
@kotlin.Deprecated(message = "don't use j2", level = kotlin.DeprecationLevel.HIDDEN)
val j2: kotlin.Int
val j2: kotlin.Int
@kotlin.Deprecated(message = "don't use MyClass")
class MyClass
class Foo {
@kotlin.Deprecated(message = "don't use i2")
val i2: kotlin.Int
@kotlin.Deprecated(message = "don't use f2")
fun f2(): kotlin.Int
}
@@ -3,6 +3,7 @@ KtKotlinPropertySymbol:
kotlin/Deprecated(message = "don't use i") kotlin/Deprecated(message = "don't use i")
psi: KtAnnotationEntry psi: KtAnnotationEntry
] ]
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /i callableIdIfNonLocal: /i
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -61,6 +62,7 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /i2 callableIdIfNonLocal: /i2
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -122,6 +124,7 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /i3 callableIdIfNonLocal: /i3
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -251,6 +254,7 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /i4 callableIdIfNonLocal: /i4
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -449,6 +453,7 @@ KtKotlinPropertySymbol:
kotlin/Deprecated(message = "don't use i2") kotlin/Deprecated(message = "don't use i2")
psi: KtAnnotationEntry psi: KtAnnotationEntry
] ]
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /Foo.i2 callableIdIfNonLocal: /Foo.i2
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -582,6 +587,7 @@ KtKotlinPropertySymbol:
kotlin/Deprecated(level = kotlin.DeprecationLevel.ERROR, message = "don't use j") kotlin/Deprecated(level = kotlin.DeprecationLevel.ERROR, message = "don't use j")
psi: KtAnnotationEntry psi: KtAnnotationEntry
] ]
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /j callableIdIfNonLocal: /j
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -643,6 +649,7 @@ KtKotlinPropertySymbol:
kotlin/Deprecated(level = kotlin.DeprecationLevel.HIDDEN, message = "don't use j2") kotlin/Deprecated(level = kotlin.DeprecationLevel.HIDDEN, message = "don't use j2")
psi: KtAnnotationEntry psi: KtAnnotationEntry
] ]
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /j2 callableIdIfNonLocal: /j2
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -701,7 +708,12 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
callableIdIfNonLocal: /j2 backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
annotationsList: [
java/lang/Deprecated()
psi: KtAnnotationEntry
]
callableIdIfNonLocal: /j3
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
annotationsList: [] annotationsList: []
@@ -739,7 +751,7 @@ KtKotlinPropertySymbol:
isStatic: false isStatic: false
isVal: true isVal: true
modality: FINAL modality: FINAL
name: j2 name: j3
origin: SOURCE origin: SOURCE
receiverParameter: null receiverParameter: null
returnType: KtUsualClassType: returnType: KtUsualClassType:
@@ -753,6 +765,6 @@ KtKotlinPropertySymbol:
getContainingModule: KtSourceModule "Sources of main" getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: DeprecationInfo(deprecationLevel=WARNING, propagatesToOverrides=false, message=null) deprecationStatus: DeprecationInfo(deprecationLevel=WARNING, propagatesToOverrides=false, message=null)
getterDeprecationStatus: DeprecationInfo(deprecationLevel=WARNING, propagatesToOverrides=false, message=null) getterDeprecationStatus: DeprecationInfo(deprecationLevel=WARNING, propagatesToOverrides=false, message=null)
javaGetterName: getJ2 javaGetterName: getJ3
javaSetterName: null javaSetterName: null
setterDeprecationStatus: DeprecationInfo(deprecationLevel=WARNING, propagatesToOverrides=false, message=null) setterDeprecationStatus: DeprecationInfo(deprecationLevel=WARNING, propagatesToOverrides=false, message=null)
@@ -1,4 +1,4 @@
// DO_NOT_CHECK_NON_PSI_SYMBOL_RESTORE // DO_NOT_CHECK_NON_PSI_SYMBOL_RESTORE_K1
// WITH_STDLIB // WITH_STDLIB
@Deprecated("don't use i") @Deprecated("don't use i")
@@ -35,4 +35,4 @@ val j: Int = 2
val j2: Int = 2 val j2: Int = 2
@java.lang.Deprecated @java.lang.Deprecated
val j2: Int = 2 val j3: Int = 2
@@ -25,7 +25,7 @@ val j: kotlin.Int
val j2: kotlin.Int val j2: kotlin.Int
@java.lang.Deprecated @java.lang.Deprecated
val j2: kotlin.Int val j3: kotlin.Int
@kotlin.Deprecated(message = "don't use MyClass") @kotlin.Deprecated(message = "don't use MyClass")
class MyClass class MyClass
@@ -3,6 +3,7 @@ KtKotlinPropertySymbol:
kotlin/Deprecated(message = "don't use i") kotlin/Deprecated(message = "don't use i")
psi: KtAnnotationEntry psi: KtAnnotationEntry
] ]
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /i callableIdIfNonLocal: /i
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -61,6 +62,7 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /i2 callableIdIfNonLocal: /i2
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -122,6 +124,7 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /i3 callableIdIfNonLocal: /i3
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -250,6 +253,7 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /i4 callableIdIfNonLocal: /i4
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -447,6 +451,7 @@ KtKotlinPropertySymbol:
kotlin/Deprecated(message = "don't use i2") kotlin/Deprecated(message = "don't use i2")
psi: KtAnnotationEntry psi: KtAnnotationEntry
] ]
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /Foo.i2 callableIdIfNonLocal: /Foo.i2
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -580,6 +585,7 @@ KtKotlinPropertySymbol:
kotlin/Deprecated(level = kotlin.DeprecationLevel.ERROR, message = "don't use j") kotlin/Deprecated(level = kotlin.DeprecationLevel.ERROR, message = "don't use j")
psi: KtAnnotationEntry psi: KtAnnotationEntry
] ]
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /j callableIdIfNonLocal: /j
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -641,6 +647,7 @@ KtKotlinPropertySymbol:
kotlin/Deprecated(level = kotlin.DeprecationLevel.HIDDEN, message = "don't use j2") kotlin/Deprecated(level = kotlin.DeprecationLevel.HIDDEN, message = "don't use j2")
psi: KtAnnotationEntry psi: KtAnnotationEntry
] ]
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /j2 callableIdIfNonLocal: /j2
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -698,11 +705,13 @@ KtKotlinPropertySymbol:
setterDeprecationStatus: DeprecationInfo(deprecationLevel=HIDDEN, propagatesToOverrides=true, message=null) setterDeprecationStatus: DeprecationInfo(deprecationLevel=HIDDEN, propagatesToOverrides=true, message=null)
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [ annotationsList: []
java/lang/Deprecated() backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
psi: KtAnnotationEntry annotationsList: [
] java/lang/Deprecated()
callableIdIfNonLocal: /j2 psi: KtAnnotationEntry
]
callableIdIfNonLocal: /j3
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
annotationsList: [] annotationsList: []
@@ -740,7 +749,7 @@ KtKotlinPropertySymbol:
isStatic: false isStatic: false
isVal: true isVal: true
modality: FINAL modality: FINAL
name: j2 name: j3
origin: SOURCE origin: SOURCE
receiverParameter: null receiverParameter: null
returnType: KtUsualClassType: returnType: KtUsualClassType:
@@ -752,8 +761,8 @@ KtKotlinPropertySymbol:
typeParameters: [] typeParameters: []
visibility: Public visibility: Public
getContainingModule: KtSourceModule "Sources of main" getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: DeprecationInfo(deprecationLevel=WARNING, propagatesToOverrides=false, message=null) deprecationStatus: null
getterDeprecationStatus: DeprecationInfo(deprecationLevel=WARNING, propagatesToOverrides=false, message=null) getterDeprecationStatus: null
javaGetterName: getJ2 javaGetterName: getJ3
javaSetterName: null javaSetterName: null
setterDeprecationStatus: DeprecationInfo(deprecationLevel=WARNING, propagatesToOverrides=false, message=null) setterDeprecationStatus: null
@@ -21,6 +21,7 @@ KtConstructorSymbol:
contextReceivers: [] contextReceivers: []
generatedPrimaryConstructorProperty: KtKotlinPropertySymbol: generatedPrimaryConstructorProperty: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /P.x callableIdIfNonLocal: /P.x
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -107,6 +108,7 @@ KtConstructorSymbol:
contextReceivers: [] contextReceivers: []
generatedPrimaryConstructorProperty: KtKotlinPropertySymbol: generatedPrimaryConstructorProperty: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /P.y callableIdIfNonLocal: /P.y
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -21,6 +21,7 @@ KtConstructorSymbol:
contextReceivers: [] contextReceivers: []
generatedPrimaryConstructorProperty: KtKotlinPropertySymbol: generatedPrimaryConstructorProperty: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /P.x callableIdIfNonLocal: /P.x
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -107,6 +108,7 @@ KtConstructorSymbol:
contextReceivers: [] contextReceivers: []
generatedPrimaryConstructorProperty: KtKotlinPropertySymbol: generatedPrimaryConstructorProperty: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /P.y callableIdIfNonLocal: /P.y
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -1,5 +1,6 @@
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /Foo.p callableIdIfNonLocal: /Foo.p
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -120,6 +120,7 @@ KtFunctionSymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: null callableIdIfNonLocal: null
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -404,6 +405,7 @@ KtFunctionSymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /MyEnumClass.i callableIdIfNonLocal: /MyEnumClass.i
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -120,6 +120,7 @@ KtFunctionSymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: null callableIdIfNonLocal: null
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -400,6 +401,7 @@ KtFunctionSymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /MyEnumClass.i callableIdIfNonLocal: /MyEnumClass.i
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -1,5 +1,6 @@
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: null callableIdIfNonLocal: null
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -102,6 +103,7 @@ KtEnumEntrySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: null callableIdIfNonLocal: null
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -168,6 +170,7 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: null callableIdIfNonLocal: null
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -1,5 +1,6 @@
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: null callableIdIfNonLocal: null
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -102,6 +103,7 @@ KtEnumEntrySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: null callableIdIfNonLocal: null
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -168,6 +170,7 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: null callableIdIfNonLocal: null
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -21,6 +21,7 @@ KtConstructorSymbol:
contextReceivers: [] contextReceivers: []
generatedPrimaryConstructorProperty: KtKotlinPropertySymbol: generatedPrimaryConstructorProperty: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /Style.value callableIdIfNonLocal: /Style.value
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -108,6 +109,7 @@ KtConstructorSymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: null callableIdIfNonLocal: null
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -192,6 +194,7 @@ KtEnumEntrySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /Style.exitAnimation callableIdIfNonLocal: /Style.exitAnimation
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -21,6 +21,7 @@ KtConstructorSymbol:
contextReceivers: [] contextReceivers: []
generatedPrimaryConstructorProperty: KtKotlinPropertySymbol: generatedPrimaryConstructorProperty: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /Style.value callableIdIfNonLocal: /Style.value
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -108,6 +109,7 @@ KtConstructorSymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: null callableIdIfNonLocal: null
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -188,6 +190,7 @@ KtEnumEntrySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /Style.exitAnimation callableIdIfNonLocal: /Style.exitAnimation
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -1,5 +1,6 @@
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /p callableIdIfNonLocal: /p
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -1,3 +0,0 @@
var jvmField: kotlin.Long
var jvmFieldOnField: kotlin.Int
@@ -1,5 +1,10 @@
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
annotationsList: [
kotlin/jvm/JvmField()
psi: KtAnnotationEntry
]
callableIdIfNonLocal: /jvmField callableIdIfNonLocal: /jvmField
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -126,6 +131,11 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
annotationsList: [
kotlin/jvm/JvmField()
psi: KtAnnotationEntry
]
callableIdIfNonLocal: /jvmFieldOnField callableIdIfNonLocal: /jvmFieldOnField
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -1,5 +1,5 @@
@kotlin.jvm.JvmField @kotlin.jvm.JvmField
var jvmField: kotlin.Long var jvmField: kotlin.Long
@field:kotlin.jvm.JvmField @kotlin.jvm.JvmField
var jvmFieldOnField: kotlin.Int var jvmFieldOnField: kotlin.Int
@@ -1,8 +1,10 @@
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [ annotationsList: []
kotlin/jvm/JvmField() backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
psi: KtAnnotationEntry annotationsList: [
] kotlin/jvm/JvmField()
psi: KtAnnotationEntry
]
callableIdIfNonLocal: /jvmField callableIdIfNonLocal: /jvmField
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -127,10 +129,12 @@ KtKotlinPropertySymbol:
setterDeprecationStatus: null setterDeprecationStatus: null
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [ annotationsList: []
kotlin/jvm/JvmField() backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
psi: KtAnnotationEntry annotationsList: [
] kotlin/jvm/JvmField()
psi: KtAnnotationEntry
]
callableIdIfNonLocal: /jvmFieldOnField callableIdIfNonLocal: /jvmFieldOnField
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -1,5 +1,6 @@
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /Foo.i callableIdIfNonLocal: /Foo.i
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -140,6 +141,7 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /Foo.j callableIdIfNonLocal: /Foo.j
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -1,5 +1,6 @@
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /Foo.i callableIdIfNonLocal: /Foo.i
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -143,6 +144,7 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /Foo.j callableIdIfNonLocal: /Foo.j
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -1,5 +1,6 @@
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /A.x callableIdIfNonLocal: /A.x
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -66,6 +67,7 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /A.y callableIdIfNonLocal: /A.y
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -1,5 +1,6 @@
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /A.x callableIdIfNonLocal: /A.x
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -66,6 +67,7 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /A.y callableIdIfNonLocal: /A.y
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -1,19 +0,0 @@
class MyClass {
companion object {
val property: kotlin.Int
const val constProperty: kotlin.Int
@kotlin.jvm.JvmStatic
val staticProperty: kotlin.Int
val fieldProperty: kotlin.Int
var variable: kotlin.Int
@kotlin.jvm.JvmStatic
var staticVariable: kotlin.Int
var fieldVariable: kotlin.Int
}
}
@@ -1,5 +1,6 @@
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /MyClass.Companion.property callableIdIfNonLocal: /MyClass.Companion.property
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -66,6 +67,7 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /MyClass.Companion.constProperty callableIdIfNonLocal: /MyClass.Companion.constProperty
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -135,6 +137,7 @@ KtKotlinPropertySymbol:
kotlin/jvm/JvmStatic() kotlin/jvm/JvmStatic()
psi: KtAnnotationEntry psi: KtAnnotationEntry
] ]
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /MyClass.Companion.staticProperty callableIdIfNonLocal: /MyClass.Companion.staticProperty
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -201,6 +204,11 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
annotationsList: [
kotlin/jvm/JvmField()
psi: KtAnnotationEntry
]
callableIdIfNonLocal: /MyClass.Companion.fieldProperty callableIdIfNonLocal: /MyClass.Companion.fieldProperty
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -267,6 +275,7 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /MyClass.Companion.variable callableIdIfNonLocal: /MyClass.Companion.variable
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -404,6 +413,7 @@ KtKotlinPropertySymbol:
kotlin/jvm/JvmStatic() kotlin/jvm/JvmStatic()
psi: KtAnnotationEntry psi: KtAnnotationEntry
] ]
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /MyClass.Companion.staticVariable callableIdIfNonLocal: /MyClass.Companion.staticVariable
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -538,6 +548,11 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
annotationsList: [
kotlin/jvm/JvmField()
psi: KtAnnotationEntry
]
callableIdIfNonLocal: /MyClass.Companion.fieldVariable callableIdIfNonLocal: /MyClass.Companion.fieldVariable
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -1,5 +1,6 @@
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /MyClass.Companion.property callableIdIfNonLocal: /MyClass.Companion.property
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -66,6 +67,7 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /MyClass.Companion.constProperty callableIdIfNonLocal: /MyClass.Companion.constProperty
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -135,6 +137,7 @@ KtKotlinPropertySymbol:
kotlin/jvm/JvmStatic() kotlin/jvm/JvmStatic()
psi: KtAnnotationEntry psi: KtAnnotationEntry
] ]
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /MyClass.Companion.staticProperty callableIdIfNonLocal: /MyClass.Companion.staticProperty
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -200,10 +203,12 @@ KtKotlinPropertySymbol:
setterDeprecationStatus: null setterDeprecationStatus: null
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [ annotationsList: []
kotlin/jvm/JvmField() backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
psi: KtAnnotationEntry annotationsList: [
] kotlin/jvm/JvmField()
psi: KtAnnotationEntry
]
callableIdIfNonLocal: /MyClass.Companion.fieldProperty callableIdIfNonLocal: /MyClass.Companion.fieldProperty
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -270,6 +275,7 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /MyClass.Companion.variable callableIdIfNonLocal: /MyClass.Companion.variable
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -410,6 +416,7 @@ KtKotlinPropertySymbol:
kotlin/jvm/JvmStatic() kotlin/jvm/JvmStatic()
psi: KtAnnotationEntry psi: KtAnnotationEntry
] ]
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /MyClass.Companion.staticVariable callableIdIfNonLocal: /MyClass.Companion.staticVariable
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -546,10 +553,12 @@ KtKotlinPropertySymbol:
setterDeprecationStatus: null setterDeprecationStatus: null
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [ annotationsList: []
kotlin/jvm/JvmField() backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
psi: KtAnnotationEntry annotationsList: [
] kotlin/jvm/JvmField()
psi: KtAnnotationEntry
]
callableIdIfNonLocal: /MyClass.Companion.fieldVariable callableIdIfNonLocal: /MyClass.Companion.fieldVariable
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -1,5 +1,6 @@
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /x callableIdIfNonLocal: /x
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -58,6 +59,7 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /y callableIdIfNonLocal: /y
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -134,6 +136,7 @@ KtKotlinPropertySymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /get callableIdIfNonLocal: /get
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -141,6 +141,7 @@ KtConstructorSymbol:
contextReceivers: [] contextReceivers: []
generatedPrimaryConstructorProperty: KtKotlinPropertySymbol: generatedPrimaryConstructorProperty: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /Anno5.s callableIdIfNonLocal: /Anno5.s
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -348,6 +349,7 @@ KtFunctionSymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /X.x callableIdIfNonLocal: /X.x
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -141,6 +141,7 @@ KtConstructorSymbol:
contextReceivers: [] contextReceivers: []
generatedPrimaryConstructorProperty: KtKotlinPropertySymbol: generatedPrimaryConstructorProperty: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /Anno5.s callableIdIfNonLocal: /Anno5.s
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -348,6 +349,7 @@ KtFunctionSymbol:
KtKotlinPropertySymbol: KtKotlinPropertySymbol:
annotationsList: [] annotationsList: []
backingFieldSymbol: KtBackingFieldSymbol(<local>/field)
callableIdIfNonLocal: /X.x callableIdIfNonLocal: /X.x
contextReceivers: [] contextReceivers: []
getter: KtPropertyGetterSymbol: getter: KtPropertyGetterSymbol:
@@ -0,0 +1,17 @@
KtBackingFieldSymbol:
annotationsList: []
callableIdIfNonLocal: null
contextReceivers: []
isExtension: false
name: field
origin: PROPERTY_BACKING_FIELD
owningProperty: KtKotlinPropertySymbol(/x)
receiverParameter: null
returnType: KtUsualClassType:
annotationsList: []
ownTypeArguments: []
type: kotlin/Int
symbolKind: LOCAL
typeParameters: []
getContainingModule: KtSourceModule "Sources of main"
deprecationStatus: null
@@ -1,5 +1,8 @@
KtBackingFieldSymbol: KtBackingFieldSymbol:
annotationsList: [] annotationsList: [
FieldAnnotation()
psi: KtAnnotationEntry
]
callableIdIfNonLocal: null callableIdIfNonLocal: null
contextReceivers: [] contextReceivers: []
isExtension: false isExtension: false

Some files were not shown because too many files have changed in this diff Show More