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

0
Avatar
Permanently deleted user

Menu Refactor->Replace inheritance with delegation.
R

0
Avatar
Permanently deleted user

D'Oh!

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


Thanks.


RRS

0

请先登录再写评论。