ImmutableKmProperty

data class ImmutableKmProperty : ImmutableKmWithFlags

Immutable representation of KmProperty.

Represents a Kotlin property declaration.

Functions

component1
Link copied to clipboard
operator fun component1(): Flags
component10
Link copied to clipboard
operator fun component10(): Flags
component11
Link copied to clipboard
operator fun component11(): JvmFieldSignature?
component12
Link copied to clipboard
operator fun component12(): JvmMethodSignature?
component13
Link copied to clipboard
operator fun component13(): JvmMethodSignature?
component14
Link copied to clipboard
operator fun component14(): JvmMethodSignature?
component2
Link copied to clipboard
operator fun component2(): String
component3
Link copied to clipboard
operator fun component3(): Flags
component4
Link copied to clipboard
operator fun component4(): Flags
component5
Link copied to clipboard
operator fun component5(): List<ImmutableKmTypeParameter>
component6
Link copied to clipboard
operator fun component6(): ImmutableKmType?
component7
Link copied to clipboard
operator fun component7(): ImmutableKmValueParameter?
component8
Link copied to clipboard
operator fun component8(): ImmutableKmType
component9
Link copied to clipboard
operator fun component9(): List<ImmutableKmVersionRequirement>
copy
Link copied to clipboard
fun copy(flags: Flags, name: String, getterFlags: Flags, setterFlags: Flags, typeParameters: List<ImmutableKmTypeParameter>, receiverParameterType: ImmutableKmType?, setterParameter: ImmutableKmValueParameter?, returnType: ImmutableKmType, versionRequirements: List<ImmutableKmVersionRequirement>, jvmFlags: Flags, fieldSignature: JvmFieldSignature?, getterSignature: JvmMethodSignature?, setterSignature: JvmMethodSignature?, syntheticMethodForAnnotations: JvmMethodSignature?): ImmutableKmProperty
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toMutable
Link copied to clipboard
fun toMutable(): KmProperty
toString
Link copied to clipboard
open override fun toString(): String

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