Spring 3 @AspectJ
in use.
One target method below,
public void testParam(@Deprecated String param) {
}
Two advices below,
@Before("args(java.lang.String)")
public void checkStrParam() {
System.out.println("str param found");
}
@Before("@args(java.lang.Deprecated)")
public void checkDepParam() {
System.out.println("dep param found");
}
Invocation on the target method only executes the args advice
. What does the @args advice
lack of?