State

An enumeration describing the loading state of a module. Modules are created in the Loading state, and reach the Loaded state when all of its statements have executed. If the module is asked to unload, its descendants must first arrange to be unloaded, then the module state transitions to Unloading, and ultimately Unloaded.

Entries

Link copied to clipboard

The module has not yet been fully loaded, and additional changes to it are still permitted.

Link copied to clipboard

The module is fully loaded, and additional changes are not permitted.

Link copied to clipboard

The module is in the process of unloading. Unloading activities are permitted, but new definitions are not.

Link copied to clipboard

The module has been fully unloaded.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The permitted successors of this state. Lazily computed only because of the design choices of Java and Kotlin.

Functions

Link copied to clipboard

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.