org.codehaus.groovy.transform.powerassert
public class: ValueRecorder [javadoc |
source]
java.lang.Object
org.codehaus.groovy.transform.powerassert.ValueRecorder
Records values produced during evaluation of an assertion statement's truth
expression.
- author:
Peter - Niederwieser
| Field Summary |
|---|
| public static final String | RECORD_METHOD_NAME | |
| public static final String | CLEAR_METHOD_NAME | |
| Method from org.codehaus.groovy.transform.powerassert.ValueRecorder Summary: |
|---|
|
clear, getValues, record |
| Methods from java.lang.Object: |
|---|
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method from org.codehaus.groovy.transform.powerassert.ValueRecorder Detail: |
public void clear() {
values.clear();
}
|
public List<Value> getValues() {
return values;
}
|
public Object record(Object value,
int anchor) {
values.add(new Value(value, anchor));
return value;
}
|