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. | |
private final boolean | |
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 SecurityException | |
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. |
public JavacFiler | getFiler()
Implements javax. |
public Locale | getLocale()
Implements javax. null if no locale is in
effect.
|
public Messager | getMessager()
Implements javax. |
private List | |
public Map | getOptions()
Implements javax. |
private List | |
private List | |
public ClassLoader | |
public <S> ServiceLoader | |
public SourceVersion | getSourceVersion()
Implements javax. |
public Set | |
private List | |
private List | |
public JavacTypes | getTypeUtils()
Implements javax. |
private void | handleException(String key, Exception e)
Handle a security exception thrown during initializing the Processor iterator. |
private Iterator | handleServiceLoaderUnavailability(String
The resource key to use to log an error message key, Exception If non-null, pass this exception to Abort e)Returns an empty processor iterator if no processors are on the relevant path, otherwise if processors are present, logs an error. |
private static Pattern | importStringToPattern(boolean allowModules, String s, Processor p, Log log, boolean lint)
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. true if preview features are enabled
and false otherwise.
|
public static boolean | |
private static <T> List | |
private boolean | |
private boolean | |
public void | |
public String | |
private static Pattern | |
private void |