Преглед на файлове

new version of GenericAspectY in light of our learning experience wrt. itdm matching and execution

tags/V1_5_0RC1
acolyer преди 18 години
родител
ревизия
45c56831ac
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3
    3
      tests/java5/generics/genericaspects/GenericAspectY.aj

+ 3
- 3
tests/java5/generics/genericaspects/GenericAspectY.aj Целия файл

@@ -79,19 +79,19 @@ import org.aspectj.lang.annotation.*;
// Try something simple ... when this works then look at uncommenting the two below and the two related advice
// in the sub aspect
public pointcut addingChildSimple(Parent p): execution(* Parent.addChild(Child)) && this(p);
public pointcut addingChildSimple(Parent p): execution(* ParentHasChildren.addChild(ChildHasParent)) && this(p);
/**
* Matches at an addChild join point for the parent type P and child type C
*/
// public pointcut addingChild(Parent p, Child c) :
// execution(* Parent.addChild(Child)) && this(p) && args(c);
// execution(* ParentHasChildren.addChild(ChildHasParent)) && this(p) && args(c);
/**
* Matches at a removeChild join point for the parent type P and child type C
*/
// public pointcut removingChild(Parent p, Child c) :
// execution(* Parent.removeChild(Child)) && this(p) && args(c);
// execution(* ParentHasChildren.removeChild(ChildHasParent)) && this(p) && args(c);

}

Loading…
Отказ
Запис