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 ...

Get Refactoring Workbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.