Push Down Method
From CSSEMediaWiki
(Difference between revisions)
m (Reverted edits by Ebybymic (Talk); changed back to last version by Brett Ward) |
|||
Line 3: | Line 3: | ||
This may often be done after using [[Extract Superclass]]. | This may often be done after using [[Extract Superclass]]. | ||
− | + | == See Also == | |
{{Refactoring}} | {{Refactoring}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 03:23, 25 November 2010
If a method within the superclass is only relevant to some of the subclasses, the method should be moved to the subclasses.
This may often be done after using Extract Superclass.
See Also