Skip to main content

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

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


Back to the top