Renaming method parameters
You can rename the parameters of a method by renaming
the parameter's declaration as well as all references to the parameters
inside the method body.
Use the Modify Parameters command
to rename one or more parameters of a method as well as all references
to these parameters.
To rename a single parameter, it is often easier to:
-
Select the parameter in the Java editor.
-
From the editor's pop-up menu, select Refactor > Rename to open
the Rename refactoring wizard.
Java development tools (JDT)
Reordering method parameters
Refactoring actions
Refactoring wizard
Refactoring preferences