private boolean maySaveDocument(@NotNull VirtualFile file, @NotNull Document document, boolean isExplicit) {
    if (myConflictResolver.hasConflict(file)) {
      return false;
    }

    for (FileDocumentSynchronizationVetoer vetoer : FileDocumentSynchronizationVetoer.EP_NAME.getExtensionList()) {
      if (!vetoer.maySaveDocument(document, isExplicit)) {
        return false;
      }
    }
    return true;
  }
private boolean maySaveDocument(@NotNull VirtualFile file, @NotNull Document document, boolean isExplicit)