Expand primitive types covered by Promote to Method Constant refactoring
Currently the Promote to Method Constant refactoring only handles string or numeric constants. It would be great if it also handled Booleans.
I often see code such as:
init(customer, false, true);
Such code is much more readable if the two Boolean values were replaced with constants that described what false meant in that context. E.g.
init(customer, DontGenerateInvoice, LoadOrders);