Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

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