IntelliJ IDEA 14.1.0 Help

Extract Field Dialog

Refactor | Introduce Field
Ctrl+Alt+F

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

Procedures:

Web Resources:

Last modified: 24 March 2015
comments powered by Disqus