public class EmptyAnnotationAccess extends java.lang.Object implements AnnotationAccess
Modifier and Type | Field and Description |
---|---|
static AnnotationAccess |
SINGLETON |
Modifier and Type | Method and Description |
---|---|
<T extends java.lang.annotation.Annotation> |
getAnnotation(java.lang.Class<T> annotationType)
Returns an instantiated annotation, or null if the target does not have the indicated annotation.
|
<T extends java.lang.annotation.Annotation> |
hasAnnotation(java.lang.Class<T> annotationType)
Checks to see if the target has an annotation of the given type.
|
public static final AnnotationAccess SINGLETON
public <T extends java.lang.annotation.Annotation> boolean hasAnnotation(java.lang.Class<T> annotationType)
AnnotationAccess
hasAnnotation
in interface AnnotationAccess
public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationType)
AnnotationAccess
getAnnotation
in interface AnnotationAccess
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.