Modify parameter list, C++ refactoring: modify parameter list – Slick EDIT V3.3 User Manual

Page 224

Advertising
background image

The Method name text box allows you to choose the name of the newly extracted method. Uncheck Re-
place selected code with call to new method
if you do not want the original method to be modified.
This option is unavailable if the selected block contains a return, continue, or break statement.

Modify Parameter List

Modify Parameter List allows you to add, delete, and re-order parameters for a selected function. The re-
factoring will modify the parameter list for the selected function and all of its counterparts within the class
hierarchy.

Figure 6.33. C++ Refactoring: Modify Parameter List

C++ Refactoring

202

Advertising