private static void update(@NotNull VirtualFile file, @NotNull Project project) {
    EditorNotifications.getInstance(project).updateNotifications(file);
  }
private static void update(@NotNull VirtualFile file, @NotNull Project project)