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