To replace references to a type with references to one of its subtypes: Replacing references to a type with references to one of its subtypes
- In a Java editor or a Java view, select the type
- Do one of the following:
- From the menu bar, select Refactor > Use Supertype Where Possible or
- From the editor's pop-up menu, select Refactor > Use Supertype Where Possible
Refactoring actions
Refactoring dialogs
Refactoring preferences