Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Adding a field/method without parsing the entire source
Adding a field/method without parsing the entire source [message #252769] Thu, 17 April 2008 14:46
Eclipse UserFriend
After typechecking of my source code say I internally add(I donot edit) a
field declaration. So how can I utilise the incremental approach of
Eclipse (say using the internal datastructure from the previous
compilation phase). That is do I have to again parse(diet as well as full)
the entire file and typecheck. Or do I use somehow(I donot know how) only
that part of the code that has been newly added (here in this case , a
field declaration) and send this to the parser. The reason is I am justr
adding a new node into the parse
tree that has alredy been created. Is this possible?

Please help.

Thanks in advance.
Previous Topic:Refactor rename shortcut
Next Topic:when java editor view is closed, what right event listener to catch the event
Goto Forum:
  


Current Time: Wed Jul 16 19:39:52 EDT 2025

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

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

Back to the top