Class EmptyAnnotationAccess
java.lang.Object
org.apache.tapestry5.internal.plastic.EmptyAnnotationAccess
- All Implemented Interfaces:
AnnotationAccess
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescription<T extends Annotation>
TgetAnnotation
(Class<T> annotationType) Returns an instantiated annotation, or null if the target does not have the indicated annotation.<T extends Annotation>
booleanhasAnnotation
(Class<T> annotationType) Checks to see if the target has an annotation of the given type.
-
Field Details
-
SINGLETON
-
-
Method Details
-
hasAnnotation
Description copied from interface:AnnotationAccess
Checks to see if the target has an annotation of the given type.- Specified by:
hasAnnotation
in interfaceAnnotationAccess
-
getAnnotation
Description copied from interface:AnnotationAccess
Returns an instantiated annotation, or null if the target does not have the indicated annotation.- Specified by:
getAnnotation
in interfaceAnnotationAccess
-