|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.multiverse.instrumentation.StandardInstrumentor
public class StandardInstrumentor
| Constructor Summary | |
|---|---|
StandardInstrumentor(String compilerName,
String compilerVersion,
String stmName)
|
|
| Method Summary | |
|---|---|
protected void |
add(InstrumentationPhase phase)
|
void |
addExcluded(String ignored)
|
void |
addIncluded(String included)
Add a pattern that is included. |
File |
getDumpDirectory()
|
String |
getInstrumentorName()
Returns the name of this Instrumentor. |
String |
getInstrumentorVersion()
Returns the version of this Instrumentor. |
String |
getStmName()
Returns the name of the Stm this Instrumentor is going to do the instrumentation for. |
Clazz |
process(Clazz originalClazz)
Processes a clazz. |
void |
setDumpBytecode(boolean dumpBytecode)
If the bytecode generated by this Instrumentor should be dumped for debugging purposes. |
void |
setDumpDirectory(File dumpDirectory)
Sets the location of this Instrumentor. |
void |
setFiler(Filer filer)
Sets the Filer for this Instrumentor. |
void |
setLog(InstrumenterLogger log)
Sets the InstrumenterLogger this Instrumentor uses to execute log statements on. |
void |
setOptimize(boolean optimize)
|
void |
setResolver(Resolver resolver)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StandardInstrumentor(String compilerName,
String compilerVersion,
String stmName)
| Method Detail |
|---|
protected final void add(InstrumentationPhase phase)
public String getInstrumentorName()
Instrumentor
getInstrumentorName in interface InstrumentorInstrumentor.getInstrumentorVersion()public String getInstrumentorVersion()
Instrumentor
getInstrumentorVersion in interface InstrumentorInstrumentor.getInstrumentorName()public String getStmName()
Instrumentor
getStmName in interface Instrumentorpublic void addExcluded(String ignored)
addExcluded in interface Instrumentorpublic void addIncluded(String included)
Instrumentor
addIncluded in interface Instrumentorpublic void setLog(InstrumenterLogger log)
Instrumentor
setLog in interface Instrumentorpublic void setDumpBytecode(boolean dumpBytecode)
Instrumentor
setDumpBytecode in interface InstrumentordumpBytecode - true if bytecode should be dumpted.Instrumentor.setDumpDirectory(java.io.File)public void setDumpDirectory(File dumpDirectory)
Instrumentor
setDumpDirectory in interface InstrumentordumpDirectory - the directory to write the dumped classfiles to.public File getDumpDirectory()
getDumpDirectory in interface Instrumentorpublic void setFiler(Filer filer)
Instrumentor
setFiler in interface Instrumentorfiler - the filer this Instrumentor is going to use.public void setResolver(Resolver resolver)
setResolver in interface Instrumentorpublic void setOptimize(boolean optimize)
setOptimize in interface Instrumentorpublic Clazz process(Clazz originalClazz)
Instrumentor
process in interface InstrumentororiginalClazz - the Clazz to transform.
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||