How to add the class's implemented method to the interface?

Hi!
How to add some method of class to the interface of this class in refactoring mode?
(Java)

3 comments
Comment actions Permalink

Refactor > Pull members up

0
Comment actions Permalink

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"

0

Please sign in to leave a comment.