aboutsummaryrefslogtreecommitdiffstats
path: root/tests/new/Binkley.java
blob: 7ab515de578b9ca68e64220fa200812e4eeeaf75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import org.aspectj.testing.Tester;

public class Binkley {
    public static void main(String[] args) {
        new Binkley().realMain(args);
    }
    public void realMain(String[] args) {
        Tester.check(true, "compiled!");
    }
}

aspect A percflow(pc())
{
    pointcut pc() : within(Binkley);
    before(): cflow(pc()) && !(call (new())) && !within(A) { }
}