private static boolean needsRefresh(@NotNull VirtualFile file) {
    VirtualFileSystem fs = file.getFileSystem();
    return fs instanceof NewVirtualFileSystem && file.getTimeStamp() != ((NewVirtualFileSystem)fs).getTimeStamp(file);
  }
private static boolean needsRefresh(@NotNull VirtualFile file)