core
/
com.squareup.kotlinpoet.metadata
/
ImmutableKmConstructor
Immutable
Km
Constructor
data class
ImmutableKmConstructor
:
ImmutableKmWithFlags
Content copied to clipboard
Immutable representation of
KmConstructor
.
Represents a constructor of a Kotlin class.
Functions
Properties
Extensions
Functions
toMutable
Link copied to clipboard
fun
toMutable
():
KmConstructor
Content copied to clipboard
Properties
flags
Link copied to clipboard
open override val
flags
:
Flags
Content copied to clipboard
Constructor flags, consisting of
Flag.HAS_ANNOTATIONS
, visibility flag and
Flag.Constructor
flags.
signature
Link copied to clipboard
val
signature
:
JvmMethodSignature
?
Content copied to clipboard
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
>
Content copied to clipboard
Value parameters of the constructor.
versionRequirements
Link copied to clipboard
val
versionRequirements
:
List
<
ImmutableKmVersionRequirement
>
Content copied to clipboard
Version requirements on the constructor.
Extensions
isPrimary
Link copied to clipboard
val
ImmutableKmConstructor
.
isPrimary
:
Boolean
Content copied to clipboard
isSecondary
Link copied to clipboard
val
ImmutableKmConstructor
.
isSecondary
:
Boolean
Content copied to clipboard