Replaces all parameters of a method or closure with a map. Accordingly, replaces parameter occurrences with appropriate entries of new map argument.