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.

ConcreteAspect.aj 307B

1234567891011121314151617
  1. package pkg;
  2. public aspect ConcreteAspect {
  3. public pointcut execM1() : execution(* pack.C.method1(..));
  4. public pointcut execM2() : execution(* pack.C.method2(..));
  5. before() : execM1() && this(pack.C) {
  6. }
  7. before() : execM2() || execM1() {
  8. }
  9. before() : execution(* pack.C.method1()) {
  10. }
  11. }