org.codehaus.groovy.transform.powerassert
Class ValueRecorder

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

public class ValueRecorder
extends java.lang.Object

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

Author:
Peter Niederwieser

Field Summary
static java.lang.String CLEAR_METHOD_NAME
           
static java.lang.String RECORD_METHOD_NAME
           
 
Constructor Summary
ValueRecorder()
           
 
Method Summary
 void clear()
           
 java.util.List<Value> getValues()
           
 java.lang.Object record(java.lang.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 java.lang.String RECORD_METHOD_NAME
See Also:
Constant Field Values

CLEAR_METHOD_NAME

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

ValueRecorder

public ValueRecorder()
Method Detail

clear

public void clear()

record

public java.lang.Object record(java.lang.Object value,
                               int anchor)

getValues

public java.util.List<Value> getValues()

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