1 2 3 4 5 6 7 8 9 10 11 12 13 14
privileged aspect Test { before(): get(* foo) {} before(): get(* goo) {} public int A.getFoo() { return foo; } public int A.getGoo() { return goo; } }