I have an aspect in my application that intercepts every advice execution on the system. I want to be able to identify which advice is being "intercepted" by my adviceexecution pointcut like this
//... some code in AdviceInspector.aj
before(): adviceexecution() && !within(AdviceInspector) {
System.out.println("advice execution being intercepted");
// TODO : get a way to know which advice execution has been intercepted
}
//... further code
Thanks in advance