Refactoring to Transform Base Class (Extends) to Field + Delegations?

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

2 comments
Comment actions Permalink

Menu Refactor->Replace inheritance with delegation.
R

0
Comment actions Permalink

D'Oh!

I did look before posting. I guess I must have looked right at it without seeing it...


Thanks.


RRS

0

Please sign in to leave a comment.