void (@NotNull String name, @NotNull StringBuilder builder, @NotNull TextAttributes attributes, @NotNull Color defaultForeground) { builder.append(name).append(" {"); appendHexColor(builder, "color", ObjectUtils.notNull(attributes.getForegroundColor(), defaultForeground)); appendHexColor(builder, "background-color", attributes.getBackgroundColor()); appendFontType(builder, attributes); appendEffects(builder, attributes); builder.append("}"); }