Intellij Extract Inner Class

helsont picture helsont · Jul 22, 2015 · Viewed 9.3k times · Source

How does one who is using IntelliJ or Android Studio extract a public static inner class to create a new top level class?

Thank you.

Answer

Carl Manaster picture Carl Manaster · Jul 22, 2015

Select the class name.

Refactor > Move or press F6

Select "Move inner class Foo to upper level"