public abstract class AnnotationInspector<T extends AccessibleObject,M> extends Object
Annotation class.
The returned members can be mapped to a different type.
The result after mapping will be cached for performance reasons| Constructor and Description |
|---|
AnnotationInspector() |
| Modifier and Type | Method and Description |
|---|---|
Collection<M> |
getAnnotatedMembers(Class clazz,
Class<? extends Annotation> annotation) |
protected abstract T[] |
getDeclaredMembers(Class clazz) |
protected abstract M |
map(T member) |
public Collection<M> getAnnotatedMembers(Class clazz, Class<? extends Annotation> annotation)
Copyright © 2023. All rights reserved.