Class EmptyAnnotationAccess
- java.lang.Object
 - 
- org.apache.tapestry5.internal.plastic.EmptyAnnotationAccess
 
 
- 
- All Implemented Interfaces:
 AnnotationAccess
public class EmptyAnnotationAccess extends Object implements AnnotationAccess
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static AnnotationAccessSINGLETON 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <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 Detail
- 
SINGLETON
public static final AnnotationAccess SINGLETON
 
 - 
 
- 
Method Detail
- 
hasAnnotation
public <T extends Annotation> boolean hasAnnotation(Class<T> annotationType)
Description copied from interface:AnnotationAccessChecks to see if the target has an annotation of the given type.- Specified by:
 hasAnnotationin interfaceAnnotationAccess
 
- 
getAnnotation
public <T extends Annotation> T getAnnotation(Class<T> annotationType)
Description copied from interface:AnnotationAccessReturns an instantiated annotation, or null if the target does not have the indicated annotation.- Specified by:
 getAnnotationin interfaceAnnotationAccess
 
 - 
 
 -