Modifier and Type | Class and Description |
---|---|
public static enum | TaskEvent.
Kind of task event. |
Modifier and Type | Field and Description |
---|---|
private TypeElement | |
private JavaFileObject | |
private TaskEvent. | |
private CompilationUnitTree |
Access | Constructor and Description |
---|---|
public | |
public | TaskEvent(TaskEvent.
the kind of the event kind,the source file sourceFile)Creates a task event for a given kind and source file. |
public | TaskEvent(TaskEvent.
the kind of the event kind,the compilation unit unit)Creates a task event for a given kind and compilation unit. |
public | TaskEvent(TaskEvent.
the kind of the event kind,the compilation unit unit, TypeElement the type element clazz)Creates a task event for a given kind, compilation unit and type element. |
private |
Modifier and Type | Method and Description |
---|---|
public CompilationUnitTree | |
public TaskEvent. | |
public JavaFileObject | |
public TypeElement | |
public String |
clazz | back to summary |
---|---|
private TypeElement clazz |
file | back to summary |
---|---|
private JavaFileObject file |
kind | back to summary |
---|---|
private TaskEvent. |
unit | back to summary |
---|---|
private CompilationUnitTree unit |
TaskEvent | back to summary |
---|---|
public TaskEvent(TaskEvent. Creates a task event for a given kind.
The source file, compilation unit and type element
are all set to |
TaskEvent | back to summary |
---|---|
public TaskEvent(TaskEvent. Creates a task event for a given kind and source file.
The compilation unit and type element are both set to
|
TaskEvent | back to summary |
---|---|
public TaskEvent(TaskEvent. Creates a task event for a given kind and compilation unit.
The source file is set from the compilation unit,
and the type element is set to
|
TaskEvent | back to summary |
---|---|
public TaskEvent(TaskEvent. Creates a task event for a given kind, compilation unit and type element. The source file is set from the compilation unit.
|
TaskEvent | back to summary |
---|---|
private TaskEvent(TaskEvent. |
getCompilationUnit | back to summary |
---|---|
public CompilationUnitTree getCompilationUnit() Returns the compilation unit for this event.
May be
|
getKind | back to summary |
---|---|
public TaskEvent. Returns the kind for this event. |
getSourceFile | back to summary |
---|---|
public JavaFileObject getSourceFile() Returns the source file for this event.
May be
|
getTypeElement | back to summary |
---|---|
public TypeElement getTypeElement() Returns the type element for this event.
May be
|
toString | back to summary |
---|---|
public String toString() Overrides java. Doc from java. Returns a string representation of the object. |
Modifier and Type | Field and Description |
---|---|
public static final TaskEvent. | ANALYZE
For events relating to elements being analyzed for errors. |
public static final TaskEvent. | ANNOTATION_PROCESSING
For events relating to overall annotation processing. |
public static final TaskEvent. | ANNOTATION_PROCESSING_ROUND
For events relating to an individual annotation processing round. |
public static final TaskEvent. | COMPILATION
Sent before parsing first source file, and after writing the last output file. |
public static final TaskEvent. | ENTER
For events relating to elements being entered. |
public static final TaskEvent. | GENERATE
For events relating to class files being generated. |
public static final TaskEvent. | PARSE
For events related to the parsing of a file. |
Access | Constructor and Description |
---|---|
private |
Modifier and Type | Method and Description |
---|---|
public static TaskEvent. | |
public static TaskEvent. |
ANALYZE | back to summary |
---|---|
public static final TaskEvent. For events relating to elements being analyzed for errors. |
ANNOTATION_PROCESSING | back to summary |
---|---|
public static final TaskEvent. For events relating to overall annotation processing. |
ANNOTATION_PROCESSING_ROUND | back to summary |
---|---|
public static final TaskEvent. For events relating to an individual annotation processing round. |
COMPILATION | back to summary |
---|---|
public static final TaskEvent. Sent before parsing first source file, and after writing the last output file.
This event is not sent when using
|
ENTER | back to summary |
---|---|
public static final TaskEvent. For events relating to elements being entered. |
GENERATE | back to summary |
---|---|
public static final TaskEvent. For events relating to class files being generated. |
PARSE | back to summary |
---|---|
public static final TaskEvent. For events related to the parsing of a file. |
Kind | back to summary |
---|---|
private Kind() |
valueOf | back to summary |
---|---|
public static TaskEvent. |
values | back to summary |
---|---|
public static TaskEvent. |