ptolemy.copernicus.kernel
Class JimpleWriter
java.lang.Object
soot.Transformer
soot.SceneTransformer
ptolemy.copernicus.kernel.JimpleWriter
- All Implemented Interfaces:
- soot.HasPhaseOptions
public class JimpleWriter
- extends soot.SceneTransformer
- implements soot.HasPhaseOptions
A transformer that writes Jimple text.
- Since:
- Ptolemy II 2.0
- Version:
- $Id: JimpleWriter.java,v 1.29 2005/07/08 19:57:15 cxh Exp $
- Author:
- Stephen Neuendorffer, Christopher Hylands
- Accepted Rating:
- Proposed Rating:
Methods inherited from class soot.SceneTransformer |
transform, transform, transform |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
v
public static JimpleWriter v()
getPhaseName
public java.lang.String getPhaseName()
- Specified by:
getPhaseName
in interface soot.HasPhaseOptions
getDefaultOptions
public java.lang.String getDefaultOptions()
- Specified by:
getDefaultOptions
in interface soot.HasPhaseOptions
getDeclaredOptions
public java.lang.String getDeclaredOptions()
- Specified by:
getDeclaredOptions
in interface soot.HasPhaseOptions
internalTransform
protected void internalTransform(java.lang.String phaseName,
java.util.Map options)
- Write out the Jimple file.
Sample option arguments:
-p wjtp.writeJimple1 outDir:jimple1
- Specified by:
internalTransform
in class soot.SceneTransformer
- Parameters:
phaseName
- The name of the phase, for example
wjtp.writeJimple2
.options
- The options Map. This method uses the
outdir
option to specify where the .jimple
file should be written- See Also:
ClassWriter