public abstract class AnnotatedElementAccessor extends Object
| Constructor and Description |
|---|
AnnotatedElementAccessor() |
| Modifier and Type | Method and Description |
|---|---|
static List<AnnotatedElement> |
findAnnotatedElements(Class<? extends Annotation> annotationType,
Class<?> clazz)
Find annotated elements on types
|
static Object |
getValue(AnnotatedElement element,
Object target) |
static void |
setValue(AnnotatedElement element,
Object target,
Object value)
Try to set a value on AnnotatedElement.
|
public static List<AnnotatedElement> findAnnotatedElements(Class<? extends Annotation> annotationType, Class<?> clazz)
ann - annotation to searchclazz - class to search on.public static void setValue(AnnotatedElement element, Object target, Object value)
element - the annotated element.value - value to set.public static Object getValue(AnnotatedElement element, Object target)
Copyright © 2014 JDAL. All Rights Reserved.