12345678910111213141516 |
- public aspect MyAspect {
-
- // this throws an exception
- before(MyAnnotation myAnnotation) :
- //call(* *..*.*(..)) &&
- call(@MyAnnotation * *(..)) &&
- @annotation(myAnnotation) {
-
- }
-
- // this, however, works fine
- // before() :
- // call(@MyAnnotation * *(..)) {
- //
- // }
- }
|