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)
AnnotationProvidergetAnnotation in interface AnnotationProviderannotationClass - used to select the annotation to return5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.