Class NullAnnotationProvider
- java.lang.Object
-
- org.apache.tapestry5.commons.internal.NullAnnotationProvider
-
- All Implemented Interfaces:
AnnotationProvider
public class NullAnnotationProvider extends java.lang.Object implements AnnotationProvider
A null implementation ofAnnotationProvider
, used when there is not appropriate source of annotations.
-
-
Constructor Summary
Constructors Constructor Description NullAnnotationProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends java.lang.annotation.Annotation>
TgetAnnotation(java.lang.Class<T> annotationClass)
Always returns null.
-
-
-
Constructor Detail
-
NullAnnotationProvider
public NullAnnotationProvider()
-
-
Method Detail
-
getAnnotation
public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationClass)
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
-
-