soot
Class Transform
java.lang.Object
soot.Transform
- All Implemented Interfaces:
- HasPhaseOptions
public class Transform
- extends Object
- implements HasPhaseOptions
Maintains the pair (phaseName, singleton) needed for a
transformation.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Transform
public Transform(String phaseName,
Transformer t)
getPhaseName
public String getPhaseName()
- Specified by:
getPhaseName
in interface HasPhaseOptions
getTransformer
public Transformer getTransformer()
getDeclaredOptions
public String getDeclaredOptions()
- Specified by:
getDeclaredOptions
in interface HasPhaseOptions
getDefaultOptions
public String getDefaultOptions()
- Specified by:
getDefaultOptions
in interface HasPhaseOptions
setDeclaredOptions
public void setDeclaredOptions(String options)
- Allows user-defined phases to have options other than just enabled
without having to mess with the XML.
Call this method with a space-separated list of options declared
for this Transform. Only declared options may be passed to this
transform as a phase option.
setDefaultOptions
public void setDefaultOptions(String options)
- Allows user-defined phases to have options other than just
enabled without having to mess with the XML. Call this method
with a space-separated list of option:value pairs that this
Transform is to use as default parameters (eg
`enabled:off').
apply
public void apply()
apply
public void apply(Body b)