The Extract Superclass refactoring enables extracting certain methods of a class into a superclass.
Extracting a superclass
To extract a superclass
- On the on the main menu or on the context menu, choose .
- In the Extract Superclass dialog box that appears, specify the following information:
- Name of the new superclass.
- Target directory where it will be stored.
- Methods to be included in the superclass.
- Proceed with the refactoring.
Last modified: 28 March 2018