public static <S> SettingsEditorFragment<S, JLabel> createHeader(@Nls(capitalization = Nls.Capitalization.Title) String title) {
    JLabel jLabel = new JLabel(title);
    jLabel.setFont(JBUI.Fonts.label().deriveFont(Font.BOLD));
    SettingsEditorFragment<S, JLabel> fragment = new SettingsEditorFragment<>(
      "title",
      null,
      null,
      jLabel,
      SettingsEditorFragmentType.HEADER,
      (__, ___) -> {},
      (__, ___) -> {},
      Predicates.alwaysTrue()
    );
    fragment.setCanBeHidden(false);
    fragment.setRemovable(false);
    return fragment;
  }
public static <S> SettingsEditorFragment<S, JLabel> createHeader(@Nls(capitalization = Nls.Capitalization.Title) String title)