Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] AspectJ advising with generic pointcuts

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.


Back to the top