ClassKind

Represents the kind of the corresponding class, i.e., the way it is declared in the source code.

Entries

Link copied to clipboard

Signifies that the corresponding class is a usual or anonymous class.

Link copied to clipboard

Signifies that the corresponding class is an interface.

Link copied to clipboard

Signifies that the corresponding class is an enum class.

Link copied to clipboard

Signifies that the corresponding class is an enum entry.

Link copied to clipboard

Signifies that the corresponding class is an annotation class.

Link copied to clipboard

Signifies that the corresponding class is a non-companion, singleton object.

Link copied to clipboard

Signifies that the corresponding class is a companion object.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun valueOf(value: String): ClassKind

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.