[Java] Enum CompilePhase
- org.codehaus.groovy.control.CompilePhase
The phases of the GroovyCompiler. This is an enum facade on top of the Phases object. In general, prefer using this object over Phases.
Enum Constants Summary
| Enum constant | Description |
|---|---|
CANONICALIZATION | |
CLASS_GENERATION | |
CONVERSION | |
FINALIZATION | |
INITIALIZATION | |
INSTRUCTION_SELECTION | |
OUTPUT | |
PARSING | |
SEMANTIC_ANALYSIS |
Field Summary
| Modifiers | Name | Description |
|---|---|---|
static CompilePhase[] | phases | The phases of the GroovyCompiler. |
Methods Summary
| Type Params | Return Type | Name and description |
|---|---|---|
static CompilePhase |
fromPhaseNumber(int phaseNumber)Returns the CompilePhase for the given integer phase number. | |
int |
getPhaseNumber()Returns the underlieng integer Phase number. |
Inherited Methods Summary
| Methods inherited from class | Name |
|---|---|
class Enum | name, equals, toString, hashCode, compareTo, compareTo, valueOf, getDeclaringClass, ordinal, wait, wait, wait, getClass, notify, notifyAll |
Enum Constant Detail
CompilePhase CANONICALIZATION
CompilePhase CLASS_GENERATION
CompilePhase CONVERSION
CompilePhase FINALIZATION
CompilePhase INITIALIZATION
CompilePhase INSTRUCTION_SELECTION
CompilePhase OUTPUT
CompilePhase PARSING
CompilePhase SEMANTIC_ANALYSIS
Field Detail
public static CompilePhase[] phases
The phases of the GroovyCompiler. This is an enum facade on top of the Phases object. In general, prefer using this object over Phases.
Method Detail
public static CompilePhase fromPhaseNumber(int phaseNumber)
Returns the CompilePhase for the given integer phase number.
- Parameters:
-
phaseNumber- the phase number
- Returns:
- the CompilePhase or null if not found
public int getPhaseNumber()
Returns the underlieng integer Phase number.
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.5.14/html/gapi/org/codehaus/groovy/control/CompilePhase.html