Refactoring to Transform Base Class (Extends) to Field + Delegations? Follow
Hi,
Is there a refactoring that will replace a base class with a field of that class's type and possibly introduce delegations to the methods no longer inherited?
If there are third-party (free or open or commercial) that implement such a refactoring, I'd like to know of them, too.
If nothing like this exists, is there a way to partially automate such a transformation?
Thanks.
Randall Schulz
Please sign in to leave a comment.
Menu Refactor->Replace inheritance with delegation.
R
D'Oh!
I did look before posting. I guess I must have looked right at it without seeing it...
Thanks.
RRS