Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » Detailed aspect info from AJDT parser
Detailed aspect info from AJDT parser [message #595604] Wed, 20 December 2006 14:27
Eclipse UserFriend
Originally posted by:

I'm building an eclipse plug-in that translates from an AspectJ source
describing an aspect to a generic structural representation of the aspect.

After looking for parser usage examples I started with the method
AJCompilationUnitManager.getAJCompilationUnit(IFile), as I found in the
org.eclipse.ajdt.core.tests plug-in.

My problem is that I can't seem to find a way to get detailed information
about the different elements, e.g. a composite pointcut's structure.

Regarding pointcuts, I found the class
org.aspectj.weaver.patterns.Pointcut, which seems to be the root of a
hierarchy of specific pointcut types, such as WithinPoincut etc. but I
can't find a connection between PointcutElement and Pointcut, if it exists
at all.

Please point me in the right direction in order to get detailed
information of parsed aspects.

Eyal Dror.
Previous Topic:How to get method bindings?
Next Topic:Empty catch block pointcut
Goto Forum:

Current Time: Thu Nov 26 08:56:30 GMT 2015

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

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