public class GotoInstrumenter extends BodyTransformer implements IJbcoTransform
goto
commands and labels
. Also if possible adds try-catch
block in random position.Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
dependencies |
static java.lang.String |
name |
debug, out, output
Constructor and Description |
---|
GotoInstrumenter() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getDependencies()
Gets array of
jbco transformer code names on which current transformer depends on. |
java.lang.String |
getName()
Gets the code name of
jbco transformer implementation. |
protected void |
internalTransform(Body body,
java.lang.String phaseName,
java.util.Map<java.lang.String,java.lang.String> options)
This method is called to perform the transformation itself.
|
void |
outputSummary()
Prints summary of the produced changes.
|
transform, transform, transform
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isDebugEnabled, isVerbose
public static final java.lang.String name
public static final java.lang.String[] dependencies
public java.lang.String getName()
IJbcoTransform
jbco transformer
implementation.getName
in interface IJbcoTransform
jbco transformer
public java.lang.String[] getDependencies()
IJbcoTransform
jbco transformer
code names on which current transformer depends on.getDependencies
in interface IJbcoTransform
public void outputSummary()
IJbcoTransform
outputSummary
in interface IJbcoTransform
protected void internalTransform(Body body, java.lang.String phaseName, java.util.Map<java.lang.String,java.lang.String> options)
BodyTransformer
internalTransform
in class BodyTransformer
body
- the body on which to apply the transformationphaseName
- the phasename for this transform; not typically used by implementations.options
- the actual computed options; a combination of default options and Scene specified options.