Not directly, but you may create another pointcut and use the original from it:
pointcut myMethodCall2() : myMethodCall(*); -Ramnivas On Mon, Dec 8, 2008 at 10:16 AM, Marco Poggi <[EMAIL PROTECTED]> wrote: > 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 > > _______________________________________________ aspectj-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/aspectj-users
