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.

DoSomeWeaving.java 279B

12345678910111213141516
  1. class DoSomeWeaving {
  2. public static void main(String[] argv) {
  3. new DoSomeWeaving().sayHi();
  4. }
  5. public void sayHi() {
  6. System.err.println("hi");
  7. }
  8. }
  9. aspect A1 {
  10. before(): call(* *(..)) && !within(A1) {
  11. System.err.println("Just about to make a call");
  12. }
  13. }