korat.instrumentation
Class CompoundInstrumenter
java.lang.Object
korat.instrumentation.AbstractInstrumenter
korat.instrumentation.CompoundInstrumenter
- All Implemented Interfaces:
- IInstrumenter
class CompoundInstrumenter
- extends AbstractInstrumenter
Instrumenter that consists of several other instrumenters.
The result of the instrumentation is equal to the result
of the sequential instrumentation of all the contained
instrumenters (Composite design pattern).
- Author:
- Aleksandar Milicevic
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instrumenters
private List<AbstractInstrumenter> instrumenters
CompoundInstrumenter
public CompoundInstrumenter()
add
public boolean add(AbstractInstrumenter instr)
remove
public boolean remove(AbstractInstrumenter instr)
instrument
protected void instrument(CtClass clz)
throws CannotCompileException,
NotFoundException,
IOException
- Specified by:
instrument
in class AbstractInstrumenter
- Throws:
CannotCompileException
NotFoundException
IOException