Community
Participate
Working Groups
Consider the example below, the two equivalent pointcuts result in one matching (the one below) while the other doesn't match. import some_other_package.not_the_one_where_this_aspect_is.Account; @Aspect public class MyClass { //this does not match... @Pointcut("execution(* Account.withdraw(..)) && args(amount)") public void withdr(double amount){} @Before("withdr(amount)") public void dosomething1(double amount){} //this matches @Before("execution(* Account.withdraw(..)) && args(amount)") public void dosomthing2(double amount){} }