Pulling members up to superclass
To pull up class members (fields and methods) to the class's superclass:
- In a Java view (e.g. Outline, Package Explorer, Members), select the members that you want to pull up.
- Do on of the following:
- From the menu bar, select Refactor > Pull Up or
- From the pop-up menu, select Refactor > Pull Up
Note: the selected members must all have the same declaring type for this refactoring to be enabled.
Refactoring actions
Refactoring dialogs
Refactoring preferences