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.

Deow1.java 317B

12345678910111213141516
  1. import org.aspectj.lang.annotation.*;
  2. aspect X {
  3. @DeclareWarning("execution(* *.foo(..))")
  4. public static final String argleBargle = "fromX";
  5. public void foo() {}
  6. }
  7. @Aspect
  8. class Y {
  9. @DeclareWarning("execution(* *.goo(..))")
  10. public static final String argleBargle = "fromY";
  11. public void goo() {}
  12. }