public class ReflectionHelper extends Object
| Constructor and Description |
|---|
ReflectionHelper() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
appendFieldsAnnotatatedWith(List<Field> list,
Class<?> type,
io.fabric8.utils.Filter<Field> filter) |
static List<Field> |
findFieldsAnnotatedWith(Class<?> type,
Class<? extends Annotation> annotationClass)
Returns all the fields annotated with the given annotation in the given class or any super classes
|
static List<Field> |
findFieldsMatching(Class<?> type,
io.fabric8.utils.Filter<Field> filter)
Returns all the fields matching the given filter in the given class or any super classes
|
static Object |
getFieldValue(Field field,
Object instance) |
public static List<Field> findFieldsAnnotatedWith(Class<?> type, Class<? extends Annotation> annotationClass)
public static List<Field> findFieldsMatching(Class<?> type, io.fabric8.utils.Filter<Field> filter)
protected static void appendFieldsAnnotatatedWith(List<Field> list, Class<?> type, io.fabric8.utils.Filter<Field> filter)
Copyright © 2076–2017 Red Hat. All rights reserved.