Km Constructor
Represents a constructor of a Kotlin class.
Various constructor attributes can be read and manipulated via extension properties, such as KmConstructor.visibility or KmConstructor.isSecondary.
Properties
Annotations on the constructor.
Compiler plugin metadata attached to this constructor, indexed by plugin ID.
Indicates that the corresponding constructor has at least one annotation in the JVM bytecode.
Indicates that the corresponding constructor has non-stable parameter names, i.e., cannot be called with named arguments.
Indicates that the corresponding constructor is secondary, i.e., declared not in the class header, but in the class body.
Indicates whether the constructor was compiled with return value status information. This status may come from @MustUseReturnValues annotation on one of the containing scopes, or from -Xreturn-value-checker=full global compilation setting. See ReturnValueStatus for details.
JVM signature of the constructor, or null if the JVM signature of this constructor is unknown.
Value parameters of the constructor.
Version requirements on the constructor.
Represents visibility of the corresponding constructor.