org.logicalcobwebs.cglib.proxy
Class InvocationHandlerGenerator

java.lang.Object
  extended by org.logicalcobwebs.cglib.proxy.InvocationHandlerGenerator
All Implemented Interfaces:
CallbackGenerator

 class InvocationHandlerGenerator
extends java.lang.Object
implements CallbackGenerator


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.logicalcobwebs.cglib.proxy.CallbackGenerator
CallbackGenerator.Context
 
Field Summary
private static Signature CSTRUCT_THROWABLE
           
static InvocationHandlerGenerator INSTANCE
           
private static Type INVOCATION_HANDLER
           
private static Signature INVOKE
           
private static Type METHOD
           
private static Type UNDECLARED_THROWABLE_EXCEPTION
           
 
Constructor Summary
InvocationHandlerGenerator()
           
 
Method Summary
 void generate(ClassEmitter ce, CallbackGenerator.Context context)
           
 void generateStatic(CodeEmitter e, CallbackGenerator.Context context)
           
private  java.lang.String getFieldName(CallbackGenerator.Context context, java.lang.reflect.Method method)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final InvocationHandlerGenerator INSTANCE

INVOCATION_HANDLER

private static final Type INVOCATION_HANDLER

UNDECLARED_THROWABLE_EXCEPTION

private static final Type UNDECLARED_THROWABLE_EXCEPTION

METHOD

private static final Type METHOD

INVOKE

private static final Signature INVOKE

CSTRUCT_THROWABLE

private static final Signature CSTRUCT_THROWABLE
Constructor Detail

InvocationHandlerGenerator

InvocationHandlerGenerator()
Method Detail

getFieldName

private java.lang.String getFieldName(CallbackGenerator.Context context,
                                      java.lang.reflect.Method method)

generate

public void generate(ClassEmitter ce,
                     CallbackGenerator.Context context)
Specified by:
generate in interface CallbackGenerator

generateStatic

public void generateStatic(CodeEmitter e,
                           CallbackGenerator.Context context)
Specified by:
generateStatic in interface CallbackGenerator