Methods Summary |
---|
public void | addListener(com.sun.mirror.apt.AnnotationProcessorListener listener)Add a listener. If the listener is currently registered to listen,
adding it again will have no effect.
|
public com.sun.mirror.util.Declarations | getDeclarationUtils()Returns an implementation of some utility methods for
operating on declarations.
|
public java.util.Collection | getDeclarationsAnnotatedWith(com.sun.mirror.declaration.AnnotationTypeDeclaration a)Returns the declarations annotated with the given annotation type.
Only declarations of the types
{@linkplain AnnotationProcessorEnvironment included}
in this invocation of the annotation processing tool, or
declarations of members, parameters, or type parameters
declared within those, are returned.
|
public com.sun.mirror.apt.Filer | getFiler()Returns the filer used to create new source, class, or auxiliary
files.
|
public com.sun.mirror.apt.Messager | getMessager()Returns the messager used to report errors, warnings, and other
notices.
|
public java.util.Map | getOptions()Returns the options passed to the annotation processing tool.
Options are returned in the form of a map from option name
(such as "-encoding") to option value.
For an option with no value (such as "-help"), the
corresponding value in the map is null.
Options beginning with "-A" are processor-specific.
Such options are unrecognized by the tool, but intended to be used by
some annotation processor.
|
public com.sun.mirror.declaration.PackageDeclaration | getPackage(java.lang.String name)Returns the declaration of a package given its fully qualified name.
|
public java.util.Collection | getSpecifiedTypeDeclarations()Returns the declarations of the types specified when the
annotation processing tool was invoked.
|
public com.sun.mirror.declaration.TypeDeclaration | getTypeDeclaration(java.lang.String name)Returns the declaration of a type given its fully qualified name.
|
public java.util.Collection | getTypeDeclarations()A convenience method that returns the declarations of the types
{@linkplain AnnotationProcessorEnvironment included}
in this invocation of the annotation processing tool.
|
public com.sun.mirror.util.Types | getTypeUtils()Returns an implementation of some utility methods for
operating on types.
|
public void | removeListener(com.sun.mirror.apt.AnnotationProcessorListener listener)Remove a listener. If the listener is not currently listening,
the method call does nothing.
|