I have a Java program with a Vehicle class, and classes derived from Vehicle,
such as Car, Bus, and Truck.

I want to advise all methods which either take Vehicle type as the first
argument, or a derived class of Vehicle as the first argument.

Can this be done with AspectJ with just one pointcut? What are the
alternatives ? I am using the AspectJ maven plugin.

-- 
View this message in context: 
http://aspectj.2085585.n4.nabble.com/AspectJ-advising-with-generic-pointcuts-tp3166319p3166319.html
Sent from the AspectJ - users mailing list archive at Nabble.com.
_______________________________________________
aspectj-users mailing list
aspectj-users@eclipse.org
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to