Parameters page
Parameters Page for the Extracting 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 Preview to see the preview of the changes or OK
to perform the refactoring without preview
Related Topics: