In IntellyJ IDEA 12, you can use the Push Members Down dialog:
Refactor -> Pull Members Down...
Then select the methods you want to click on the subclasses and click on "Refactor": http://clip2net.com/s/i6DK41
Note that it does not generate the stub method with the base class - it just moves it as it is. Thus, you will need to implement the stub yourself in the parent (root) class, for example:
public boolean getRequiredDatabaseNameWhenPartitioned() { return true; }
then use "Push members down", refactor and finally manually create the parent class method
dbahdano
source share