public class JvmAnnotation extends java.lang.Object implements Annotation
Annotation where JVM-based reflection is supported| Modifier and Type | Field and Description |
|---|---|
java.lang.annotation.Annotation |
annotation |
| Constructor and Description |
|---|
JvmAnnotation(java.lang.annotation.Annotation 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 |
public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationType)
AnnotationAnnotation valuegetAnnotation in interface AnnotationT - The annotation typeannotationType - The annotation classAnnotation valuepublic java.lang.Class<? extends java.lang.annotation.Annotation> getAnnotationType()
AnnotationAnnotation class for this annotationgetAnnotationType in interface AnnotationAnnotation class implementation