Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » asm - advice relations
asm - advice relations [message #54129] Wed, 29 June 2005 15:00 Go to next message
Eclipse UserFriend
Originally posted by: e3oginosX.hotmail.com

hi
i am implementing a project which registers its own AsmHierarchyBuilder,
and builds its own model of the aspectj project without ever using the
default AsmHierarchyBuilder.
Everything works ok, but i cant seem to find a way to get the relationship
of which methods an aspect advices (like 'advices' in the RelationshipMap)
and which aspect a method is adviced by (like 'is adviced by' in the
RelationshipMap)
i've seen how the 'uses pointcut' relationship is build from the default
AsmHierarchyBuilder, but i cant seem to locate where the 'adviced by'
relationship is generated in the ajdt source code.

can someone tell me how i can get the 'adviced by/advices' relations
without ever using the RelationshipMap (since i am not using the default
asmhierarchybuilder) or point me to the source code that generates this
relations?

thanks
Re: asm - advice relations [message #54258 is a reply to message #54129] Thu, 30 June 2005 10:17 Go to previous message
Eclipse UserFriend
Originally posted by: mchapman.uk.ibm.com

Hi Andreas,

Would you mind posting this question to the aspectj-dev mailing list?
That is the most appropriate place for anyone extending aspectj classes,
and also Mik is probably the best person to answer this but he might not
see it here.

Regards,

Matt.

On Wed, 29 Jun 2005 15:00:23 +0000, Andreas Kiriakou wrote:
> hi
> i am implementing a project which registers its own AsmHierarchyBuilder,
> and builds its own model of the aspectj project without ever using the
> default AsmHierarchyBuilder.
> Everything works ok, but i cant seem to find a way to get the relationship
> of which methods an aspect advices (like 'advices' in the RelationshipMap)
> and which aspect a method is adviced by (like 'is adviced by' in the
> RelationshipMap)
> i've seen how the 'uses pointcut' relationship is build from the default
> AsmHierarchyBuilder, but i cant seem to locate where the 'adviced by'
> relationship is generated in the ajdt source code.
>
> can someone tell me how i can get the 'adviced by/advices' relations
> without ever using the RelationshipMap (since i am not using the default
> asmhierarchybuilder) or point me to the source code that generates this
> relations?
>
> thanks
--
Matt Chapman
AJDT Development, http://www.eclipse.org/ajdt
Re: asm - advice relations [message #589117 is a reply to message #54129] Thu, 30 June 2005 10:17 Go to previous message
Matt Chapman is currently offline Matt ChapmanFriend
Messages: 429
Registered: July 2009
Senior Member
Hi Andreas,

Would you mind posting this question to the aspectj-dev mailing list?
That is the most appropriate place for anyone extending aspectj classes,
and also Mik is probably the best person to answer this but he might not
see it here.

Regards,

Matt.

On Wed, 29 Jun 2005 15:00:23 +0000, Andreas Kiriakou wrote:
> hi
> i am implementing a project which registers its own AsmHierarchyBuilder,
> and builds its own model of the aspectj project without ever using the
> default AsmHierarchyBuilder.
> Everything works ok, but i cant seem to find a way to get the relationship
> of which methods an aspect advices (like 'advices' in the RelationshipMap)
> and which aspect a method is adviced by (like 'is adviced by' in the
> RelationshipMap)
> i've seen how the 'uses pointcut' relationship is build from the default
> AsmHierarchyBuilder, but i cant seem to locate where the 'adviced by'
> relationship is generated in the ajdt source code.
>
> can someone tell me how i can get the 'adviced by/advices' relations
> without ever using the RelationshipMap (since i am not using the default
> asmhierarchybuilder) or point me to the source code that generates this
> relations?
>
> thanks
--
Matt Chapman
AJDT Development, http://www.eclipse.org/ajdt
Previous Topic:pdebuild and weaving aspects
Next Topic:Wait till september for Eclipse 3.1
Goto Forum:
  


Current Time: Fri Apr 26 19:27:10 GMT 2024

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

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

Back to the top