[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [aspectj-users] identifying class not included in pointcut
|
If I could know when the program had entered a non instrumented method,that would suffice since I could just throw a global flag of some description, though thinking about it now, that's a lot of flag checking I'm setting myself up for...
It seems like a very basic fact about any program utilizing aspectj -now we have left instrumented code, now we are reentrant. AspectJ does not support this scenario? Can anyone confirm that statement?
Thank you!
On Mar 26, 2014 12:29 AM, "Andy Clement" <
andrew.clement@xxxxxxxxx> wrote:
cflow() and cflowbelow() are the usual tools for detecting something calling some other thing - but that seems like targeting that you don't want to do. In the advice you could create a stack trace (using Thread) and inspect it to see who called you but the performance wouldn't be great.
Andy
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users