Extract Field Dialog
|Field of type/ Name||In this text box, specify the name of the new field.|
|Initialize in||In this area select where the new field will be initialized in.|
In this area, specify the visibility scope for the new field.
The available options are:
|Replace all occurrences||
Select this check box to have IntelliJ IDEA automatically replace all the occurrences of the selected expression.
The check box is enabled only if the selected expression is used more than once in the class. All the found occurrences of the expression are highlighted.
|Declare final||Check this option to create a final field.|
|Delete variable declaration||Check this option to delete variable declaration.|
Last modified: 20 July 2016