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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.