Class MethodEditor.Patch

  • Enclosing class:
    MethodEditor

    public abstract static class MethodEditor.Patch
    extends java.lang.Object
    This class is subclassed for each kind of patch that you want to apply.
    • Constructor Summary

      Constructors 
      Constructor Description
      Patch()  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract void emitTo​(MethodEditor.Output w)
      Override this method to emit the code for your patch.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Patch

        public Patch()
    • Method Detail

      • emitTo

        public abstract void emitTo​(MethodEditor.Output w)
        Override this method to emit the code for your patch.