private static void addSide(JPanel main,
                              GridBagConstraints gb,
                              ConflictSidePresentation conflictSide,
                              @NlsContexts.Label String description) {
    gb.insets.top = 10;
    main.add(new JBLabel(description), gb);
    ++gb.gridy;
    gb.insets.top = 0;

    if (conflictSide != null) {
      JPanel panel = conflictSide.createPanel();
      if (panel != null) {
        main.add(panel, gb);
        ++gb.gridy;
      }
    }
  }
private static void addSide(JPanel main,
                              GridBagConstraints gb,
                              ConflictSidePresentation conflictSide,
                              @NlsContexts.Label String description)