|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--soot.Transformer | +--soot.BodyTransformer
An abstract class which acts on a Body. This class provides a harness and acts as an interface for classes that wish to transform a Body. Subclasses provide the actual Body transformation implementation.
Constructor Summary | |
BodyTransformer()
|
Method Summary | |
protected java.lang.String |
getDeclaredOptions()
|
java.lang.String |
getDefaultOptions()
|
protected abstract void |
internalTransform(Body b,
java.lang.String phaseName,
java.util.Map options)
This method is called to perform the transformation itself. |
void |
transform(Body b)
Called by clients of the transformation. |
void |
transform(Body b,
java.lang.String phaseName)
Called by clients of the transformation. |
void |
transform(Body b,
java.lang.String phaseName,
java.lang.String optionsString)
Called by clients of the transformation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BodyTransformer()
Method Detail |
public final void transform(Body b, java.lang.String phaseName, java.lang.String optionsString)
b
- the body on which to apply the transformationphaseName
- phaseName for the transform. Used to retrieve options from the Scene.optionsString
- public final void transform(Body b)
b
- the body on which to apply the transformationpublic final void transform(Body b, java.lang.String phaseName)
b
- the body on which to apply the transformationphaseName
- phaseName for the transform. Used to retrieve options from the Scene.public java.lang.String getDefaultOptions()
protected abstract void internalTransform(Body b, java.lang.String phaseName, java.util.Map options)
b
- the body on which to apply the transformationphaseName
- the phasename for this transform; not typically used by implementations.options
- the actual computed options; a combination of default options and Scene specified options.protected java.lang.String getDeclaredOptions()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |