IntelliJ IDEA 2021.1 Help

Use Interface Where Possible dialog

Refactor | Use Interface Where Possible

ItemDescription
Change usagesSelect the parent class or interface, which will replace the usages of the current class.
Use interface/superclass in instanceofIf this option is checked, IntelliJ IDEA scans the source code for the presence of the instanceof statements for the selected superclass or interface, and change it, if found.
Last modified: 08 March 2021