2. Rename Method
Add Parameter Introduce Parameter Object
Remove Parameter Remove Setting Method
Separate Query from Hide Method
Modifier
Replace Constructor with
Parameterize Method Factory Method
Replace Parameter with Encapsulate Downcast
Explicit Methods
Replace Error Code with
Preserve Whole Object Exception
Replace Parameter with Replace Exception with Test
Method
3. Replace Error Code with
Rename Method Exception
vs Replace Exception with
Add Parameter Test
vs Remove Parameter
Remove Setting Method
Parameterize Method & Hide Method
vs Replace Parameter with
Explicit Methods
Replace Constructor with
Factory Method
Preserve Whole Object
vs Introduce Parameter Object
Separate Query from Modifier
Replace Parameter with
Method Encapsulate Downcast