aboutsummaryrefslogtreecommitdiffstats
path: root/tests/errors/NoFormalsCrosscut.java
blob: d37d803919fce4808f054b528befa4590c373f9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import org.aspectj.testing.Tester;

aspect NoFormalsCrosscut {
    public void foo() {}

    pointcut xcut1(): * *(..);
    pointcut xcut2(): NoFormalsCrosscut;
    before(): xcut1 && xcut2() {
            System.out.println("before");
    }
}