Introduce Local Extension
From CSSEMediaWiki
Revision as of 20:49, 14 October 2009 by Brett Ward (Talk | contribs)
Similar to Introduce Foreign Method, this refactoring is when you have several additional methods that need to be added to a server class, but the source code cannot be altered.
A new class should be created, containing the extra methods needed. This "extension" class should be made into a subclass or wrapper of the original server class.
See Also