Package randoop
Class DummyVisitor
java.lang.Object
randoop.DummyVisitor
- All Implemented Interfaces:
ExecutionVisitor
A visitor that does nothing and adds no checks.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
initialize
(ExecutableSequence eseq) Called before execution of a sequence, to allow the visitor to perform any initialization steps required before execution.void
Called after execution of a sequence.void
visitAfterStatement
(ExecutableSequence eseq, int i) Invoked by ExecutableSequence.execute after the i-th statement executes.void
visitBeforeStatement
(ExecutableSequence eseq, int i) Invoked by ExecutableSequence.execute before the i-th statement executes.
-
Constructor Details
-
DummyVisitor
public DummyVisitor()
-
-
Method Details
-
initialize
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 interfaceExecutionVisitor
- Parameters:
eseq
- the code sequence to be visited
-
visitBeforeStatement
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:
visitBeforeStatement
in interfaceExecutionVisitor
- Parameters:
eseq
- the code sequence to be visitedi
- the position of statement to visit
-
visitAfterStatement
Description copied from interface:ExecutionVisitor
Invoked by ExecutableSequence.execute after the i-th statement executes.Precondition: statements 0..i have been executed.
- Specified by:
visitAfterStatement
in interfaceExecutionVisitor
- Parameters:
eseq
- the code sequence to be visitedi
- the position of statement to visit
-
visitAfterSequence
Description copied from interface:ExecutionVisitor
Called after execution of a sequence.- Specified by:
visitAfterSequence
in interfaceExecutionVisitor
- Parameters:
eseq
- the visited code sequence
-