Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Converting between jdt.core.dom.* to .java
Converting between jdt.core.dom.* to .java [message #251453] Sun, 17 February 2008 14:57 Go to next message
Eclipse UserFriend
Originally posted by: rahulrevo.gmail.com

Hi

I have a project where I need to programatically create Java source. The
classes in jdt.core.dom.* seem fine for this purpose.. like AST, ASTNode
etc. Assuming that I do get some Java programs in the form of ASTNodes,
those then have to be written as .java source files.

It may also be possible that I need to apply some refractorings or
formatting to the generated AST before getting a final source
representation.

Could you suggest what would be the best way to do this?

Thanks for your time

Rahul
Re: Converting between jdt.core.dom.* to .java [message #251530 is a reply to message #251453] Tue, 19 February 2008 13:18 Go to previous message
Eclipse UserFriend
Originally posted by: wharley.bea.com

"Rahul Revo" <rahulrevo@gmail.com> wrote in message
news:be9455b58e559a58607a6ecf1e65992f$1@www.eclipse.org...
> Hi
>
> I have a project where I need to programatically create Java source. The
> classes in jdt.core.dom.* seem fine for this purpose.. like AST, ASTNode
> etc. Assuming that I do get some Java programs in the form of ASTNodes,
> those then have to be written as .java source files.
> It may also be possible that I need to apply some refractorings or
> formatting to the generated AST before getting a final source
> representation.
>
> Could you suggest what would be the best way to do this?

See the article
http://www.eclipse.org/articles/article.php?file=Article-Jav aCodeManipulation_AST/index.html
Previous Topic:Problem with user libraries
Next Topic:Question about "Build Automatically"
Goto Forum:
  


Current Time: Sat Apr 19 12:03:28 EDT 2025

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

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

Back to the top