ImmutableKmConstructor

data class ImmutableKmConstructor : ImmutableKmWithFlags

Immutable representation of KmConstructor.

Represents a constructor of a Kotlin class.

Functions

component1
Link copied to clipboard
operator fun component1(): Flags
component2
Link copied to clipboard
operator fun component2(): List<ImmutableKmValueParameter>
component3
Link copied to clipboard
operator fun component3(): List<ImmutableKmVersionRequirement>
component4
Link copied to clipboard
operator fun component4(): JvmMethodSignature?
copy
Link copied to clipboard
fun copy(flags: Flags, valueParameters: List<ImmutableKmValueParameter>, versionRequirements: List<ImmutableKmVersionRequirement>, signature: JvmMethodSignature?): ImmutableKmConstructor
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(): KmConstructor
toString
Link copied to clipboard
open override fun toString(): String

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