|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.rice.cs.cunit.instrumentors.util.ConditionalStrategy
public abstract class ConditionalStrategy
Decorator to conditionally execute a decorated strategy.
| Field Summary | |
|---|---|
(package private) IInstrumentationStrategy |
_decoree
Decorated strategy; |
| Constructor Summary | |
|---|---|
ConditionalStrategy(IInstrumentationStrategy decoree)
|
|
| Method Summary | |
|---|---|
abstract boolean |
apply(ClassFile cf)
Return true if the decoree should be applied to this class. |
void |
done()
Instrumentation of all classes is done. |
void |
instrument(ClassFile cf)
Instrument the class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
IInstrumentationStrategy _decoree
| Constructor Detail |
|---|
public ConditionalStrategy(IInstrumentationStrategy decoree)
| Method Detail |
|---|
public void instrument(ClassFile cf)
instrument in interface IInstrumentationStrategycf - class file infopublic abstract boolean apply(ClassFile cf)
public void done()
done in interface IInstrumentationStrategy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||