Hi all,

Here is my code :

pointcut oneCachedCall(int x):
                execution(long *(int))
                && args(x);
        
long around(int x) : oneCachedCall(x) {
    System.out.println(theSurroundedMethod); // of course
theSurroundedMethod should be replaced by something else
    return proceed(x);
}

I wanted to know whether it is possible to retrieve the method, which will
be woven, from the "around's body" or not.

thanks in advance.
-- 
View this message in context: 
http://www.nabble.com/retrieve-method-name-from-the-joinPoint-tp16197930p16197930.html
Sent from the AspectJ - users mailing list archive at Nabble.com.

_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to