> 1. I can not capture classA calls to itself or to classB with pointcut
> "publicCallsAndCallers" . I want to capture each call to any public
> method and the       object where the call is made.
> 
> 2. Whenever I try to define a pointcut with the negation of another
> pointcut, I can not do it when it has parameters (example: pointcut
> "publicButSayCallsAndCallers") due to "negation doesn't allow binding"
> error, thus limiting its reuse, however, I can do it
>    if the pointcut is rewriten without parameters (example: pointcut
> "publicButSayCalls").

If I remember correctly, you can use !publicCallsAndCallers(*).

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

Reply via email to