Class CodeGen.ReturnHook

  • Enclosing class:
    CodeGen

    protected abstract static class CodeGen.ReturnHook
    extends java.lang.Object
    doit() in ReturnHook is called from atReturn().
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ReturnHook​(CodeGen gen)  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected abstract boolean doit​(Bytecode b, int opcode)
      Returns true if the generated code ends with return, throw, or goto.
      protected void remove​(CodeGen gen)  
      • Methods inherited from class java.lang.Object

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

      • ReturnHook

        protected ReturnHook​(CodeGen gen)
    • Method Detail

      • doit

        protected abstract boolean doit​(Bytecode b,
                                        int opcode)
        Returns true if the generated code ends with return, throw, or goto.
      • remove

        protected void remove​(CodeGen gen)