org.logicalcobwebs.cglib.proxy
Class MethodInterceptorGenerator
java.lang.Object
org.logicalcobwebs.cglib.proxy.MethodInterceptorGenerator
- All Implemented Interfaces:
- CallbackGenerator
class MethodInterceptorGenerator
- extends java.lang.Object
- implements CallbackGenerator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final MethodInterceptorGenerator INSTANCE
FIND_PROXY_NAME
static final java.lang.String FIND_PROXY_NAME
- See Also:
- Constant Field Values
FIND_PROXY_TYPES
static final java.lang.Class[] FIND_PROXY_TYPES
FIND_PROXY
private static final Signature FIND_PROXY
ABSTRACT_METHOD_ERROR
private static final Type ABSTRACT_METHOD_ERROR
METHOD
private static final Type METHOD
METHOD_PROXY
private static final Type METHOD_PROXY
METHOD_INTERCEPTOR
private static final Type METHOD_INTERCEPTOR
GET_DECLARING_CLASS
private static final Signature GET_DECLARING_CLASS
GET_CLASS_LOADER
private static final Signature GET_CLASS_LOADER
MAKE_PROXY
private static final Signature MAKE_PROXY
INTERCEPT
private static final Signature INTERCEPT
TO_STRING
private static final Signature TO_STRING
MethodInterceptorGenerator
MethodInterceptorGenerator()
generate
public void generate(ClassEmitter ce,
CallbackGenerator.Context context)
- Specified by:
generate
in interface CallbackGenerator
getFieldName
private java.lang.String getFieldName(CallbackGenerator.Context context,
java.lang.reflect.Method method)
getAccessName
private java.lang.String getAccessName(CallbackGenerator.Context context,
java.lang.reflect.Method method)
generateStatic
public void generateStatic(CodeEmitter e,
CallbackGenerator.Context context)
- Specified by:
generateStatic
in interface CallbackGenerator
generateFindProxy
public void generateFindProxy(ClassEmitter ce,
java.util.Map sigMap)