IntelliJ IDEA 2021.3 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: 01 August 2022