IntelliJ IDEA 2021.1 Help

Inline Super Class

Refactor | Inline

Inline Super Class refactoring results in pushing superclass' methods into the class where they are used, and removing the superclass.

ItemDescription
JavaDoc for inlined membersIn this area you can select an action that can be applied to JavaDoc.
You can choose from the following options:
  • As is- lets you leave the inline documentation where it is.

  • Copy- lets you copy the inline documentation to the destination superclass without removing it from its current location.

  • Move- lets you move the inline documentation to the destination superclass and delete it from its current location.

Inline all references and remove the classSelect this radio button to replace all the super class references with its code and remove the super class.
Inline this reference only and keep the super classSelect this radio button to replace only the current super class reference.
Last modified: 08 March 2021