Re: [aspectj-users] static pointcut for "super"

2011-12-05 Thread Andy Clement
Steve, I know you've raised a related bugzilla, but thought I'd comment. > I'm having a hard time matching the join point with the super... any thoughts? You aren't going crazy, at the moment super calls are not joinpoints (so not matchable by pointcuts). This is a deliberate thing (I can see t

Re: [aspectj-users] static pointcut for "super"

2011-12-02 Thread Frank Pavageau
Hi Steve. On Fri, Dec 2, 2011 at 3:50 AM, Steve Ash wrote: > I would like to create an aspect to declare an error if a particular method > is called on the super from a subtype.  Something like: > > public class SuperClass { >    public final void dontCallThisFromBase() { } > } > > public class B

[aspectj-users] static pointcut for "super"

2011-12-01 Thread Steve Ash
I would like to create an aspect to declare an error if a particular method is called on the super from a subtype. Something like: public class SuperClass { public final void dontCallThisFromBase() { } } public class BaseClass extends SuperClass { public void doSomething() { super.do