Package org.apache.groovy.contracts.util
Class FieldValues
java.lang.Object
org.apache.groovy.contracts.util.FieldValues
This utility is meant to be used to replace direct calls to private
 field variables in class invariants.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic <T> TfieldValue(Object obj, String fieldName, Class<T> type) 
- 
Constructor Details- 
FieldValuespublic FieldValues()
 
- 
- 
Method Details- 
fieldValuepublic static <T> T fieldValue(Object obj, String fieldName, Class<T> type) throws IllegalAccessException - Throws:
- IllegalAccessException
 
 
-