I have a method and around advice on that method. When that method gets called, advice is getting applied on it.
methodA();
In a special case, when that method gets from another method, I would like to suppress advice getting applied on it. When methodA()
gets called from methodB()
, I would like to suppress applying advice on methodA()
. Is this possible?
methodB() {
methodA();
}