Spring AOP: get access to argument names
I'm using Spring 3.x, Java 6. I have an @Around aspect with the following joinpoint: @Around("execution(public * my.service.*.*Connector.*(..))") So, I'm basically interested in intercepting all calls to public methods of classes with the class name ending with "Connector". So far so good. Now, in my aspect I would like to access the actual argument names of the methods: public doStuff(String myarg, Long anotherArg) myarg and anotherArg I understand that using: CodeSignature signature = (CodeSignature)jointPoint.getSignature(); return signature.getParameterNames(); will actually work but only