public enum CompilationLevel extends Enum<CompilationLevel>
Enum Constant and Description |
---|
LIGHT
Compilation will not try to determine types and to pre-cast values.
|
STANDARD
Compilation will try to determine types and pre-cast values.
|
Modifier and Type | Method and Description |
---|---|
static CompilationLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompilationLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompilationLevel LIGHT
public static final CompilationLevel STANDARD
public static CompilationLevel[] values()
for (CompilationLevel c : CompilationLevel.values()) System.out.println(c);
public static CompilationLevel valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null