Re: [aspectj-users] Problem with annotation based pointcut and inner classes

2008-08-29 Thread Christian Kölle
Andrew Eisenberg wrote: Does this not work for you? The call to method() in main() is where the advice is applied. Hi Thanks for the answer and sorry for the question in the first place. You're right, this works fine. My problem was the result of a build problem in our project. The

Re: [aspectj-users] Problem with annotation based pointcut and inner classes

2008-08-29 Thread Andrew Eisenberg
No problem at all. :-) On Fri, Aug 29, 2008 at 4:46 AM, Christian Kölle [EMAIL PROTECTED] wrote: Andrew Eisenberg wrote: Does this not work for you? The call to method() in main() is where the advice is applied. Hi Thanks for the answer and sorry for the question in the first place.

[aspectj-users] Problem with annotation based pointcut and inner classes

2008-08-27 Thread Christian Kölle
Hello I have a problem with an annotation based pointcut that should match annotated methods. Here's the aspect code: privileged aspect JetmMeasurement { pointcut jetmMeasure(): call(@Jetm * *(..)); Object around(): jetmMeasure() { [...] } Unfortunately the pointcut doesn't

Re: [aspectj-users] Problem with annotation based pointcut and inner classes

2008-08-27 Thread Andrew Eisenberg
Does this not work for you? The call to method() in main() is where the advice is applied. privileged aspect JetmMeasurement { pointcut jetmMeasure(): call(@Jetm * *(..)); Object around(): jetmMeasure() { System.out.println(hi!); return null; } @interface Jetm