Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How to get annotations of my workspace ?
How to get annotations of my workspace ? [message #800770] Fri, 17 February 2012 13:27 Go to next message
Matthieu Lentwojt is currently offline Matthieu LentwojtFriend
Messages: 6
Registered: February 2011
Junior Member

I wish to get all annotations of my workspace, and for each one, I want to get the class / methods / fields on which they are used...

The only solution I have found is to scan all my workspace :
- For each projets, I test if it has the java nature
- Then I create a JavaProject by using JavaCore.create(...)
- I scan all package then all type then all methods and field to get the possible annotations

My problem : It takes very very long time.

Is there another solution ? The build of the workspace didn't store the annotations ?

Sorry if it's a stupid question, I'm new in eclipse RCP !

Thx in advance !
Re: How to get annotations of my workspace ? [message #801535 is a reply to message #800770] Sat, 18 February 2012 15:04 Go to previous message
Brian de Alwis is currently offline Brian de AlwisFriend
Messages: 242
Registered: July 2009
Senior Member
Use the JDT SearchEngine to find all annotations.
Previous Topic:[RESOLVED] Adapter not used, caused by plugin not activated.
Next Topic:RCP Application designed with multiple plugins
Goto Forum:

Current Time: Fri Nov 27 18:04:44 GMT 2020

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

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

Back to the top