randoop
Class DummyVisitor

Object
  extended by DummyVisitor
All Implemented Interfaces:
ExecutionVisitor

public final class DummyVisitor
extends Object
implements ExecutionVisitor

A visitor that does nothing and adds no checks.


Constructor Summary
Constructor and Description
DummyVisitor()
           
 
Method Summary
Modifier and Type Method and Description
 void initialize(ExecutableSequence executableSequence)
          Called before execution of a sequence, to allow the visitor to perform any initialization steps required before execution.
 void visitAfter(ExecutableSequence sequence, int i)
          Invoked by ExecutableSequence.execute after the i-th statement executes.
 void visitBefore(ExecutableSequence sequence, int i)
          Invoked by ExecutableSequence.execute before the i-th statement executes.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DummyVisitor

public DummyVisitor()
Method Detail

initialize

public void initialize(ExecutableSequence executableSequence)
Description copied from interface: ExecutionVisitor
Called before execution of a sequence, to allow the visitor to perform any initialization steps required before execution.

Specified by:
initialize in interface ExecutionVisitor

visitBefore

public void visitBefore(ExecutableSequence sequence,
                        int i)
Description copied from interface: ExecutionVisitor
Invoked by ExecutableSequence.execute before the i-th statement executes. Precondition: statements 0..i-1 have been executed.

Specified by:
visitBefore in interface ExecutionVisitor

visitAfter

public void visitAfter(ExecutableSequence sequence,
                       int i)
Description copied from interface: ExecutionVisitor
Invoked by ExecutableSequence.execute after the i-th statement executes. Precondition: statements 0..i have been executed.

Specified by:
visitAfter in interface ExecutionVisitor