Immutable Km Class
Immutable representation of KmClass.
Represents a Kotlin class.
Functions
Properties
JVM internal name of the original class this anonymous object is copied from. This value is set for anonymous objects copied from bodies of inline functions to the use site by the Kotlin compiler.
Name of the companion object of this class, if it has one.
Constructors of the class.
Names of enum entries, if this class is an enum class.
Class flags, consisting of Flag.HAS_ANNOTATIONS, visibility flag, modality flag and Flag.Class flags.
Functions in the class.
Metadata of local delegated properties used somewhere inside this class (but not in a nested class). Note that for classes produced by the Kotlin compiler, such properties will have default accessors.
The order of local delegated properties in this list is important. The Kotlin compiler generates the corresponding property's index at the call site, so that reflection would be able to load the metadata of the property with that index at runtime. If an incorrect index is used, either the KProperty<*> object passed to delegate methods will point to the wrong property at runtime, or an exception will be thrown.
Name of the module where this class is declared.
Names of nested classes of this class.
Properties in the class.
Names of direct subclasses of this class, if this class is sealed.
Supertypes of the class. The first element is the superclass (or Any).
Type aliases in the class.
Type parameters of the class.
Version requirements on this class.