Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Extending the Rename Refactoring
Extending the Rename Refactoring [message #250593] Fri, 11 January 2008 13:18
Eclipse UserFriend
Originally posted by: myawn.ebay.com

I'm looking at writing a Refactoring Participant (for the rename
refactoring) to handle modifications to our generated code.

Some of the extensions are obviously customized for our specific setup
-- changing members of Enums, setting some constant values, etc.

But some of what we're looking at is very standard Java (or so it
seems), so I'm wondering if there is some design reason why the existing
refactorings don't include this.

We have a setup where there is an interface that has get and set methods
for various properties, as well as an implementor of the interface that
implements the get and set and has a member variable to contain the
property value.

If I refactor/rename the get method in the interface, there is no
automated update of the property in the implementation class or the set
method.

Is it generally thought that having the refactoring do this is :
- a bad idea, and if so why
- a good idea, but difficult to do and thus unimplemented

Thanks
Mike
Previous Topic:Get package fragments roots with only sources of _this_ project
Next Topic:how to implement autocompletion in editor
Goto Forum:
  


Current Time: Sat May 10 14:12:27 EDT 2025

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

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

Back to the top