public class AccessableObjectAnnotationProvider extends Object implements AnnotationProvider
Constructor and Description |
---|
AccessableObjectAnnotationProvider(AccessibleObject object) |
Modifier and Type | Method and Description |
---|---|
<T extends Annotation> |
getAnnotation(Class<T> annotationClass)
Searches for the specified annotation, returning the matching annotation instance.
|
String |
toString() |
public AccessableObjectAnnotationProvider(AccessibleObject object)
public <T extends Annotation> T getAnnotation(Class<T> annotationClass)
AnnotationProvider
getAnnotation
in interface AnnotationProvider
annotationClass
- used to select the annotation to return${project.version} - Copyright © 2003-2015 The Apache Software Foundation.