Refactoring

The goal of Maple refactoring is to make system-wide code changes without affecting the behavior of the application.
The Maple IDE tools provide assistance in easily refactoring code.

The Refactoring feature in Maple IDE allows you to rename Maple elements, while maintaining the links between the items. Once an element has been renamed, all instances of that item within the project will be automatically updated to reflect its new name.

When performing a refactoring operation, you can optionally preview all of the changes resulting from a refactoring action before you choose to carry them out. When previewing a refactoring operation, you will be notified of potential problems and will be presented with a list of the changes the refactoring action will perform. If you do not preview a refactoring operation, the change will be made in its entirety and any resultant problems will be shown. If a problem is detected that does not allow the refactoring to continue, the operation will be halted and a list of problems will be displayed.

Refactoring commands are available from the context menus of several Java views (e.g. Package Explorer, Outline) and editors. Many "apparently simple" commands, such as Move and Rename, are actually refactoring operations, since moving and renaming Java elements often require changes in dependent files.