public static void reportProjectFileChangeIfNeeded(@Nullable Project project, @Nullable VirtualFile file) {
    if (project != null && file != null && isProjectFile(file)) {
      StoreReloadManager.Companion.getInstance(project).saveChangedProjectFile(file);
    }
  }
public static void reportProjectFileChangeIfNeeded(@Nullable Project project, @Nullable VirtualFile file)