ADJT Development [message #74101] |
Mon, 08 June 2009 11:13  |
Eclipse User |
|
|
|
Hi, I'm developing a tool to discover conflicts in aop applications. I've
cataloged some simple conflicts, in order to know which situations may
lead to conflicts. I'm using the ASTParser class to parse the source code
of every file in a project, with that I retrieve information about,
pointcuts, advices, new methods etc. My difficulty is to compare matching
pointcuts, i need to find which methods are crosscut by these similar
pointcuts.
I tried to find in the source code of AJDT,where it places the advices
markers next to the methods that they crosscut, so far I havenŽt find
anything that could help me.
I'm posting this message if someone can help on this situation
Thanks.
|
|
|
Re: ADJT Development [message #74119 is a reply to message #74101] |
Mon, 08 June 2009 15:01   |
Eclipse User |
|
|
|
Originally posted by: andrew.eisenberg.springsource.com
Try this:
http://wiki.eclipse.org/Developer%27s_guide_to_building_tool s_on_top_of_AJDT
_and_AspectJ
If you have any more questions, please post to the AJDT mailing list:
https://dev.eclipse.org/mailman/listinfo/ajdt-dev
On 08/06/09 8:13 AM, in article
1a2be06c18fa0cf2898057b78b958c0a$1@www.eclipse.org, "Mário Aguiar"
<mario.rui.aguiar@gmail.com> wrote:
> Hi, I'm developing a tool to discover conflicts in aop applications. I've
> cataloged some simple conflicts, in order to know which situations may
> lead to conflicts. I'm using the ASTParser class to parse the source code
> of every file in a project, with that I retrieve information about,
> pointcuts, advices, new methods etc. My difficulty is to compare matching
> pointcuts, i need to find which methods are crosscut by these similar
> pointcuts.
> I tried to find in the source code of AJDT,where it places the advices
> markers next to the methods that they crosscut, so far I havenŽt find
> anything that could help me.
>
> I'm posting this message if someone can help on this situation
>
>
> Thanks.
>
|
|
|
|
|
|
Re: ADJT Development [message #600054 is a reply to message #74101] |
Mon, 08 June 2009 15:01  |
Eclipse User |
|
|
|
Try this:
http://wiki.eclipse.org/Developer%27s_guide_to_building_tool s_on_top_of_AJDT
_and_AspectJ
If you have any more questions, please post to the AJDT mailing list:
https://dev.eclipse.org/mailman/listinfo/ajdt-dev
On 08/06/09 8:13 AM, in article
1a2be06c18fa0cf2898057b78b958c0a$1@www.eclipse.org, "Mário Aguiar"
<mario.rui.aguiar@gmail.com> wrote:
> Hi, I'm developing a tool to discover conflicts in aop applications. I've
> cataloged some simple conflicts, in order to know which situations may
> lead to conflicts. I'm using the ASTParser class to parse the source code
> of every file in a project, with that I retrieve information about,
> pointcuts, advices, new methods etc. My difficulty is to compare matching
> pointcuts, i need to find which methods are crosscut by these similar
> pointcuts.
> I tried to find in the source code of AJDT,where it places the advices
> markers next to the methods that they crosscut, so far I havenŽt find
> anything that could help me.
>
> I'm posting this message if someone can help on this situation
>
>
> Thanks.
>
|
|
|
Re: ADJT Development [message #600080 is a reply to message #74119] |
Mon, 15 June 2009 04:55  |
Eclipse User |
|
|
|
Thank you Andrew,
this has been very useful, but i have one last request, with this I can
get the type of advice, the method that is crosscut and the aspect where
this happens, but i can't really get the pointcut name after this. I've
tried to search in all the methods that those classes offer but none seems
to have any information about the pointcuts.
Is there any way to do this?
Thanks
|
|
|
Re: ADJT Development [message #600088 is a reply to message #74172] |
Mon, 15 June 2009 22:34  |
Eclipse User |
|
|
|
Unfortunately, this is not information that we store in the model. You can
raise an enhancement request for this.
The best solution so far is to parse the file and look for the information
you need directly in the text.
|
|
|
|
Powered by
FUDForum. Page generated in 0.50624 seconds