Parameters page
Parameters Page for the Extracting a local variable Refactoring Command
-
In the Variable name field, enter a name for the extracted variable
-
Optionally, clear the Replace all occurrences of the selected expression with references to the local variable checkbox if you want to replace only the
expression you selected when invoking the refactoring.
-
Optionally, select Define the local variable as 'final'
-
Press Next to see the preview of the changes or Finish to perform the refactoring without preview
Related Topics: