soot.jbco.bafTransformations
Class AddJSRs
java.lang.Object
soot.Transformer
soot.BodyTransformer
soot.jbco.bafTransformations.AddJSRs
- All Implemented Interfaces:
- IJbcoTransform
public class AddJSRs
- extends BodyTransformer
- implements IJbcoTransform
- Author:
- Michael Batchelder
Created on 22-Mar-2006
This transformer transforms gotos/ifs into JSRS, but not all of them.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dependancies
public static String[] dependancies
name
public static String name
AddJSRs
public AddJSRs()
getDependancies
public String[] getDependancies()
- Specified by:
getDependancies
in interface IJbcoTransform
getName
public String getName()
- Specified by:
getName
in interface IJbcoTransform
outputSummary
public void outputSummary()
- Specified by:
outputSummary
in interface IJbcoTransform
internalTransform
protected void internalTransform(Body b,
String phaseName,
Map options)
- Description copied from class:
BodyTransformer
- This method is called to perform the transformation itself. It is declared
abstract; subclasses must implement this method by making it the entry point
to their actual Body transformation.
- Specified by:
internalTransform
in class BodyTransformer
- Parameters:
b
- 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.