javassist.compiler
Class CodeGen.ReturnHook

java.lang.Object
  extended by javassist.compiler.CodeGen.ReturnHook
Enclosing class:
CodeGen

protected abstract static class CodeGen.ReturnHook
extends java.lang.Object

doit() in ReturnHook is called from atReturn().


Constructor Summary
protected CodeGen.ReturnHook(CodeGen gen)
           
 
Method Summary
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

CodeGen.ReturnHook

protected CodeGen.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)


Copyright © 2011. All Rights Reserved.