soot
Class SceneTransformer

java.lang.Object
  |
  +--soot.Transformer
        |
        +--soot.SceneTransformer
Direct Known Subclasses:
InvokeGraphBuilder, RectangularArrayFinder, SparkTransformer, StaticInliner, StaticMethodBinder, VTATestingFramework

public abstract class SceneTransformer
extends Transformer

An abstract class which acts on the whole Scene.


Constructor Summary
SceneTransformer()
           
 
Method Summary
protected  java.lang.String getDeclaredOptions()
           
 java.lang.String getDefaultOptions()
          Returns the list of the default phase options for this transformer.
protected abstract  void internalTransform(java.lang.String phaseName, java.util.Map options)
          Performs the transformation on the Scene, under the given phaseName and with the given Options.
 void transform()
          Performs the transformation on the Scene.
 void transform(java.lang.String phaseName)
          Performs the transformation on the Scene, under the given phaseName.
 void transform(java.lang.String phaseName, java.lang.String optionsString)
          Calls internalTransform with the optionsString properly set up.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SceneTransformer

public SceneTransformer()
Method Detail

transform

public final void transform(java.lang.String phaseName,
                            java.lang.String optionsString)
Calls internalTransform with the optionsString properly set up. That is, the options in optionsString override those in the Scene.


transform

public final void transform()
Performs the transformation on the Scene.


transform

public final void transform(java.lang.String phaseName)
Performs the transformation on the Scene, under the given phaseName.


internalTransform

protected abstract void internalTransform(java.lang.String phaseName,
                                          java.util.Map options)
Performs the transformation on the Scene, under the given phaseName and with the given Options.


getDefaultOptions

public java.lang.String getDefaultOptions()
Returns the list of the default phase options for this transformer.


getDeclaredOptions

protected java.lang.String getDeclaredOptions()