diff options
author | acolyer <acolyer> | 2005-11-25 09:47:33 +0000 |
---|---|---|
committer | acolyer <acolyer> | 2005-11-25 09:47:33 +0000 |
commit | 45c56831ac368e64270c87e781981d482509a888 (patch) | |
tree | 495cf90609323d3c17bdc451121d09e69dc5a838 /tests/java5 | |
parent | 749461102f3d5b4d89cf0b1ad744be97e161951b (diff) | |
download | aspectj-45c56831ac368e64270c87e781981d482509a888.tar.gz aspectj-45c56831ac368e64270c87e781981d482509a888.zip |
new version of GenericAspectY in light of our learning experience wrt. itdm matching and execution
Diffstat (limited to 'tests/java5')
-rw-r--r-- | tests/java5/generics/genericaspects/GenericAspectY.aj | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/java5/generics/genericaspects/GenericAspectY.aj b/tests/java5/generics/genericaspects/GenericAspectY.aj index c863fcf41..177344664 100644 --- a/tests/java5/generics/genericaspects/GenericAspectY.aj +++ b/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); } |