You Wanted More Refactorings?
By Roman Strobl on V 15, 2005
... here they come! The refactoring team is working on many experimental refactorings at the moment. You can download them from the development update center of 4.2. You can try these features out and file bugs, send recommendations, etc. They're not for production use yet - no quality is guaranteed at them moment (it's the bleeding edge development).
The new refactorings are:
- Pull up - pulls the selected method to the parent class of current class.
- Push down - pushes down the selected method to the class subclassing current class.
- Extract method - creates a method from selected lines of code and calls the method.
- Introduce variable - introduces a new local variable to simplify a complex expression.
- Copy class - creates a copy of current class.
- Convert anonymous class to inner - converts selected anonymous class to inner class.
Issues for these experimental modules should be filed against refactoring module with status whiteboard "experimental".
External contributers wanted! Do you want to learn more about NetBeans and take the challenge to develop a refactoring feature? Contact refactoring team at dev-AT-refactoring-DOT-netbeans-DOT-org. They'll guide you through the development and you will be able to show off that you created your own refactoring in NetBeans.
Flash demo of new refactoring features (incl. speech)