[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
Re: [aspectj-users] pointcut for overriden or implemented methods
|
- From: "Monal Daxini" <monaldax@xxxxxxxxx>
- Date: Sun, 15 Oct 2006 15:58:34 -0600
- Delivered-to: aspectj-users@eclipse.org
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=YpKVnn5n3F0q9XewS4U7qRlf9JJsUpPX1AgYg3rfBOoBl+TXykFDG0vnZ5OfcdVq89rO+XEccHczMI+JDWqAZD/9o84FdtcJRF9RwueeSUg/NMgH6SA4s4aDm/hEwJAO/RaCeEelttJpmopEJewXqVZR99iDF87iOYf5fciekpM=
Adrian,
What do you think about adding two custom pointcut designators
"implementedMethod" and "overridenMethod". If these were available
then it can be used to find all methods implemented overriden. For
example:
implementedMethod(@MyAnnotation * getData()) -- which matches all the
methods that implement a method called getData and having an
annotation @MyAnnotation. Similar example could be developed fro the
overridenMethod too.
With these two new pointcut designators we would not need
@superannotation or @superthis.
Monal