summaryrefslogtreecommitdiffstats
path: root/tests/bugs167/pr293510/SupplyMethodCollectedToService.java
blob: a038ef09788b2b792d2edb508f93743dff08ebec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package ex;

aspect SupplyMethodCollectedToService {
    declare @type: @Service * : @MethodCollected;
   
    pointcut collected() :@within(MethodCollected) && execution(* *(..));
 //   pointcut collected2() : execution(* (@MethodCollected *).*(..));
   
    before() : collected() {
        // Should advice both serve() and serve_itd()
    }
//    before() : collected2() { }
}
@interface MethodCollected {}