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 ... |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access