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.

A.java 338B

123456789101112
  1. package pkg;
  2. public aspect A {
  3. before() : execution(* pack.C.method1()) && this(pack.C) {
  4. System.err.println("before exec method1 and this is C");
  5. }
  6. before() : call(* pack.C.method2()) && target(pack.C) {
  7. System.err.println("before call to method2 and target is C");
  8. }
  9. }