net.thucydides.core.annotations
Class Fields

Package class diagram package Fields
java.lang.Object
  extended by 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()) {
             ...
         }
     
 


Method Summary
 Set<Field> allFields()
           
 Set<Field> nonStaticFields()
           
static Fields of(Class<?> testClass)
           
 com.google.common.base.Optional<Field> withName(String pages)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.