Interface ScriptMutator

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void mutate​(java.lang.String script, java.lang.StringBuilder outputTo)
      Mutate a script.
    • Method Detail

      • mutate

        void mutate​(java.lang.String script,
                    java.lang.StringBuilder outputTo)
        Mutate a script. The original, unmodified script is used to generate a script on the StringBuilder, the "toString" method of which should be used to get the result. We make use of a StringBuilder rather than a normal String so that we can efficiently chain mutators.
        Parameters:
        script - The original script.
        outputTo - The mutated script.