Right.... last spam from me on this.... I've looked at the bug report
and can see a failure when the program is in a package.
However, I should have said in the first place that you cannot do
parameter annotation matching with @args(), that is for matching an
annotation on the type of the parameter.
@Foo
class MyAnnotatedType {}
public void m(MyAnnotatedType mat) {}
execution(* *.m(..)) && @args(Foo) // will match m
The only way to match parameter annotations is to use the syntax I
showed earlier:
public void m(MyAnnotatedType mat) {}
public void m2(@Foo String s) {}
execution(* *.m*(@Foo (*))) // will only match m2