mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-26 17:58:43 +02:00
12 lines
190 B
Java
12 lines
190 B
Java
|
|
aspect Foo pertarget(target(Pos)) {
|
|
int count = 0;
|
|
|
|
before (): ( call(* getX(..)) ||
|
|
call(* getY(..)) ||
|
|
call(* move(..)) ) {
|
|
count++;
|
|
}
|
|
}
|
|
|