Package soot.plugins

Interface SootPhasePlugin


  • public interface SootPhasePlugin
    An interface every phase plugin has to implement. The plugin has to support basic functionality, such as creating the transformer and support a list of possible options. The first method that is called after object creation is setDescription then the list of possible parameters is called and the last step is the call to getTransformer.
    Author:
    Bernhard J. Berger
    • Method Detail

      • getDeclaredOptions

        String[] getDeclaredOptions()
        Returns:
        a list of phase options.
      • getDefaultOptions

        String[] getDefaultOptions()
        Returns a list of default values for initializing the parameters. Each entry in the list is of kind ":". Please note, that you have to add the ENABLED_BY_DEFAULT option if you want the plugin to be enabled.
        Returns:
        a list of default values.
      • getTransformer

        Transformer getTransformer()
        Creates a new transformer instance (either SceneTransformer or BodyTransformer). The method will be called just once.
        Returns:
        a new transformer instance.