Package com.sun.mirror.type
Interface AnnotationType
- All Superinterfaces:
DeclaredType
,InterfaceType
,ReferenceType
,TypeMirror
Represents an annotation type.
- Since:
- 1.5
- Version:
- 1.1 04/01/26
- Author:
- Joseph D. Darcy, Scott Seligman
-
Method Summary
Modifier and TypeMethodDescriptionReturns the declaration of this type.Methods inherited from interface com.sun.mirror.type.DeclaredType
getActualTypeArguments, getContainingType, getSuperinterfaces
Methods inherited from interface com.sun.mirror.type.TypeMirror
accept, equals, toString
-
Method Details
-
getDeclaration
AnnotationTypeDeclaration getDeclaration()Returns the declaration of this type.Returns null if this type's declaration is unknown. This may be the result of a processing error, such as a missing class file.
- Specified by:
getDeclaration
in interfaceDeclaredType
- Specified by:
getDeclaration
in interfaceInterfaceType
- Returns:
- the declaration of this type, or null if unknown
-