aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs154/pr169706/MyAspect.java
blob: e533064dbb8d1b7db5a2974d154cae4c3887d9b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
public aspect MyAspect {

    // this throws an exception
    before(MyAnnotation myAnnotation) : 
        //call(* *..*.*(..)) &&
        call(@MyAnnotation * *(..)) &&
        @annotation(myAnnotation) {

    }

    // this, however, works fine
//     before() : 
 //        call(@MyAnnotation * *(..)) {
  //   
   //  }
}