Why don't you use an abstract class then? The steps you need to follow are:
1. create abstract class implementing the interface 2. grep for "extends XXX" and replace with "implements AbstractXXX" you can do this from IDEA with Ctrl+Shift+F 3. Add your method to the interface and supply the default implementation in the abstract class. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Francois ten Have Sent: Tuesday, December 18, 2001 7:43 AM To: [EMAIL PROTECTED] Subject: [Eap-features] Adding interface methods. Yesterday I had to add a new method to an interface we use in our application. The search option in IntelliJ told me that I would have to alter 279 source files to accomplish this. Would it be possible to implement an "add method to interface" and supply a default implementation for it. The IDE could add this method and it's default implementation to all classes that currently implement the interface. This would save a lot of work on large projects. A programmer could then alter the default implementation at a later time to complete the job. Regards, Francois ten Have _______________________________________________ Eap-features mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-features _______________________________________________ Eap-features mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-features
