IntelliJ IDEA 14.1.1 Help

Extract Field Dialog

Refactor | Introduce Field

Item Description
Field of type/Name Specify the type and name for the new field.
Initialize in In this area select where the new field will be initialized.
Visibility In this area, select the new field visibility scope.
Replace all occurrences Select this check box to have IntelliJ IDEA automatically replace all the occurrences of the selected expression (if the selected expression is found more than once).
Declare final Check this option to create a final field.
Delete variable declaration Check this option to delete variable declaration.

See Also


Web Resources:

Last modified: 6 April 2015