ImmutableKmProperty

data class ImmutableKmProperty : ImmutableKmWithFlags

Immutable representation of KmProperty.

Represents a Kotlin property declaration.

Functions

toMutable
Link copied to clipboard
fun toMutable(): KmProperty

Properties

fieldSignature
Link copied to clipboard
val fieldSignature: JvmFieldSignature?
JVM signature of the backing field of the property, or null if this property has no backing field.
flags
Link copied to clipboard
open override val flags: Flags
Property flags, consisting of Flag.HAS_ANNOTATIONS, visibility flag, modality flag and Flag.Property flags.
getterFlags
Link copied to clipboard
val getterFlags: Flags
Property accessor flags, consisting of Flag.HAS_ANNOTATIONS, visibility flag, modality flag and Flag.PropertyAccessor flags.
getterSignature
Link copied to clipboard
val getterSignature: JvmMethodSignature?
JVM signature of the property getter, or null if this property has no getter or its signature is unknown.
jvmFlags
Link copied to clipboard
val jvmFlags: Flags
JVM-specific flags of the property, consisting of JvmFlag.Property flags.
name
Link copied to clipboard
val name: String
The name of the property.
receiverParameterType
Link copied to clipboard
val receiverParameterType: ImmutableKmType?
Type of the receiver of the property, if this is an extension property.
returnType
Link copied to clipboard
val returnType: ImmutableKmType
Type of the property.
setterFlags
Link copied to clipboard
val setterFlags: Flags
Property accessor flags, consisting of Flag.HAS_ANNOTATIONS, visibility flag, modality flag and Flag.PropertyAccessor flags.
setterParameter
Link copied to clipboard
val setterParameter: ImmutableKmValueParameter?
Value parameter of the setter of this property, if this is a var property.
setterSignature
Link copied to clipboard
val setterSignature: JvmMethodSignature?
JVM signature of the property setter, or null if this property has no setter or its signature is unknown.
syntheticMethodForAnnotations
Link copied to clipboard
val syntheticMethodForAnnotations: JvmMethodSignature?
JVM signature of a synthetic method which is generated to store annotations on a property in the bytecode.
typeParameters
Link copied to clipboard
val typeParameters: List<ImmutableKmTypeParameter>
Type parameters of the property.
versionRequirements
Link copied to clipboard
val versionRequirements: List<ImmutableKmVersionRequirement>
Version requirements on the property.

Extensions

getterPropertyAccessorFlags
Link copied to clipboard
hasConstant
Link copied to clipboard
val ImmutableKmProperty.hasConstant: Boolean
hasGetter
Link copied to clipboard
val ImmutableKmProperty.hasGetter: Boolean
hasSetter
Link copied to clipboard
val ImmutableKmProperty.hasSetter: Boolean
isConst
Link copied to clipboard
val ImmutableKmProperty.isConst: Boolean
isDeclaration
Link copied to clipboard
val ImmutableKmProperty.isDeclaration: Boolean
isDelegated
Link copied to clipboard
val ImmutableKmProperty.isDelegated: Boolean
isDelegation
Link copied to clipboard
val ImmutableKmProperty.isDelegation: Boolean
isExpect
Link copied to clipboard
val ImmutableKmProperty.isExpect: Boolean
isExternal
Link copied to clipboard
val ImmutableKmProperty.isExternal: Boolean
isFakeOverride
Link copied to clipboard
val ImmutableKmProperty.isFakeOverride: Boolean
isLateinit
Link copied to clipboard
val ImmutableKmProperty.isLateinit: Boolean
isSynthesized
Link copied to clipboard
val ImmutableKmProperty.isSynthesized: Boolean
isVal
Link copied to clipboard
val ImmutableKmProperty.isVal: Boolean
isVar
Link copied to clipboard
val ImmutableKmProperty.isVar: Boolean
setterPropertyAccessorFlags
Link copied to clipboard