org.apache.tapestry5.ioc.internal.services
Class AccessableObjectAnnotationProvider
java.lang.Object
org.apache.tapestry5.ioc.internal.services.AccessableObjectAnnotationProvider
- All Implemented Interfaces:
- AnnotationProvider
public class AccessableObjectAnnotationProvider
- extends Object
- implements AnnotationProvider
Provides access to annotations of an accessable object such as a Method
or Field
.
AccessableObjectAnnotationProvider
public AccessableObjectAnnotationProvider(AccessibleObject object)
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 interface AnnotationProvider
- Parameters:
annotationClass
- used to select the annotation to return
- Returns:
- the annotation, or null if not found
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2003-2012 The Apache Software Foundation.