private ActionListener setCodeAndClose(@NotNull QuickMergeContentsVariants variant) {
    return e -> {
      myVariant = variant;
      close();
    };
  }
private ActionListener setCodeAndClose(@NotNull QuickMergeContentsVariants variant)