callee.adviseWithAroundStack();
assertEquals("adviseWithAroundStack ", LOG);
((Advisable) callee).aw$addAdvice(
"* test.intercept.call.Callee.adviseWithAroundStack(..)",
new AroundAdvice() {
public Object invoke(JoinPoint jp) throws Throwable {
InterceptTest.log("around2_pre_call ");
Object result = jp.proceed();
InterceptTest.log("around2_post_call ");
return result;
}
}
);
LOG = "";
callee.adviseWithAroundStack();
assertEquals("around2_pre_call adviseWithAroundStack around2_post_call ", LOG);
((Advisable) callee).aw$addAdvice(
"* test.intercept.call.Callee.adviseWithAroundStack(..)",
new AroundAdvice() {
public Object invoke(JoinPoint jp) throws Throwable {
InterceptTest.log("around3_pre_call ");
Object result = jp.proceed();
InterceptTest.log("around3_post_call ");
return result;