public class NullAnnotationProvider extends 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 Annotation> |
getAnnotation(Class<T> annotationClass)
Always returns null.
|
public NullAnnotationProvider()
public <T extends Annotation> T getAnnotation(Class<T> annotationClass)
getAnnotation in interface AnnotationProviderannotationClass - used to select the annotation to return${project.version} - Copyright © 2003-2015 The Apache Software Foundation.