To extract an interface from a type: Extracting an interface from a type
- In a Java editor or a Java view, select the type from which you want to extract an interface
- Do one of the following:
- From the menu bar, select Refactor > Extract Interface or
- From the editor's pop-up menu, select Refactor > Extract Interface
Refactoring actions
Refactoring dialogs
Refactoring preferences