You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

WildcardedMatching.aj 455B

12345678910111213
  1. aspect WildcardedMatching {
  2. before(): execution(* m001*(@Ann*1 *)) {}
  3. public void m001a(AnnotatedWithAnno1 p) {} // yes
  4. public void m001b(@Anno1 String p) {} // no
  5. before(): execution(* m002*(@*1 (*))) {}
  6. public void m002a(@Anno1 String p) {} // yes
  7. public void m002b(AnnotatedWithAnno1 p) {} // no
  8. before(): execution(* m003*(@Anno* (*))) {}
  9. public void m003a(@Anno1 String p) {} // yes
  10. public void m003b(@Anno2 String p) {} // yes
  11. }