Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » programatically cascade refactorings
programatically cascade refactorings [message #258178] Sun, 18 January 2009 18:35
Eclipse UserFriend
Hello,
I would like to programatically cascade a series of refactorings.

The only problem is that I would like to check if the preconditions for
each of them are valid, if not, none of the refactorings should be
executed.

For example, if I have:

public int x,y,z;

and I want to cascade 3 "Encapsulate Field", before each refactoring I
want to check the preconditions. If one of them is false, the cascading
refactorings should not be executed.

How can I implement this using the LTK?

Thank you in advance,
Ioana
Previous Topic:@see Type + control + shift + O - adds java import
Next Topic:Resolving bindings in createAST
Goto Forum:
  


Current Time: Thu Apr 24 10:16:18 EDT 2025

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

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

Back to the top