Enum Constant Summary
Enum Constants
Method Summary
All Methods Static Methods Instance Methods Concrete Methods
Returns the enum constant of this class with the specified name.
Returns an array containing the constants of this enum class, in
the order they are declared.
Methods inherited from class java.lang.Enum
clone , compareTo , describeConstable , equals , finalize , getDeclaringClass , hashCode , name , ordinal , toString , valueOf
Enum Constant Details
CANNOT_FIND_MODULE
public static final LangError CANNOT_FIND_MODULE
CANNOT_FIND_EXPORT
public static final LangError CANNOT_FIND_EXPORT
INVALID_IMPORT_PATH
public static final LangError INVALID_IMPORT_PATH
INVALID_REFERENCE_TARGET
public static final LangError INVALID_REFERENCE_TARGET
UNRESOLVED_REFERENCE
public static final LangError UNRESOLVED_REFERENCE
ALREADY_DEFINED
public static final LangError ALREADY_DEFINED
CYCLIC_REFERENCE
public static final LangError CYCLIC_REFERENCE
INCOMPATIBLE_TYPES
public static final LangError INCOMPATIBLE_TYPES
NUMBER_OUT_OF_BOUNDS
public static final LangError NUMBER_OUT_OF_BOUNDS
LITERAL_VALUE_REQUIRED
public static final LangError LITERAL_VALUE_REQUIRED
CANNOT_PARTIALLY_APPLY
public static final LangError CANNOT_PARTIALLY_APPLY
USER_CLASS_SPEC_MISSING
public static final LangError USER_CLASS_SPEC_MISSING
USER_CLASS_INCOMPATIBLE
public static final LangError USER_CLASS_INCOMPATIBLE
UNEXPECTED_ARGUMENT
public static final LangError UNEXPECTED_ARGUMENT
INDEX_OUT_OF_BOUNDS
public static final LangError INDEX_OUT_OF_BOUNDS
DIVISION_BY_ZERO
public static final LangError DIVISION_BY_ZERO
DEFAULT_PATTERN_NOT_LAST
public static final LangError DEFAULT_PATTERN_NOT_LAST
ILLEGAL_ARGUMENT
public static final LangError ILLEGAL_ARGUMENT
INVALID_DATETIME
public static final LangError INVALID_DATETIME
ROUNDING_NECESSARY
public static final LangError ROUNDING_NECESSARY
NATIVE_CODE_RESTRICTED
public static final LangError NATIVE_CODE_RESTRICTED
Method Details
values
Returns an array containing the constants of this enum class, in
the order they are declared.
Returns:
an array containing the constants of this enum class, in the order they are declared
valueOf
Returns the enum constant of this class with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this class. (Extraneous whitespace characters are
not permitted.)
Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum class has no constant with the specified name
NullPointerException - if the argument is null