I would like to specify when I extract an interface (and possibly a 
superclass) whether it is the original class or the new interface/class 
which will keep the existing name, so that the other gets the new name.

It is very common that I do this because I want to make something more 
general, and my current implementation should simply be one way to 
implement the class.  In such cases, I would want all references to this 
class that are not 'extends' or constructor calls to retain the original 
name - which should now be the name of the interface or superclass.  I can 
apparently do this by extracting an interface with a different name, 
letting IDEA rename all possible uses, then renaming both the original 
class and the interface, but it doesn't seem reliable, and it forces me to 
modify (and then modify back) all of the references to the original class.


_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-features

Reply via email to