Class AccessableObjectAnnotationProvider
- java.lang.Object
-
- org.apache.tapestry5.commons.internal.services.AccessableObjectAnnotationProvider
-
- All Implemented Interfaces:
AnnotationProvider
public class AccessableObjectAnnotationProvider extends Object implements AnnotationProvider
-
-
Constructor Summary
Constructors Constructor Description AccessableObjectAnnotationProvider(AccessibleObject object)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends Annotation>
TgetAnnotation(Class<T> annotationClass)
Searches for the specified annotation, returning the matching annotation instance.String
toString()
-
-
-
Constructor Detail
-
AccessableObjectAnnotationProvider
public AccessableObjectAnnotationProvider(AccessibleObject object)
-
-
Method Detail
-
getAnnotation
public <T extends Annotation> T getAnnotation(Class<T> annotationClass)
Description copied from interface:AnnotationProvider
Searches for the specified annotation, returning the matching annotation instance.- Specified by:
getAnnotation
in interfaceAnnotationProvider
- Parameters:
annotationClass
- used to select the annotation to return- Returns:
- the annotation, or null if not found
-
-