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

  1. Select the class that implements the interface to be moved.
  2. Make sure you are in Change mode.
  3. Choose Utilities → Refactoring → RefactoringAssistant.
  4. Select the interface to be moved and move it to the name of the superclass using Drag & Drop.
  5. Choose Save.

Result

The superclass implements the interface that you have moved.