@NotNull
  @Override
  public MergeRequest createMergeRequest(@Nullable Project project,
                                         @NotNull VirtualFile output,
                                         @NotNull List<byte[]> byteContents,
                                         @Nullable ConflictType conflictType,
                                         @Nullable @NlsContexts.DialogTitle String title,
                                         @NotNull List<@Nls String> contentTitles) throws InvalidDiffRequestException {
    try {
      return createTextMergeRequest(project, output, byteContents, conflictType, title, contentTitles);
    }
    catch (InvalidDiffRequestException e) {
      return createBinaryMergeRequest(project, output, byteContents, title, contentTitles);
    }
  }
@NotNull
  @Override
  public MergeRequest createMergeRequest(@Nullable Project project,
                                         @NotNull VirtualFile output,
                                         @NotNull List<byte[]> byteContents,
                                         @Nullable ConflictType conflictType,
                                         @Nullable @NlsContexts.DialogTitle String title,
                                         @NotNull List<@Nls String> contentTitles)