Moving Interfaces to a Superclass
Use
Interfaces that are implemented by a class can be moved to the direct superclass. The superclass becomes the implementing class.
Procedure
- Select the class that implements the interface to be moved.
- Make sure you are in Change mode.
- Choose Utilities → Refactoring → RefactoringAssistant.
- Select the interface to be moved and move it to the name of the superclass using Drag & Drop.
- Choose Save.
Result
The superclass implements the interface that you have moved.