How to retrieve AspectJ model during build in eclipse? [message #595136] |
Thu, 26 October 2006 10:01 |
Eclipse User |
|
|
|
Originally posted by: m.bartsch.rdg.ac.uk
Hi all,
I am writing an eclipse plugin and I would like to know if the following
is possible with AJDT.
1. Whenever an AspectJ project is being built within Eclipse, my plug-in
needs to be notified and I would like to retrieve information about the
currently compiled or woven aspect. In short: can a listener be added to
the Eclipse build system?
2. The kind of information I am looking for is reflective information
about an aspect or a class in the system, for example I would like to
find out all the types that are dynamically crosscut by a given advice
or a list of all methods and their signatures. I know there is a
reflection API in AspectJ, but this will not give me the weaving
information. Can this kind of information be extracted from AJDT during
a build in Eclipse, e.g. through an AST? (I found some hints here
http://dev.eclipse.org/newslists/news.eclipse.technology.ajd t/msg01110.html
but I do not want to write a new builder but use the existing one.)
Any hints are greatly appreciated,
Marc.
|
|
|
Powered by
FUDForum. Page generated in 0.02952 seconds