| Package | Description |
|---|---|
| com.tngtech.jgiven.impl.util |
| Modifier and Type | Method and Description |
|---|---|
static ReflectionUtil.FieldPredicate |
ReflectionUtil.allFields() |
static ReflectionUtil.FieldPredicate |
ReflectionUtil.hasAtLeastOneAnnotation(Class<? extends Annotation>... annotation) |
| Modifier and Type | Method and Description |
|---|---|
static void |
ReflectionUtil.forEachField(Object object,
Class<?> clazz,
ReflectionUtil.FieldPredicate predicate,
ReflectionUtil.FieldAction action)
Iterates over all fields of the given class and all its super classes
and calls action.act() for the fields that are annotated with the given annotation.
|
Copyright © 2014 TNG Technology Consulting. All rights reserved.