IntelliJ IDEA 2021.1 Help

Move Inner to Upper Level Dialog for Java

Refactor | Move
F6

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

ItemDescription
Class nameUse this field to rename the moved inner class, if needed.
Package nameSpecify the name of the package for the class to be moved to.
Pass outer class' instance as a parameterSelect this checkbox, if you want the moved class to preserve access rights to its former outer class.
Parameter nameSpecify here the name for the outer class' instance passed as a parameter.
Search in comments and stringsSelect this option to apply the changes to comments and strings.
Search for text occurrencesSelect this option to apply the changes to documentation, HTML, JSP and other files included in your project.
Search for referencesSelect this checkbox to have the changes applied to the references. This option is available only for Move File or Move Package refactorings.
Last modified: 08 March 2021