aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs152/pr130722/test/PointcutConsumer.aj
blob: 609cb91b4059a33ff9c981c6ccc47b67d3fa0b54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package test;

import test1.PointcutProvider;

public aspect PointcutConsumer percflow(flow()) {

        // compiler issues the following line with
        // can not find pointcut test on test.PointcutConsumer
        pointcut mytest(): PointcutProvider.test();
 
        // this also does not work with the same error message
        pointcut mytest2(): test1.PointcutProvider.test();

        pointcut flow(): mytest() || mytest2();
}