asm - advice relations [message #54129] |
Wed, 29 June 2005 15:00 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Matt Chapman 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
|
|
|
Powered by
FUDForum. Page generated in 0.02696 seconds