public void reloadFromDisk(@NotNull Document document) {
    VirtualFile file = Objects.requireNonNull(getFile(document));
    reloadFromDisk(document, ProjectLocator.getInstance().guessProjectForFile(file));
  }
public void reloadFromDisk(@NotNull Document document)