org.codehaus.groovy.control
Enum CompilePhase
java.lang.Object
java.lang.Enum<CompilePhase>
org.codehaus.groovy.control.CompilePhase
- All Implemented Interfaces:
- Serializable, Comparable<CompilePhase>
public enum CompilePhase
- extends Enum<CompilePhase>
INITIALIZATION
public static final CompilePhase INITIALIZATION
PARSING
public static final CompilePhase PARSING
CONVERSION
public static final CompilePhase CONVERSION
SEMANTIC_ANALYSIS
public static final CompilePhase SEMANTIC_ANALYSIS
CANONICALIZATION
public static final CompilePhase CANONICALIZATION
INSTRUCTION_SELECTION
public static final CompilePhase INSTRUCTION_SELECTION
CLASS_GENERATION
public static final CompilePhase CLASS_GENERATION
OUTPUT
public static final CompilePhase OUTPUT
FINALIZATION
public static final CompilePhase FINALIZATION
phases
public static CompilePhase[] phases
values
public static CompilePhase[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (CompilePhase c : CompilePhase.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static CompilePhase valueOf(String name)
- 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.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
getPhaseNumber
public int getPhaseNumber()