Uses of Interface
com.sun.mirror.declaration.Declaration
-
Packages that use Declaration Package Description com.sun.mirror.apt Classes used to communicate information between annotation processors and an annotation processing tool.com.sun.mirror.declaration Interfaces used to model program element declarations.com.sun.mirror.util 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 Declaration Modifier and Type Method Description Collection<Declaration>AnnotationProcessorEnvironment. 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.declaration Modifier and Type Interface Description interfaceAnnotationTypeDeclarationRepresents the declaration of an annotation type.interfaceAnnotationTypeElementDeclarationRepresents an element of an annotation type.interfaceClassDeclarationRepresents the declaration of a class.interfaceConstructorDeclarationRepresents a constructor of a class or interface.interfaceEnumConstantDeclarationRepresents an enum constant declaration.interfaceEnumDeclarationRepresents the declaration of an enum type.interfaceExecutableDeclarationRepresents a method or constructor of a class or interface.interfaceFieldDeclarationRepresents a field of a type declaration.interfaceInterfaceDeclarationRepresents the declaration of an interface.interfaceMemberDeclarationRepresents a declaration that may be a member or constructor of a declared type.interfaceMethodDeclarationRepresents a method of a class or interface.interfacePackageDeclarationRepresents the declaration of a package.interfaceParameterDeclarationRepresents a formal parameter of a method or constructor.interfaceTypeDeclarationRepresents the declaration of a class or interface.interfaceTypeParameterDeclarationRepresents a formal type parameter of a generic type, method, or constructor declaration.Methods in com.sun.mirror.declaration that return Declaration Modifier and Type Method Description DeclarationTypeParameterDeclaration. 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 Declaration Modifier and Type Method Description <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 Declaration Modifier and Type Method Description booleanDeclarationFilter. matches(Declaration decl)Tests whether this filter matches a given declaration.voidDeclarationVisitor. visitDeclaration(Declaration d)Visits a declaration.voidSimpleDeclarationVisitor. visitDeclaration(Declaration d)Visits a declaration.Method parameters in com.sun.mirror.util with type arguments of type Declaration Modifier and Type Method Description <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 DeclarationFilterDeclarationFilter. getFilter(Class<? extends Declaration> kind)Returns a filter that selects declarations of a particular kind.
-