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