可以這樣寫:
execution(* com.foo..*.*(..)) and !execution(* com.foo.bar..*.*(..)).
every method in com.foo but not in com.foo.bar.
execution(* com.foo..*.*(..)) and !execution(* com.foo.bar..*.*(..)).
every method in com.foo but not in com.foo.bar.