1234567891011121314151617 |
- package pkg;
-
- public aspect ConcreteAspect {
-
- public pointcut execM1() : execution(* pack.C.method1(..));
- public pointcut execM2() : execution(* pack.C.method2(..));
-
- before() : execM1() && this(pack.C) {
- }
-
- before() : execM2() || execM1() {
- }
-
- before() : execution(* pack.C.method1()) {
- }
-
- }
|