Interface AnnotationTypeDeclaration
- All Superinterfaces:
Declaration, InterfaceDeclaration, MemberDeclaration, TypeDeclaration
Represents the declaration of an annotation type.
- Since:
- 1.5
- Version:
- 1.2 04/04/20
- Author:
- Joseph D. Darcy, Scott Seligman
-
Method Summary
Modifier and TypeMethodDescriptionReturns the annotation type elements of this annotation type.Methods inherited from interface Declaration
accept, equals, getAnnotation, getAnnotationMirrors, getDocComment, getModifiers, getPosition, getSimpleNameMethods inherited from interface MemberDeclaration
getDeclaringTypeMethods inherited from interface TypeDeclaration
getFields, getFormalTypeParameters, getNestedTypes, getPackage, getQualifiedName, getSuperinterfaces
-
Method Details
-
getMethods
Collection<AnnotationTypeElementDeclaration> getMethods()Returns the annotation type elements of this annotation type. These are the methods that are directly declared in the type's declaration.- Specified by:
getMethodsin interfaceTypeDeclaration- Returns:
- the annotation type elements of this annotation type, or an empty collection if there are none
- See Also:
-