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 return5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.