net.thucydides.core.annotations
Class Fields
java.lang.Object
net.thucydides.core.annotations.Fields
public class Fields
- extends Object
Find the annotated fields in a given class.
Used as a utility class for the higher-level annotation processing.
Typical use:
for (Field field : Fields.of(someClass).allFields()) {
...
}
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
of
public static Fields of(Class<?> testClass)
allFields
public Set<Field> allFields()
nonStaticFields
public Set<Field> nonStaticFields()
withName
public com.google.common.base.Optional<Field> withName(String pages)
Copyright © 2011-2013 Wakaleo Consulting. All Rights Reserved.