public abstract class JavaParserResultTask<T extends Parser.Result> extends IndexingAwareParserResultTask<T>
IndexingAwareParserResultTask
. In addition to the
IndexingAwareParserResultTask
it adds a support for javac phases.JavaSource
Modifier | Constructor and Description |
---|---|
protected |
JavaParserResultTask(JavaSource.Phase phase)
Creates a new JavaParserResultTask
|
protected |
JavaParserResultTask(JavaSource.Phase phase,
TaskIndexingMode taskIndexingMode)
Creates a new JavaParserResultTask
|
Modifier and Type | Method and Description |
---|---|
JavaSource.Phase |
getPhase()
Returns the phase needed by task.
|
getIndexingMode
getPriority, run
cancel, getSchedulerClass
protected JavaParserResultTask(@NonNull JavaSource.Phase phase)
phase
- needed by the task.protected JavaParserResultTask(@NonNull JavaSource.Phase phase, @NonNull TaskIndexingMode taskIndexingMode)
phase
- needed by the task.taskIndexingMode
- the awareness of indexing. For tasks which can run
during indexing use TaskIndexingMode.ALLOWED_DURING_SCAN
for tasks
which cannot run during indexing use TaskIndexingMode.DISALLOWED_DURING_SCAN
.@NonNull public final JavaSource.Phase getPhase()