Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » how to parse .java source file programmatically
how to parse .java source file programmatically [message #114995] Fri, 22 August 2003 14:16 Go to next message
Eclipse UserFriend
Originally posted by: xing.cs.ualberta.ca

hi,

can i parse .java source file and get ICompilationUnit programmatically?

thanks
zhenchang
Re: how to parse .java source file programmatically [message #115152 is a reply to message #114995] Fri, 22 August 2003 15:54 Go to previous message
Eclipse UserFriend
I did not know the answer, but it took me 10 seconds to find out:

1. visit http://www.eclipse.org
2. click on Search
3. type in ICompilationUnit
4. choose the first result (API doc)
5. read who returns ICompilationUnit, likely candidate is JavaCore

Chris

"zhenchang xing" <xing@cs.ualberta.ca> wrote in message
news:bi5mlt$ob5$1@eclipse.org...
> hi,
>
> can i parse .java source file and get ICompilationUnit programmatically?
>
> thanks
> zhenchang
>
Previous Topic:which plugins implement Open Declaration?
Next Topic:Problem accessing values from plugin PreferenceStore
Goto Forum:
  


Current Time: Mon Jul 21 22:01:59 EDT 2025

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

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

Back to the top