KaPropertySymbol
Represents a property declaration.
Hierarchy
Inherits from KaVariableSymbol.
Members
val typeParameters: List<KaTypeParameterSymbol>A list of declared type parameters.
val initializer: KaInitializerValue?The property initializer.
val hasGetter: Booleantrueif the property has a getter.val getter: KaPropertyGetterSymbol?The property getter.
val hasSetter: Booleantrueif the property has a setter.val setter: KaPropertySetterSymbol?The property setter.
val hasBackingField: Booleantrueif the property has a backing field.val backingFieldSymbol: KaBackingFieldSymbol?The backing field symbol.
val isDelegatedProperty: Booleantrueif the property has a delegate.val isFromPrimaryConstructor: Booleantrueif the property is defined in a class primary constructor.val isOverride: Booleantrueif the property is an override.val isStatic: Booleantrueif the property is static.
Utilities
val KaPropertySymbol.getterDeprecationStatus: DeprecationInfo?Deprecation status for the property getter, or
nilif the getter is not deprecated.Experimental API.
val KaPropertySymbol.setterDeprecationStatus: DeprecationInfo?Deprecation status for the property setter, or
nilif the getter is not deprecated.Experimental API.
Last modified: 23 July 2024