Posts Tagged ‘Decomposition’

Refactorings – Decompose Parameter

September 9th, 2011 Comments off

The Decompose Parameter refactoring splits a single parameter into one or more parameters, depending on the function of the original parameter. The refactoring analyzes how the parameter is used and which of its properties are accessed, after which it can replace a single parameter into several others of the appropriate type for each property being accessed through the original parameter.

Read more…