ImmutableKmConstructor

data class ImmutableKmConstructor : ImmutableKmWithFlags

Immutable representation of KmConstructor.

Represents a constructor of a Kotlin class.

Functions

toMutable
Link copied to clipboard
fun toMutable(): KmConstructor

Properties

flags
Link copied to clipboard
open override val flags: Flags
Constructor flags, consisting of Flag.HAS_ANNOTATIONS, visibility flag and Flag.Constructor flags.
signature
Link copied to clipboard
val signature: JvmMethodSignature?
JVM signature of the constructor, or null if the JVM signature of this constructor is unknown.
valueParameters
Link copied to clipboard
val valueParameters: List<ImmutableKmValueParameter>
Value parameters of the constructor.
versionRequirements
Link copied to clipboard
val versionRequirements: List<ImmutableKmVersionRequirement>
Version requirements on the constructor.

Extensions

isPrimary
Link copied to clipboard
val ImmutableKmConstructor.isPrimary: Boolean
isSecondary
Link copied to clipboard
val ImmutableKmConstructor.isSecondary: Boolean