IntelliJ IDEA 2021.2 Help

Change Signature dialog

Refactor | Change Signature

Item

Description

Name

Name of a function, method, or a method specification.

Parameters

List of parameters in the signature. In the Parameters field, you can perform the following actions with parameters:

  • Add The Add icon: Adds a new parameter. You can specify properties of the new parameter in the corresponding table row (a name, type, and a default value).

  • Remove The Remove icon: Removes a parameter.

  • Up The Up icon and Down The Down icon icons: Reorders parameters.

Result parameters

Returned or result parameters of a Go function. You can specify properties of the new parameter in the corresponding table row (a name, type, and a default value).

Last modified: 02 August 2022