void (@NotNull StringBuilder builder, @NotNull TextAttributes attributes) { builder.append(" font-style: "); int fontType = attributes.getFontType(); builder.append((fontType & Font.ITALIC) != 0 ? "italic" : "normal").append("; "); if ((fontType & Font.BOLD) != 0) { builder.append(" font-weight: bold").append("; "); } }