public class NullAnnotationProvider extends java.lang.Object implements AnnotationProvider
AnnotationProvider
, used when there is not appropriate source of annotations.Constructor and Description |
---|
NullAnnotationProvider() |
Modifier and Type | Method and Description |
---|---|
<T extends java.lang.annotation.Annotation> |
getAnnotation(java.lang.Class<T> annotationClass)
Always returns null.
|
public NullAnnotationProvider()
public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationClass)
getAnnotation
in interface AnnotationProvider
annotationClass
- used to select the annotation to return${project.version} - Copyright © 2003-2015 The Apache Software Foundation.