public static enum JavacPhaseEvent.Phase extends Enum<JavacPhaseEvent.Phase>
Enum Constant and Description |
---|
ANALYZE
Analyze and transform the AST for a single type to prepare for code generation.
|
ANNOTATION_PROCESSING
Overall annotation processing phase, including all rounds.
|
ANNOTATION_PROCESSING_ROUND
A single round of annotation processing, including running the relevant processors, parsing
any source files they create, then re-entering all previously parsed files into new symbol
tables.
|
ENTER
Entering all parse trees into the compiler's symbol tables.
|
GENERATE
Generate a class file for a single type.
|
PARSE
Parsing a single source file.
|
RUN_ANNOTATION_PROCESSORS
Just running the annotation processors that are relevant to the sources being compiled.
|
Modifier and Type | Method and Description |
---|---|
static JavacPhaseEvent.Phase |
fromString(String value) |
String |
toString() |
static JavacPhaseEvent.Phase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JavacPhaseEvent.Phase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JavacPhaseEvent.Phase PARSE
public static final JavacPhaseEvent.Phase ENTER
public static final JavacPhaseEvent.Phase ANNOTATION_PROCESSING
public static final JavacPhaseEvent.Phase ANNOTATION_PROCESSING_ROUND
public static final JavacPhaseEvent.Phase RUN_ANNOTATION_PROCESSORS
public static final JavacPhaseEvent.Phase ANALYZE
public static final JavacPhaseEvent.Phase GENERATE
public static JavacPhaseEvent.Phase[] values()
for (JavacPhaseEvent.Phase c : JavacPhaseEvent.Phase.values()) System.out.println(c);
public static JavacPhaseEvent.Phase 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 nullpublic static JavacPhaseEvent.Phase fromString(String value)
public String toString()
toString
in class Enum<JavacPhaseEvent.Phase>