Uses of Interface
com.sun.mirror.declaration.Declaration
Package
Description
Classes used to communicate information between
annotation processors
and an annotation processing tool.
Interfaces used to model program element declarations.
Utilities to assist in the processing of declarations and types.
-
Uses of Declaration in com.sun.mirror.apt
Modifier and TypeMethodDescriptionAnnotationProcessorEnvironment.getDeclarationsAnnotatedWith
(AnnotationTypeDeclaration a) Returns the declarations annotated with the given annotation type. -
Uses of Declaration in com.sun.mirror.declaration
Modifier and TypeInterfaceDescriptioninterface
Represents the declaration of an annotation type.interface
Represents an element of an annotation type.interface
Represents the declaration of a class.interface
Represents a constructor of a class or interface.interface
Represents an enum constant declaration.interface
Represents the declaration of an enum type.interface
Represents a method or constructor of a class or interface.interface
Represents a field of a type declaration.interface
Represents the declaration of an interface.interface
Represents a declaration that may be a member or constructor of a declared type.interface
Represents a method of a class or interface.interface
Represents the declaration of a package.interface
Represents a formal parameter of a method or constructor.interface
Represents the declaration of a class or interface.interface
Represents a formal type parameter of a generic type, method, or constructor declaration.Modifier and TypeMethodDescriptionTypeParameterDeclaration.getOwner()
Returns the type, method, or constructor declaration within which this type parameter is declared. -
Uses of Declaration in com.sun.mirror.util
Modifier and TypeMethodDescription<D extends Declaration>
Collection<D>DeclarationFilter.filter
(Collection<? extends Declaration> decls, Class<D> resType) Returns the declarations matched by this filter, with the result being restricted to declarations of a given kind.<D extends Declaration>
Collection<D>DeclarationFilter.filter
(Collection<D> decls) Returns the declarations matched by this filter.Modifier and TypeMethodDescriptionboolean
DeclarationFilter.matches
(Declaration decl) Tests whether this filter matches a given declaration.void
DeclarationVisitor.visitDeclaration
(Declaration d) Visits a declaration.void
SimpleDeclarationVisitor.visitDeclaration
(Declaration d) Visits a declaration.Modifier and TypeMethodDescription<D extends Declaration>
Collection<D>DeclarationFilter.filter
(Collection<? extends Declaration> decls, Class<D> resType) Returns the declarations matched by this filter, with the result being restricted to declarations of a given kind.static DeclarationFilter
DeclarationFilter.getFilter
(Class<? extends Declaration> kind) Returns a filter that selects declarations of a particular kind.