sS htmlJavaIdentifierTooltips(S text, O... replacements) { ret replaceCodeTokensUsingMap(text, mapMapToMap(litmap(replacements), a, b -> pair(a, dottedSpan(a, b)) )); }