FeaturesPluginsDocs & SupportCommunityPartners

Refactoring Module Home

- Refactoring Quick Links -
-


-
- - - -

Welcome to the home of NetBeans IDE refactoring support.

Refactoring is the process of making changes to an application's code without affecting the outward behavior of the application. You refactor your code when you want to improve its internal structure or adapt it to architectural changes. NetBeans IDE uses a Metadata Repository to store information about your code's architecture. It then uses this information to make system-wide changes to your code.

Refactoring Roadmap

Starting from NetBeans IDE 4.0, we have a new Java language infrastructure and refactoring API framework needed for implementing refactorings. So far we have implemented some basic refactorings as a proof of concept. The following releases will contain more extensive list of refactoring features. Here's the overall plan for refactoring features in NetBeans IDE;

Features added in 5.0 release

  • Extract Interface/Superclass
  • Pull Up, Push Down Method
  • Extract Method
  • Convert Anonymous to Inner Class
  • Use Supertype Where Possible
  • Safe Delete
  • Move Inner To Outer Level

Features added in 4.1 release (May 2005)

  • J2EE-aware refactorings (changing references in deployment descriptors, etc.)
  • Refactoring of comments and JavaDoc.

Features added in NetBeans IDE 4.0 (December 2004)

  • Find Usages
  • Move Class
  • Rename
  • Change Method Signature
  • Encapsulate Field.
  • Adapting Refactoring Features to new projects system and JDK 5.0 features

Features planned for future releases

  • Inline Method
  • Move Method
  • Extract/Inline Local Variable
  • Generify
  • Clean-Up Code
  • Replace Method Duplicates
See also Refactoring Specifications for a detailed description of the planned refactorings.

Want To Contribute?

In case you would like to contribute, please visit our Refactoring Collaboration Space.

Companion
Projects:
MySQL Database Server   Open JDK: an Open SourceJDK   GlassFish Community: an Open Source Application Server    Mobile & Embedded Community    Open Solaris   java.net - The Source for Java Technology Collaboration   Open ESB - The Open Enterprise Service Bus Powered by