|  | 
|  | 
|  | 
|  | 
|  | 
| 
| Re: How to create a plug-in that uses reflection to find files with annotations ? [message #334646 is a reply to message #334635] | Mon, 23 February 2009 03:42  |  | 
| Eclipse User  |  |  |  |  | Well I thought JDT wasn't the best solution to do what I wanted that's why I posted here to see if I could find another way, now that I know JDT is
 the best solution I'll stick with it.
 
 > "Julien Manankiandrianana" <jmananki@enib.fr> wrote in message
 > news:02a826ca67b086a6cf4e4925b14c9027$1@www.eclipse.org...
 >>I have a set of .java files and I wanted to know if there's a way to get
 >>the annotated fields using the reflection. Is it possible somehow to create
 >>a model of a class from a java file and get every fields, methods, etc. ?
 >>
 >>>Walter Harley wrote:
 >>> I think this is the same question that you already got answered on
 >>> eclipse.tools.jdt?  If not, please clarify.
 
 > As Rich says, it sounds like using JDT (either the AST or the Java Model,
 > depending on the amount of detail you need) is the right answer.  "Create a
 > model of a class from a Java file and get every field, method, etc." is
 > precisely what the JDT does.
 
 > But I am still confused about why you're asking this question here in
 > eclipse.platform when you also have an ongoing discussion about what seems
 > to be the same topic in eclipse.tools.jdt.
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.05904 seconds