| RE: [aspectj-users] Pointcut for package protected methods |
|
You can do things like this, I believe: execution((!private
&& !final && !public) *
com.ericsson.nms.cif.cs.transaction.*.*(..)) Eric From:
aspectj-users-bounces@xxxxxxxxxxx [mailto:aspectj-users-bounces@xxxxxxxxxxx] On
Behalf Of David Hatton (AT/LMI) Hi, I am trying
to define a point but for methods in a particular package which are either
protected or package protected (default access). I can't come
up with anything better than this:
pointcut protectedTxMethods() : Is there a
better way, or is this the only way to do it??? /David
|