IntelliJ IDEA 2024.1 Help

Move Inner to Upper Level Dialog for Java

Move Inner Class refactoring dialog is invoked for inner classes selected in the Structure view or opened in the editor.



Class name

Use this field to rename the moved inner class, if needed.

Package name

Specify the name of the package for the class to be moved to.

Pass outer class' instance as a parameter

Select this checkbox, if you want the moved class to preserve access rights to its former outer class.

Parameter name

Specify here the name for the outer class' instance passed as a parameter.

Search in comments and strings

Select this option to apply the changes to comments and strings.

Search for text occurrences

Select this option to apply the changes to documentation, HTML, JSP, and other non-Java files included in your project.

Search for references

Select this checkbox to have the changes applied to the references. This option is available only for Move File or Move Package refactorings.

Last modified: 11 February 2024