Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Refactoring
Refactoring [message #528495] Tue, 20 April 2010 13:31
Eclipse UserFriend
Hi,

I'd like to invoke the JDT refactoring programatically. In short, I have a
location in a java file that identifies the declaration of some member
(field, operation, etc). I want to invoke the JDT refactoring engine to
produce the Change object which tells me all the places that will change
(e.g. the preview info), and then I want to parse that do my own stuff with
it.

Questions:
1) is there public API for me to do this?
2) are there any JUnits or other applicable code that I can look at to see
how to invoke the JDT refactoring programatically?

Thanks in advance,
Adam
Previous Topic:Connection JDBC from eclipse
Next Topic:Line wrapping for long field definitions
Goto Forum:
  


Current Time: Sat Mar 22 12:42:10 EDT 2025

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

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

Back to the top