IntelliJ IDEA 12.1.0 Web Help

Refactor | Introduce Field

Refactor | Introduce Field

ItemDescription
Field of type/NameSpecify the type and name for the new field.
Initialize inIn this area select where the new field will be initialized.
VisibilityIn this area, select the new field visibility scope.
Replace all occurrencesSelect 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 finalCheck this option to create a final field.
Delete variable declarationCheck this option to delete variable declaration.

See Also

Procedures:

Web Resources: