@Nullable
  private static ConflictType getConflictType(boolean isReversed,
                                              boolean hasOriginal,
                                              boolean hasYours,
                                              boolean hasTheirs) {
    if (hasOriginal && hasYours && hasTheirs) return ConflictType.DEFAULT;

    if (hasYours && hasTheirs) {
      return ConflictType.ADDED_ADDED;
    }
    if (hasOriginal) {
      if (hasYours) {
        return !isReversed ? ConflictType.MODIFIED_DELETED : ConflictType.DELETED_MODIFIED;
      }
      if (hasTheirs) {
        return !isReversed ? ConflictType.DELETED_MODIFIED : ConflictType.MODIFIED_DELETED;
      }
    }
    return null;
  }
@Nullable
  private static ConflictType getConflictType(boolean isReversed,
                                              boolean hasOriginal,
                                              boolean hasYours,
                                              boolean hasTheirs)