aboutsummaryrefslogtreecommitdiffstats
path: root/tests/errors/NoAspect.java
blob: c735fd27a94cd4c83728e85d9cb4f465cb2c7d03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
public class NoAspect {
    public static void main(String[] args) {
        new NoAspect().go();
    }

    void go() {
    }
}

class A {
    static pointcut p(): target(*) && call(* go(..));
    before(): p() {
    }
}