Modifier

@Serializable
enum Modifier : Enum<Modifier>

Represents declaration modifiers in Kotlin source code (e.g. abstract, open, sealed, suspend, override).

Entries

Link copied to clipboard

Sealed class or interface modifier.

Link copied to clipboard

Open class or member modifier.

Link copied to clipboard

Abstract class, interface, or member modifier.

Link copied to clipboard

Data class modifier.

Link copied to clipboard

Value class modifier.

Link copied to clipboard

Inner class modifier.

Link copied to clipboard

Inline class or function modifier.

Link copied to clipboard

Suspend function modifier.

Link copied to clipboard

Companion object modifier.

Link copied to clipboard

Object declaration modifier.

Link copied to clipboard

Expect multiplatform declaration modifier.

Link copied to clipboard

Actual multiplatform declaration modifier.

Link copied to clipboard

Const property modifier.

Link copied to clipboard

Lateinit property modifier.

Link copied to clipboard

Operator function modifier.

Link copied to clipboard

Infix function modifier.

Link copied to clipboard

Override member modifier.

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): Modifier

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.