Uses of Interface
com.sun.mirror.declaration.Declaration
Packages that use 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
Methods in com.sun.mirror.apt that return types with arguments of type DeclarationModifier and TypeMethodDescriptionAnnotationProcessorEnvironment.getDeclarationsAnnotatedWith
(AnnotationTypeDeclaration a) Returns the declarations annotated with the given annotation type. -
Uses of Declaration in com.sun.mirror.declaration
Subinterfaces of Declaration in com.sun.mirror.declarationModifier 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.Methods in com.sun.mirror.declaration that return DeclarationModifier 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
Methods in com.sun.mirror.util with type parameters of type DeclarationModifier 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.Methods in com.sun.mirror.util with parameters of type DeclarationModifier 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.Method parameters in com.sun.mirror.util with type arguments of type DeclarationModifier 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.