Class AccessableObjectAnnotationProvider
- java.lang.Object
- 
- org.apache.tapestry5.commons.internal.services.AccessableObjectAnnotationProvider
 
- 
- All Implemented Interfaces:
- AnnotationProvider
 
 public class AccessableObjectAnnotationProvider extends java.lang.Object implements AnnotationProvider Provides access to annotations of an accessable object such as aMethodorField.
- 
- 
Constructor SummaryConstructors Constructor Description AccessableObjectAnnotationProvider(java.lang.reflect.AccessibleObject object)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends java.lang.annotation.Annotation>
 TgetAnnotation(java.lang.Class<T> annotationClass)Searches for the specified annotation, returning the matching annotation instance.java.lang.StringtoString()
 
- 
- 
- 
Constructor Detail- 
AccessableObjectAnnotationProviderpublic AccessableObjectAnnotationProvider(java.lang.reflect.AccessibleObject object) 
 
- 
 - 
Method Detail- 
getAnnotationpublic <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationClass) Description copied from interface:AnnotationProviderSearches for the specified annotation, returning the matching annotation instance.- Specified by:
- getAnnotationin interface- AnnotationProvider
- Parameters:
- annotationClass- used to select the annotation to return
- Returns:
- the annotation, or null if not found
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-