Wizard

A wizard is used to guide you through the steps necessary to execute the selected refactoring.

Parameters Page

This page gathers information that is required for the refactoring. For example, a rename refactoring parameters page asks you for the new name for the Java element.

After you have provided all required information on this page, you can click Finish to carry out the refactoring without previewing the results.

Preview Page

The JDT allows you to preview the results of a refactoring action before you finally choose to carry it out.

The preview page consists of two parts:

Problem Page

The refactoring problem page tells you if there is a suspected, potential, or definite problem with the refactoring action you are attempting to do.

Four kinds of problems are possible:

In the refactoring preferences (Window > Preferences > Java > Refactoring), you can select the default level for problems to be displayed when you are carrying out a refactoring without a preview, (i.e., you click Finish instead of Next from the refactoring parameters page).

See Refactoring Errors