aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs161/pr235204/RecursiveCatcher.java
blob: 4a3bebd3160dcb8d3ed6097d28f3ac7b984c3eb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package recursivepackage;

public aspect RecursiveCatcher {

       pointcut recur() : 
           call(public void 
                           *.recursiveCall(int));


       before(): recur() {
           // empty
       }


        public void recursiveCall(int i) {  // marker is here
                                recursiveCall(i);  // marker should be here
        }

}