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.

pr59196.aj 356B

123456789101112131415161718
  1. aspect some_aspect {
  2. pointcut call_m(int a, int b) : call(int *.m(..)) && args(a, b);
  3. int m(int p, int q) { return 2; }
  4. void foo() {
  5. m(1,4);
  6. }
  7. int around(int x, int y) : call_m(x, y) { return 5; }
  8. }
  9. aspect other_aspect {
  10. before(int x, int y) :
  11. adviceexecution() && within(some_aspect) && args(x, y) {
  12. }
  13. }