IntelliJ IDEA 2016.3 Help

Replace Temp with Query Dialog

Refactor | Replace Temp with Query

NameSpecify the name for the extracted method.
Declare staticCheck this option to declare the method static. This option is enabled when the initial expression is static itself.
ParametersIn this area, select the parameters you want to be used in the extracted method. The parameters are all checked by default. If unchecked, the appropriate value will be used as a local variable in the extracted method.
Move Up/DownUse this buttons to reorder parameters in the list.
VisibilityHere you can change the method's visibility scope.

See Also

Last modified: 21 March 2017