KmConstructor

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.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Indicates that the corresponding constructor has at least one annotation.

Link copied to clipboard

Indicates that the corresponding constructor has non-stable parameter names, i.e., cannot be called with named arguments.

Link copied to clipboard

Indicates that the corresponding constructor is secondary, i.e., declared not in the class header, but in the class body.

Link copied to clipboard

JVM signature of the constructor, or null if the JVM signature of this constructor is unknown.

Link copied to clipboard

Value parameters of the constructor.

Link copied to clipboard

Version requirements on the constructor.

Link copied to clipboard

Represents visibility of the corresponding constructor.