2010/7/13 Ramnivas Laddad <[email protected]>

> Well, a tool won't tell you what is wrong with the code, since it doesn't
> know what you intend to express. If you can show example code of what you
> intend to advise, perhaps someone can help you (it is really difficult to
> know what you want from the email).


I described in the first post on this subject what I was trying to do and
included the code that is not getting properly advised.  Did you see that
one?


>
> For you earlier question, the fact that you are using IntelliJ may be a
> part of the problem. Its support, while has improved a lot recently, in
> nowhere as good as that in Eclipse. So you may want to give Eclipse+AJDT a
> try.
>

This is a case where being on eclipse would apparently be beneficial. I'll
need to assess the time investment to set the project up in that env. thx


> -Ramnivas
>
> On Tue, Jul 13, 2010 at 9:58 PM, Stephen Boesch <[email protected]> wrote:
>
>> So here's an example: I have code below that does not work.  How can I
>> found out what's wrong with it?
>> The intention is to advise all   get*() methods in the dao class.  Well
>> that part works alone, but when adding in the "notInMethods" pointcut, then
>> nothing works.  So what tooling can tell me why nothing gets advised
>> anymore?
>>
>> @Pointcut(value = "execution(public * *.getManagedClass())")
>> public void notInMethods() {
>>  }
>>
>> @Around(value = "!notInMethods() && execution(public * *.get* (..)) &&
>> this(dao)", argNames = "thisJoinPoint, dao")
>>
>>
>> 2010/7/13 Stephen Boesch <[email protected]>
>>
>> The development process for aspectj is proving to be very cumbersome  /
>>> slow for a non-adept.  I'd like clear understanding of the selection process
>>> of pointcut's, to know what's going on and why my pointcut expressions are
>>> not performing as expected.
>>>
>>> What are options for tooling?
>>>
>>> Also, should I move away from @AspectJ and use the traditional ajc
>>> compiler to get more information and better support?
>>>
>>
>>
>> _______________________________________________
>> aspectj-users mailing list
>> [email protected]
>> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>>
>>
>
> _______________________________________________
> aspectj-users mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
>
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to