Encapsulate Feature | |||
| |||
Context: Encapsulation is a powerful mechanism to control the number of code adjustments required in order to perform a refactoring. Encapsulate Feature is a natural preparation step prior to moving or refactoring a certain feature. Encapsulate Feature is an example of Introduce Indirection. See also :Inline Feature, Replace Method With Method Object[Fowler], Extract Class[Fowler], Extract Method[Fowler], Replace Data Value With Object[Fowler], Replace Type Code With Class[Fowler] |