Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » ADJT Development
ADJT Development [message #74101] Mon, 08 June 2009 15:13 Go to next message
MÃ?¡rio Aguiar is currently offline MÃ?¡rio AguiarFriend
Messages: 6
Registered: July 2009
Junior Member
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 19:01 Go to previous messageGo to next message
Eclipse UserFriend
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 #74172 is a reply to message #74119] Mon, 15 June 2009 08:55 Go to previous messageGo to next message
MÃ?¡rio Aguiar is currently offline MÃ?¡rio AguiarFriend
Messages: 6
Registered: July 2009
Junior Member
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 #74190 is a reply to message #74172] Tue, 16 June 2009 02:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: andrew.eisenberg.springsource.com

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.
Re: ADJT Development [message #74208 is a reply to message #74190] Tue, 16 June 2009 08:10 Go to previous message
MÃ?¡rio Aguiar is currently offline MÃ?¡rio AguiarFriend
Messages: 6
Registered: July 2009
Junior Member
Ok, thanks for the reply. Thats what I was doing, just needed to know if
there an easier way.
Re: ADJT Development [message #600054 is a reply to message #74101] Mon, 08 June 2009 19:01 Go to previous message
Andrew Eisenberg is currently offline Andrew EisenbergFriend
Messages: 77
Registered: July 2009
Member
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 08:55 Go to previous message
MÃ?¡rio Aguiar is currently offline MÃ?¡rio AguiarFriend
Messages: 6
Registered: July 2009
Junior Member
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] Tue, 16 June 2009 02:34 Go to previous message
Andrew Eisenberg is currently offline Andrew EisenbergFriend
Messages: 77
Registered: July 2009
Member
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.
Re: ADJT Development [message #600091 is a reply to message #74190] Tue, 16 June 2009 08:10 Go to previous message
MÃ?¡rio Aguiar is currently offline MÃ?¡rio AguiarFriend
Messages: 6
Registered: July 2009
Junior Member
Ok, thanks for the reply. Thats what I was doing, just needed to know if
there an easier way.
Previous Topic:headless pde build not works but found promising workaround
Next Topic:Cannot install AJDT in Eclipse Galileo
Goto Forum:
  


Current Time: Thu Dec 18 07:25:54 GMT 2014

Powered by FUDForum. Page generated in 0.17102 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software