|Shared ASTs for CompilationParticipants [message #675243]
||Mon, 30 May 2011 21:30
| Ovidio Mallo
Registered: July 2009
I'm implementing custom Compiler Warnings/Errors similar to those
available from JDT under "Window => Preferences => Java => Compiler =>
Errors/Warnings". The implementation is done using a
CompilationParticipant and right now, I'm creating my own ASTs for the
files being compiled which are passed in through the
Since creating an AST with resolved bindings is rather expensive, I was
wondering whether there are any shared, read-only ASTs available from
the JDT part to be used in a compilation participant (or elsewhere)?
I've seen that there's a SharedASTProvider which, however, only provides
shared access to the AST of the currently open Java Editor.
Thanks in advance for any help!
Powered by FUDForum
. Page generated in 0.02551 seconds