IntelliJ IDEA 2017.2 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.
Last modified: 29 November 2017

See Also