IntelliJ IDEA 2017.3 Help

Convert to Instance Method Dialog

Refactor | Convert to Instance Method

ItemDescription
Select an instance parameterSelect the class you want the method to belong to after the conversion. All the usages of this class inside the method are replaced with this.
VisibilityIn this area you can change the visibility scope of the converted method. By default the converted method will have no scope declaration (equivalent to public ).
Last modified: 6 March 2018

See Also