@Nullable
  @Override
  protected JComponent getCustomValueRenderer(@NotNull String optionName, @NotNull Object value) {
    if (CodeStyleSoftMarginsPresentation.OPTION_NAME.equals(optionName)) {
      JLabel softMarginsLabel = new JLabel(getSoftMarginsString(castToIntList(value)));
      UIUtil.applyStyle(UIUtil.ComponentStyle.SMALL, softMarginsLabel);
      return softMarginsLabel;
    }
    else if ("WRAP_ON_TYPING".equals(optionName)) {
      if (value.equals(ApplicationBundle.message("wrapping.wrap.on.typing.default"))) {
        JLabel wrapLabel = new JLabel(MarginOptionsUtil.getDefaultWrapOnTypingText(getSettings()));
        UIUtil.applyStyle(UIUtil.ComponentStyle.SMALL, wrapLabel);
        return wrapLabel;
      }
    }
    else if ("BUILDER_METHODS".equals(optionName)) {
      if (value instanceof @Nls String strValue) {
        String tooltipText = ApplicationBundle.message("settings.code.style.builder.methods.tooltip");
        if (StringUtil.isEmptyOrSpaces(strValue)) {
          ColoredLabel hintLabel = new ColoredLabel(ApplicationBundle.message("settings.code.style.builder.method.names"), JBColor.gray);
          UIUtil.applyStyle(UIUtil.ComponentStyle.SMALL, hintLabel);
          hintLabel.setToolTipText(tooltipText);
          return hintLabel;
        }
        else if (!strValue.contains(",")){
          JLabel valueLabel = new JLabel(strValue);
          valueLabel.setToolTipText(tooltipText);
          return valueLabel;
        }
      }
    }
    return super.getCustomValueRenderer(optionName, value);
  }
@Nullable
  @Override
  protected JComponent getCustomValueRenderer(@NotNull String optionName, @NotNull Object value)