org.codehaus.groovy.transform.powerassert
Class ValueRecorder

java.lang.Object
  extended by org.codehaus.groovy.transform.powerassert.ValueRecorder

public class ValueRecorder
extends Object

Records values produced during evaluation of an assertion statement's truth expression.

Author:
Peter Niederwieser

Field Summary
static String CLEAR_METHOD_NAME
           
static String RECORD_METHOD_NAME
           
 
Constructor Summary
ValueRecorder()
           
 
Method Summary
 void clear()
           
 List<Value> getValues()
           
 Object record(Object value, int anchor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RECORD_METHOD_NAME

public static final String RECORD_METHOD_NAME
See Also:
Constant Field Values

CLEAR_METHOD_NAME

public static final String CLEAR_METHOD_NAME
See Also:
Constant Field Values
Constructor Detail

ValueRecorder

public ValueRecorder()
Method Detail

clear

public void clear()

record

public Object record(Object value,
                     int anchor)

getValues

public List<Value> getValues()

Copyright © 2003-2009 The Codehaus. All rights reserved.