| java.lang.Object com.sun.tools.javac.processing.JavacProcessingEnvironment
JavacProcessingEnvironment | public class JavacProcessingEnvironment implements ProcessingEnvironment,Closeable(Code) | | Objects of this class hold and manage the state needed to support
annotation processing.
This is NOT part of any API supported by Sun Microsystems.
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.
|
Inner Class :static class ProcessorState | |
Inner Class :class DiscoveredProcessors implements Iterable<ProcessorState> | |
Inner Class :public static class ComputeAnnotationSet extends ElementScanner6,Set> | |
log | Log log(Code) | | The log to be used for error reporting.
|
atLeastOneProcessor | public boolean atLeastOneProcessor()(Code) | | |
close | public void close()(Code) | | Free resources related to annotation processing.
|
getContext | public Context getContext()(Code) | | For internal use by Sun Microsystems only. This method will be
removed without warning.
|
getOptions | public Map<String, String> getOptions()(Code) | | Command line options suitable for presenting to annotation
processors. "-Afoo=bar" should be "-Afoo" => "bar".
|
importStringToPattern | public static Pattern importStringToPattern(String s, Processor p, Log log)(Code) | | Convert import-style string to regex matching that string. If
the string is a valid import-style string, return a regex that
won't match anything.
|
isValidOptionName | public static boolean isValidOptionName(String optionName)(Code) | | |
pathToURLs | public static URL[] pathToURLs(String path)(Code) | | Utility method for converting a search path string to an array
of directory and JAR file URLs.
Parameters: path - the search path string the resulting array of directory and JAR file URLs |
|
|