Hi all,
I need a little help

I have to write a pointcut to capture something like


* *.method(Strring,...) && args(a) && checkParameter(a)

checkParameter is a method with this signature

static boolean checkParameter(String a)

I have tried with

myMethodCall(String a):
call(* *.method(String,..)) && args(a) && checkParameter(a);

and It works, I want know if is possible to write the same pointcut without
declare

myMethodCall(String a)

but only myMethodCall()


Thank You all

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

Reply via email to