summaryrefslogtreecommitdiffstats
path: root/tests/bugs152/pr147841/A.java
blob: 71591849400020fb9e44e47376c6389f4ff3c83d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
package pkg;

public aspect A {

        before() : execution(* pack.C.method1()) && this(pack.C) {
                System.err.println("before exec method1 and this is C");
        }

        before() : call(* pack.C.method2()) && target(pack.C) {
                System.err.println("before call to method2 and target is C");
        }
}