Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
re[aspectj-users] trieve method name from the joinPoint

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:
Sent from the AspectJ - users mailing list archive at

Back to the top