I think the error is that you put the pointcut execution inside de before()'s adivce, maybe you should try with this:
Before(List <VEHICLE+>): execution(public * *(List<VEHICLE+>, ..) && args(firstArgument,..) ") greetings 2011/4/27 <[email protected]> > Send aspectj-users mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > https://dev.eclipse.org/mailman/listinfo/aspectj-users > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of aspectj-users digest..." > > > Today's Topics: > > 1. simple question about matching lists (Srinivas S Tamvada) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 26 Apr 2011 15:29:22 -0700 (PDT) > From: Srinivas S Tamvada <[email protected]> > To: [email protected] > Subject: [aspectj-users] simple question about matching lists > Message-ID: <[email protected]> > Content-Type: text/plain; charset=us-ascii > > Hi > I am trying to match methods which take list arguments. > I am interested only in list of "vehicles" or subtypes. > > Below does not seem to match. Any comments will be appreciated. > Seems okay according to > http://www.eclipse.org/aspectj/doc/released/adk15notebook/generics-inAspectJ5.html > . > > > > Thanks, > -SST > > @Before("execution(public * *(List<VEHICLE+>, ..)) && > args(firstArgument,..) ") > public void provideAdviseUponMethodInvocation( List<VEHICLE> > firstArgument , JoinPoint jp ) > > > > ------------------------------ > > _______________________________________________ > aspectj-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/aspectj-users > > > End of aspectj-users Digest, Vol 74, Issue 10 > ********************************************* > -- * ________________________________ Ignacio Rigoni Iriarte* * "La verdadera revolución, es la revolución de la conciencia"*
_______________________________________________ aspectj-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/aspectj-users
