The MethodInterceptor.intercept method receives a Method argument for the intercepted method. I've verified this in a debugger - the Method.clazz field contains a Class instance for my 'com.abc.xyz.MyClass' Class (not the cglib proxy). There is an Annotation on this method in class MyClass which is missing from the Method argument passed into MethodInterceptor.intercept.
Why is this? I've...
2009-03-14 06:07:08 UTC in Code Generation Library