soot
Class Transform

java.lang.Object
  |
  +--soot.Transform

public class Transform
extends java.lang.Object
implements HasPhaseOptions

Maintains the pair (phaseName, singleton) needed for a transformation.


Constructor Summary
Transform(java.lang.String phaseName, Transformer t)
           
 
Method Summary
 void apply()
           
 void apply(Body b)
           
 java.lang.String getDeclaredOptions()
           
 java.lang.String getDefaultOptions()
           
 java.lang.String getPhaseName()
           
 Transformer getTransformer()
           
 void setDeclaredOptions(java.lang.String options)
          Allows user-defined phases to have options other than just enabled without having to mess with the XML.
 void setDefaultOptions(java.lang.String options)
          Allows user-defined phases to have options other than just enabled without having to mess with the XML.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Transform

public Transform(java.lang.String phaseName,
                 Transformer t)
Method Detail

getPhaseName

public java.lang.String getPhaseName()
Specified by:
getPhaseName in interface HasPhaseOptions

getTransformer

public Transformer getTransformer()

getDeclaredOptions

public java.lang.String getDeclaredOptions()
Specified by:
getDeclaredOptions in interface HasPhaseOptions

getDefaultOptions

public java.lang.String getDefaultOptions()
Specified by:
getDefaultOptions in interface HasPhaseOptions

setDeclaredOptions

public void setDeclaredOptions(java.lang.String options)
Allows user-defined phases to have options other than just enabled without having to mess with the XML.

setDefaultOptions

public void setDefaultOptions(java.lang.String options)
Allows user-defined phases to have options other than just enabled without having to mess with the XML.

apply

public void apply()

apply

public void apply(Body b)