Appendix C. Inverses for Refactorings


REFACTORING

INVERSE

Add Parameter

Remove Parameter

Change Bidirectional Association to Unidirectional

Change Unidirectional Assocation to Bidirectional

Change Reference to Value

Change Value to Reference

Change Unidirectional Association to Bidirectional

Change Bidirectional Association to Unidirectional

Change Value to Reference

Change Reference to Value

Collapse Hierarchy

Extract Subclass

Extract Class

Inline Class

Extract Method

Inline Method

Extract Subclass

Collapse Hierarchy

Hide Delegate

Remove Middle Man

Inline Class

Extract Class

Inline Method

Extract Method

Inline Temp

Introduce Explaining Variable

Introduce Explaining Variable

Inline Temp

Move Field

Move Field

Move Method

Move Method

Parameterize Method

Replace Parameter with Explicit Methods

Pull Up Field

Push Down Field

Pull Up Method

Push Down Method

Push Down Field

Pull Up Field

Push Down Method

Pull Up Method

Remove Middle Man

Hide Delegate

Remove Parameter

Add Parameter

Rename Method

Rename Method

Replace Delegation with Inheritance

Replace Inheritance with Delegation

Replace Inheritance with Delegation

Replace Delegation with Inheritance

Replace Parameter with Explicit Methods

Parameterize Method

Substitute Algorithm

Substitute Algorithm



Refactoring Workbook
Refactoring Workbook
ISBN: 0321109295
EAN: 2147483647
Year: 2003
Pages: 146

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net