Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

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. }