public interface Annotation
| Modifier and Type | Method and Description |
|---|---|
<T extends java.lang.annotation.Annotation> |
getAnnotation(java.lang.Class<T> annotationType)
Returns the underlying
Annotation value |
java.lang.Class<? extends java.lang.annotation.Annotation> |
getAnnotationType()
Returns the
Annotation class for this annotation |
<T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationType)
Annotation valueT - The annotation typeannotationType - The annotation classAnnotation valuejava.lang.Class<? extends java.lang.annotation.Annotation> getAnnotationType()
Annotation class for this annotationAnnotation class implementation