aboutsummaryrefslogtreecommitdiffstats
path: root/tests/new/CflowBinding.java
blob: 0b4b4478c5a2e521d4dcea60ba1f7c0e6b4affba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
public class CflowBinding {
    public static void main(String[] args) {
    }

    public void m1() {}
    public void m2() { m1(); }
}

aspect A {
    public static Object foo = null;

    before(final Object t): execution(void m1()) && this(t) && 
        cflow(execution(void m2()) && if(t == foo))    //CE
    {
    }
}