Class NullAnnotationProvider
java.lang.Object
org.apache.tapestry5.commons.internal.NullAnnotationProvider
- All Implemented Interfaces:
AnnotationProvider
A null implementation of
AnnotationProvider
, used when there is not appropriate source of annotations.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends Annotation>
TgetAnnotation
(Class<T> annotationClass) Always returns null.
-
Constructor Details
-
NullAnnotationProvider
public NullAnnotationProvider()
-
-
Method Details
-
getAnnotation
Always returns null.- Specified by:
getAnnotation
in interfaceAnnotationProvider
- Parameters:
annotationClass
- used to select the annotation to return- Returns:
- the annotation, or null if not found
-