Hi,

When I use withincode() && call() && args() all in the same pointcut the
args is applied to the call designator. Is this avoidable? Because what I
want is to capture the args of the withincode designator and do not restrict
the call designator.

e.g.

pointcut test(A a, B b) :
withincode(* C.method1(A, B)) &&
call(* A.*(..)) &&
args(a, b);

So this captures the calls with arguments matching (A, B) and this is the
problem.
Thanks.
-- 
View this message in context: 
http://www.nabble.com/Capture-args-with-withincode-and-call-tf3220219.html#a8943156
Sent from the AspectJ - users mailing list archive at Nabble.com.

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

Reply via email to