private boolean validateDiffName() {
    final File matchesDbFile = getMatchesDatabaseTargetFile();
    return !matchesDbFile.exists() || diffDatabaseOverwrite.isSelected();
  }
Save dialog for function diff views.
java/ui/src/main/java/com/google/security/zynamics/bindiff/gui/dialogs/SaveFunctionDiffViewDialog.java