sS replaceIdentifiers(S text, O... params) { MapSO map = paramsToMap(params); if (empty(map)) ret text; ret mapCodeTokens_javaTok(text, t -> lookupOrKeep(map, t)); }