How to add the class's implemented method to the interface? Permanently deleted user 创建于 2012年11月22日 14:32 Hi!How to add some method of class to the interface of this class in refactoring mode?(Java)
Refactor > Pull members up
Oh, thx!
another trick is to add @Override annotation to your method and than invoke inspection (ALT+ ENTER) and choose either "extract interface" or "pull members up" or "pull method YOURMethod to YOURinterface"