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>constantsToFieldsstatic Stringname-
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 transformercode names on which current transformer depends on.StringgetName()Gets the code name ofjbco transformerimplementation.protected voidinternalTransform(String phaseName, Map<String,String> options)Performs the transformation on the Scene, under the given phaseName and with the given Options.voidoutputSummary()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:IJbcoTransformGets the code name ofjbco transformerimplementation.- Specified by:
getNamein interfaceIJbcoTransform- Returns:
- the code name of
jbco transformer
-
getDependencies
public String[] getDependencies()
Description copied from interface:IJbcoTransformGets array ofjbco transformercode names on which current transformer depends on.- Specified by:
getDependenciesin interfaceIJbcoTransform- Returns:
- array of code names
-
outputSummary
public void outputSummary()
Description copied from interface:IJbcoTransformPrints summary of the produced changes.- Specified by:
outputSummaryin interfaceIJbcoTransform
-
internalTransform
protected void internalTransform(String phaseName, Map<String,String> options)
Description copied from class:SceneTransformerPerforms the transformation on the Scene, under the given phaseName and with the given Options.- Specified by:
internalTransformin classSceneTransformer
-
-