IntelliJ IDEA 12.1.0 Web Help

Refactor | Change Signature

Refactor | Change Signature

Use the Change Class Signature dialog to perform the Change Class Signature refactoring in Java.

Manage the formal type parameters using the available controls (see the table that follows). You can add and remove parameters as well as change their order.

Click Refactor to perform the refactoring right away. Click Preview to see the potential changes prior to actually performing the refactoring. (These will be shown in the Find tool window.)

IconShortcutDescription
addAlt+InsertCommand N; Command Enter Use this icon or shortcut to add a parameter. Specify the parameter name and default type in the Name and the Default Value fields respectively.
deleteAlt+DeleteCommand Delete Use this icon or shortcut to remove the selected parameter.
arrowUpAlt+UpCommand Up Use this icon or shortcut to move the selected parameter one line up in the list.
arrowDownAlt+DownCommand Down Use this icon or shortcut to move the selected parameter one line down in the list.

See Also

Code Examples:

Procedures:

Web Resources: