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 |
|---|---|
| public static class | JavacProcessingEnvironment.
Computes the set of annotations on the symbol in question. |
| pack-priv class | JavacProcessingEnvironment.
This class holds information about the processors that have been discovered so far as well as the means to discover more, if necessary. |
| pack-priv class | |
| private static class | |
| private class | |
| pack-priv static class | JavacProcessingEnvironment.
State about how a processor has been used by the tool. |
| pack-priv class | JavacProcessingEnvironment.
Helper object for a single round of annotation processing. |
| private class | JavacProcessingEnvironment.
Use a service loader appropriate for the platform to provide an iterator over annotations processors; fails if a loader is needed but unavailable. |
| Modifier and Type | Field and Description |
|---|---|
| private final Annotate | |
| private final Check | |
| private final JavaCompiler | |
| private final Context | |
| private final DeferredCompletionFailureHandler | |
| pack-priv JCDiagnostic. | diags
Diagnostic factory. |
| private JavacProcessingEnvironment. | discoveredProcs
Holds relevant state history of which processors have been used. |
| private final JavacElements | |
| private final Enter | |
| private final boolean | |
| private final JavaFileManager | |
| private final JavacFiler | |
| private final Symbol. | |
| pack-priv final Log | log
The log to be used for error reporting. |
| private final JavacMessager | |
| private JavacMessages | messages
JavacMessages object used for localization |
| private final Modules | |
| private final Names | |
| public static final Pattern | |
| private final Options | |
| private final Set | platformAnnotations
Annotations implicitly processed and claimed by javac. |
| private final Preview | preview
Support for preview language features. |
| private final boolean | |
| private final boolean | |
| private ClassLoader | |
| private final Map | processorOptions
Map of processor-specific options. |
| private ServiceLoader | |
| private final boolean | |
| pack-priv Source | source
Source level of the compile. |
| private Set | specifiedPackages
Set of packages given on command line. |
| private final Symtab | |
| private MultiTaskListener | |
| private final TreeScanner | |
| private final Types | |
| private final JavacTypes | |
| private final Set | |
| private final boolean | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| private boolean | |
| public void | |
| private void | discoverAndRunProcs(Set<TypeElement> annotationsPresent, List<Symbol.
|
| public boolean | doProcessing(List<JCTree.
|
| public Context | |
| public JavacElements | getElementUtils()
Implements javax. Returns an implementation of some utility methods for operating on elements. |
| public JavacFiler | getFiler()
Implements javax. Returns the filer used to create new source, class, or auxiliary files. |
| public Locale | getLocale()
Implements javax. Returns the current locale or |
| public Messager | getMessager()
Implements javax. Returns the messager used to report errors, warnings, and other notices. |
| private List | |
| public Map | getOptions()
Implements javax. Returns the processor-specific options passed to the annotation processing tool. |
| private List | |
| private List | |
| public ClassLoader | |
| public <S> ServiceLoader | |
| public SourceVersion | getSourceVersion()
Implements javax. Returns the source version that any generated source and class files should conform to. |
| public Set | |
| private List | |
| private List | |
| public JavacTypes | getTypeUtils()
Implements javax. Returns an implementation of some utility methods for operating on types. |
| private static Pattern | importStringToPattern(boolean allowModules, String s, Processor p, Log log)
Convert import-style string for supported annotations into a regex matching that string. |
| private Set | |
| private void | |
| private void | |
| private Map | |
| private Set | |
| public static JavacProcessingEnvironment | |
| private boolean | |
| private boolean | |
| private boolean | |
| public boolean | isPreviewEnabled()
Overrides default javax. Returns |
| public static boolean | |
| private static <T> List | |
| private boolean | |
| public void | |
| public String | |
| private static Pattern | |
| private void |