[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[aspectj-users] AspectJ advising with generic pointcuts
- From: Srinivas <tssrinivas@xxxxxxxxx>
- Date: Tue, 28 Dec 2010 10:47:56 -0800 (PST)
- Delivered-to: firstname.lastname@example.org
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.