Package soot.jbco.jimpleTransformations
Class CollectConstants
- java.lang.Object
-
- soot.Transformer
-
- soot.SceneTransformer
-
- soot.jbco.jimpleTransformations.CollectConstants
-
- All Implemented Interfaces:
IJbcoTransform
public class CollectConstants extends SceneTransformer implements IJbcoTransform
- Since:
- 31-May-2006
- Author:
- Michael Batchelder
-
-
Field Summary
Fields Modifier and Type Field Description static HashMap<Constant,SootField>
constantsToFields
static String
name
-
Fields inherited from interface soot.jbco.IJbcoTransform
debug, out, output
-
-
Constructor Summary
Constructors Constructor Description CollectConstants()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]
getDependencies()
Gets array ofjbco transformer
code names on which current transformer depends on.String
getName()
Gets the code name ofjbco transformer
implementation.protected void
internalTransform(String phaseName, Map<String,String> options)
Performs the transformation on the Scene, under the given phaseName and with the given Options.void
outputSummary()
Prints summary of the produced changes.-
Methods inherited from class soot.SceneTransformer
transform, transform, transform
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface soot.jbco.IJbcoTransform
isDebugEnabled, isVerbose
-
-
-
-
Field Detail
-
name
public static final String name
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:IJbcoTransform
Gets the code name ofjbco transformer
implementation.- Specified by:
getName
in interfaceIJbcoTransform
- Returns:
- the code name of
jbco transformer
-
getDependencies
public String[] getDependencies()
Description copied from interface:IJbcoTransform
Gets array ofjbco transformer
code names on which current transformer depends on.- Specified by:
getDependencies
in interfaceIJbcoTransform
- Returns:
- array of code names
-
outputSummary
public void outputSummary()
Description copied from interface:IJbcoTransform
Prints summary of the produced changes.- Specified by:
outputSummary
in interfaceIJbcoTransform
-
internalTransform
protected void internalTransform(String phaseName, Map<String,String> options)
Description copied from class:SceneTransformer
Performs the transformation on the Scene, under the given phaseName and with the given Options.- Specified by:
internalTransform
in classSceneTransformer
-
-