Class 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$
    Author:
    Stephen Neuendorffer, Christopher Hylands
    Pt.AcceptedRating:
    Red (cxh)
    Pt.ProposedRating:
    Red (cxh)
    • Method Detail

      • 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 outputDirectory: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