blob: 1226637ebe1027ee588f5ab35252225a813f08d3 (
plain)
1
2
3
4
5
6
7
8
9
10
|
package x;
abstract aspect Aspect {
abstract pointcut scope();
before(): call(* foo(..)) && cflow(execution(* toplevel(..))) && scope() {
System.out.println("advice fired");
}
}
|