Refactor and Delegation
I have a class that implements a couple of interfaces.
For one of the interfaces, I want to move all of its implementing
methods into a separate class, then have the original class delegate all
interface method calls to that class.
Does IDEA have a refactoring for this?
Thanks.
Please sign in to leave a comment.
Refactor -> Replace Inheritance with Delegation
Wow! I always assumed that only worked with inheritance from classes, not interfaces. Sweet.
--Dave Griffith