Package 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.HasPhaseOptionsA transformer that writes Jimple text.- Since:
- Ptolemy II 2.0
- Version:
- $Id$
- Author:
- Stephen Neuendorffer, Christopher Hylands
- Pt.AcceptedRating:
- Red (cxh)
- Pt.ProposedRating:
- Red (cxh)
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDeclaredOptions()java.lang.StringgetDefaultOptions()java.lang.StringgetPhaseName()protected voidinternalTransform(java.lang.String phaseName, java.util.Map options)Write out the Jimple file.static JimpleWriterv()
-
-
-
Method Detail
-
v
public static JimpleWriter v()
-
getPhaseName
public java.lang.String getPhaseName()
- Specified by:
getPhaseNamein interfacesoot.HasPhaseOptions
-
getDefaultOptions
public java.lang.String getDefaultOptions()
- Specified by:
getDefaultOptionsin interfacesoot.HasPhaseOptions
-
getDeclaredOptions
public java.lang.String getDeclaredOptions()
- Specified by:
getDeclaredOptionsin interfacesoot.HasPhaseOptions
-
internalTransform
protected void internalTransform(java.lang.String phaseName, java.util.Map options)Write out the Jimple file. Sample option arguments:-p wjtp.writeJimple1 outputDirectory:jimple1- Specified by:
internalTransformin classsoot.SceneTransformer- Parameters:
phaseName- The name of the phase, for examplewjtp.writeJimple2.options- The options Map. This method uses theoutdiroption to specify where the .jimple file should be written- See Also:
ClassWriter
-
-