Change Function Parameters Refactoring

Use to specify options for the Change Function Parameters refactoring command in C/C++ projects.

Element Description

Parameters

Lists parameters for the function. Click Add, Move Up, and Move Down to add and rearrange the order of parameters.

Click Remove to remove any parameters that you have added in the dialog box but that you do not want to keep.

Click in a cell in the function type, name, and default value columns of the Parameters table to edit a value.

Access Modifier

Displays the four possible accessibility modifiers (public, protected, default, and private).

Select the accessibility modifier that you want the function to have.

Use New Parameter Default Value Only in Declaration

Specifies to use the default value only in the function declaration.

    Method Signature Preview

(read-only) Displays what the method signature looks like if you apply the changes that you have specified in the dialog box.


Copyright © 2015, Oracle and/or its affiliates. All rights reserved.