public class ClassWriter
extends soot.SceneTransformer
implements soot.HasPhaseOptions
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDeclaredOptions() |
java.lang.String |
getDefaultOptions() |
java.lang.String |
getPhaseName() |
protected void |
internalTransform(java.lang.String phaseName,
java.util.Map options)
Write out the class file.
|
static ClassWriter |
v() |
public static ClassWriter v()
public java.lang.String getPhaseName()
getPhaseName
in interface soot.HasPhaseOptions
public java.lang.String getDefaultOptions()
getDefaultOptions
in interface soot.HasPhaseOptions
public java.lang.String getDeclaredOptions()
getDeclaredOptions
in interface soot.HasPhaseOptions
protected void internalTransform(java.lang.String phaseName, java.util.Map options)
Scene.v().getPack("wjtp").add(new Transform("wjtp.snapshot1", ClassWriter.v())); Scene.v().getPack("wjtp").add(new Transform("wjtp.snapshot1", JimpleWriter.v()));Sample option arguments:
-p wjtp.snapshot1 outputDirectory:jimple1
internalTransform
in class soot.SceneTransformer
phaseName
- The name of the phase, for example
wjtp.snapshot1
.options
- The options Map. This method uses the
outputDirectory
option to specify where the .class
file should be writtenJimpleWriter