Hello,

In the following code, I want to process on "myObject" everytime a
add*() method is called :

myObject.getMyList().add()

I'm not able to find the suitable pointcut... I can get the Collection
returned by getMyList(), but I can't get the object that contains the
List.

I tried :

public pointcut AddItem(MyClass r): 
        call(* MyClass.get*.add*(..)) && target(r);

Any ideas ? 
Thanks !

Fifre

_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to