This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv abstract class |
| Modifier and Type | Field and Description |
|---|---|
| private ListBuffer | |
| private final Arguments | |
| private JavaCompiler | |
| private DeferredCompletionFailureHandler | |
| private JavaFileManager | |
| private ListBuffer | |
| private Locale | |
| private Map | |
| private boolean | |
| private Iterable | |
| private final AtomicBoolean |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | addModules(Iterable<String> moduleNames)
Overrides com. Implements javax. Adds root modules to be taken into account during module resolution. |
| public Iterable | |
| public Iterable | |
| public Boolean | call()
Overrides com. Implements javax. Performs this compilation task. |
| pack-priv void | |
| public Main. | |
| public void | |
| public Iterable | Returns: a list of elements corresponding to the top level classes in the abstract syntax treesTranslate all the abstract syntax trees to elements. |
| public Iterable | Returns: a list of elements corresponding to the top level classes in the abstract syntax treesa list of abstract syntax trees. trees)Translate the given abstract syntax trees to elements. |
| public Iterable | |
| public Iterable | |
| private void | |
| private <T> Pair | |
| public Iterable | parse()
Overrides com. Parses the specified files returning a list of abstract syntax trees. |
| private Iterable | |
| public Type | Returns: the typethe type expression to be analyzed expr, TypeElement the scope in which to analyze the type expression scope)For internal use only. |
| private void | |
| public void | setLocale(Locale locale)
Overrides com. Implements javax. Sets the locale to be applied when formatting diagnostics and other localized data. |
| public void | setProcessors(Iterable<? extends Processor> processors)
Overrides com. Implements javax. Sets processors (for annotation processing). |
| pack-priv <T> String |
| addModules | back to summary |
|---|---|
| private ListBuffer<String> addModules | |
| args | back to summary |
|---|---|
| private final Arguments args | |
| compiler | back to summary |
|---|---|
| private JavaCompiler compiler | |
| dcfh | back to summary |
|---|---|
| private DeferredCompletionFailureHandler dcfh | |
| fileManager | back to summary |
|---|---|
| private JavaFileManager fileManager | |
| genList | back to summary |
|---|---|
| private ListBuffer<Env<AttrContext>> genList | |
| locale | back to summary |
|---|---|
| private Locale locale | |
| notYetEntered | back to summary |
|---|---|
| private Map<JavaFileObject, JCTree. | |
| parsed | back to summary |
|---|---|
| private boolean parsed | |
| processors | back to summary |
|---|---|
| private Iterable<? extends Processor> processors | |
| used | back to summary |
|---|---|
| private final AtomicBoolean used | |
| JavacTaskImpl | back to summary |
|---|---|
| protected JavacTaskImpl(Context context) | |
| addModules | back to summary |
|---|---|
| public void addModules(Iterable<String> moduleNames) Overrides com. Implements javax. Doc from javax. Adds root modules to be taken into account during module
resolution.
Invalid module names may cause either
| |
| analyze | back to summary |
|---|---|
| public Iterable Overrides com. Doc from com. Completes all analysis.
| |
| analyze | back to summary |
|---|---|
| public Iterable Complete all analysis on the given classes.
This can be used to ensure that all compile time errors are reported.
The classes must have previously been returned from | |
| call | back to summary |
|---|---|
| public Boolean call() Overrides com. Implements javax. Doc from javax. Performs this compilation task. The compilation may only
be performed once. Subsequent calls to this method throw
| |
| cleanup | back to summary |
|---|---|
| pack-priv void cleanup() | |
| doCall | back to summary |
|---|---|
| public Main. | |
| ensureEntered | back to summary |
|---|---|
| public void ensureEntered() | |
| enter | back to summary |
|---|---|
| public Iterable Translate all the abstract syntax trees to elements. | |
| enter | back to summary |
|---|---|
| public Iterable Translate the given abstract syntax trees to elements.
| |
| generate | back to summary |
|---|---|
| public Iterable Overrides com. Doc from com. Generates code.
| |
| generate | back to summary |
|---|---|
| public Iterable Generate code corresponding to the given classes.
The classes must have previously been returned from
| |
| handleFlowResults | back to summary |
|---|---|
| private void handleFlowResults(Queue<Env<AttrContext>> queue, ListBuffer<Element> elems) | |
| invocationHelper | back to summary |
|---|---|
| private <T> Pair | |
| parse | back to summary |
|---|---|
| public Iterable Overrides com. Doc from com. Parses the specified files returning a list of abstract syntax trees.
| |
| parseInternal | back to summary |
|---|---|
| private Iterable | |
| parseType | back to summary |
|---|---|
| public Type parseType(String expr, TypeElement scope) For internal use only. This method will be removed without warning.
| |
| prepareCompiler | back to summary |
|---|---|
| private void prepareCompiler(boolean forParse) | |
| setLocale | back to summary |
|---|---|
| public void setLocale(Locale locale) Overrides com. Implements javax. Doc from javax. Sets the locale to be applied when formatting diagnostics and other localized data.
| |
| setProcessors | back to summary |
|---|---|
| public void setProcessors(Iterable<? extends Processor> processors) Overrides com. Implements javax. Doc from javax. Sets processors (for annotation processing). This will bypass the normal discovery mechanism.
| |
| toString | back to summary |
|---|---|
| pack-priv <T> String toString(Iterable<T> items, String sep) | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv abstract void | |
| pack-priv void |
| Filter | back to summary |
|---|---|
| pack-priv Filter() | |
| process | back to summary |
|---|---|
| pack-priv abstract void process(Env<AttrContext> env) | |
| run | back to summary |
|---|---|
| pack-priv void run(Queue<Env<AttrContext>> list, Iterable<? extends Element> elements) | |