Main Refactors
There are five atomic refactors that can be applied to methods, functions, classes, variables, and so on:
- Rename: Change the name of classes, methods, variables....
- Extract: Extract a class (or methods or variables...) to create a new abstraction
- Inline: The inverse of extract—inline a method (or variable), deconstructing an abstraction
- Move: Move a class (or methods or variables...) to some other place in the code base
- Safe delete: Delete code and its usages in the code base