Package soot

Class Transform

  • All Implemented Interfaces:
    HasPhaseOptions

    public class Transform
    extends Object
    implements HasPhaseOptions
    Maintains the pair (phaseName, singleton) needed for a transformation.
    • Method Detail

      • setDeclaredOptions

        public void setDeclaredOptions​(String options)
        Allows user-defined phases to have options other than just enabled without having to mess with the XML. Call this method with a space-separated list of options declared for this Transform. Only declared options may be passed to this transform as a phase option.
      • setDefaultOptions

        public void setDefaultOptions​(String options)
        Allows user-defined phases to have options other than just enabled without having to mess with the XML. Call this method with a space-separated list of option:value pairs that this Transform is to use as default parameters (eg `enabled:off').
      • apply

        public void apply()
      • apply

        public void apply​(Body b)