Parameters page
Parameters Page for the Change Method Signature Refactoring Command
- Use the Access Modifier drop-down to control the method's visibility
- Change the method's return type or name by editing the provided text fields
- Select one or more parameters and use the Up and Down
buttons to reorder the parameters (you can see a signature preview below the
parameter list)
- Use the Add button to add a parameter; you can then edit its type,
name and default value in the table
- Switch to the Exceptions tab to add or remove thrown exceptions
- Press Preview to see the preview or OK
to perform the refactoring without seeing the preview
This refactoring changes the signature of the selected method and all methods
that override it.
Also, all references will be updated to use the signature.
Related Topics: