Refactoring [message #528495] |
Tue, 20 April 2010 13:31 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.04114 seconds