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.

Z.java 255B

12345678910111213141516
  1. // HasMethod with anno value matching
  2. @interface I {
  3. boolean b();
  4. }
  5. aspect A {
  6. declare parents: hasmethod(@I(b=true) * *(..)) implements java.io.Serializable;
  7. }
  8. class B {
  9. @I(b=true) public void m() {}
  10. }
  11. class C {
  12. @I(b=false) public void m() {}
  13. }