Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] simple question about matching lists

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 )



Back to the top