StringBuilder ( boolean doHighlighting, @NotNull StringBuilder buffer, @NotNull TextAttributes attributes, @Nullable String value ) { if (doHighlighting) { HtmlSyntaxInfoUtil.appendStyledSpan(buffer, attributes, value, getHighlightingSaturation()); } else { buffer.append(value); } return buffer; }