IntelliJ IDEA 2022.1 Help

Use Interface Where Possible dialog

Refactor | Use Interface Where Possible

Item

Description

Change usages

Select the parent class or interface, which will replace the usages of the current class.

Use interface/superclass in instanceof

If 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: 10 August 2022