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: Related concepts

Java development tools (JDT)

Related tasks

Reordering method parameters

Related reference

Refactoring actions
Refactoring wizard
Refactoring preferences
 

Copyright IBM Corporation 2000, 2002. All Rights Reserved.