|
||||||||||
| 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(java.lang.String compilerName,
java.lang.String compilerVersion,
java.lang.String stmName)
|
|
| Method Summary | |
|---|---|
protected void |
add(InstrumentationPhase phase)
|
void |
exclude(java.lang.String pattern)
|
java.io.File |
getDumpDirectory()
|
java.lang.String |
getExcluded()
Returns a string containing all |
java.lang.String |
getIncluded()
|
java.lang.String |
getName()
Returns the name of this Instrumentor. |
java.lang.String |
getStmName()
Returns the name of the Stm this Instrumentor is going to do the instrumentation for. |
java.lang.String |
getVersion()
Returns the version of this Instrumentor. |
void |
include(java.lang.String pattern)
Add a pattern that is included. |
Clazz |
process(Clazz originalClazz)
Processes a clazz. |
java.lang.String |
removeTrailingAndPrecedingSemicolons(java.lang.String s)
|
void |
setDumpBytecode(boolean dumpBytecode)
If the bytecode generated by this Instrumentor should be dumped for debugging purposes. |
void |
setDumpDirectory(java.io.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)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StandardInstrumentor(java.lang.String compilerName,
java.lang.String compilerVersion,
java.lang.String stmName)
| Method Detail |
|---|
protected final void add(InstrumentationPhase phase)
public java.lang.String getName()
Instrumentor
getName in interface InstrumentorInstrumentor.getVersion()public java.lang.String getVersion()
Instrumentor
getVersion in interface InstrumentorInstrumentor.getName()public java.lang.String getStmName()
Instrumentor
getStmName in interface Instrumentorpublic java.lang.String getExcluded()
Instrumentor
getExcluded in interface Instrumentorpublic java.lang.String getIncluded()
getIncluded in interface Instrumentorpublic void exclude(java.lang.String pattern)
exclude in interface Instrumentorpublic java.lang.String removeTrailingAndPrecedingSemicolons(java.lang.String s)
public void include(java.lang.String pattern)
Instrumentor
include 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(java.io.File dumpDirectory)
Instrumentor
setDumpDirectory in interface InstrumentordumpDirectory - the directory to write the dumped classfiles to.public java.io.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 setOptimize(boolean optimize)
setOptimize in interface Instrumentorpublic Clazz process(Clazz originalClazz)
Instrumentor
process in interface InstrumentororiginalClazz - the Clazz to transform.
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||