[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] pointcut for overriden or implemented methods


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

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.