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.

BCode.java 316B

123456789101112131415161718192021222324
  1. import org.aspectj.lang.annotation.*;
  2. import org.aspectj.lang.*;
  3. abstract aspect Super {
  4. void foo(String s) {}
  5. }
  6. public aspect BCode extends Super {
  7. void around(): execution(* m(..)) {
  8. super.foo("hello");
  9. }
  10. public static void main(String []argv) {
  11. new C().m();
  12. }
  13. }
  14. class C {
  15. public void m() {}
  16. }