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 AnnotationProvider
annotationClass
- used to select the annotation to return5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.