@Nullable("null indicates that cache was invalid")
  private static List<InternalExternalProjectInfo> load(@NotNull Project project) throws IOException {
    VersionedFile cacheFile = getCacheFile(project);
    BasicFileAttributes fileAttributes = PathKt.basicAttributesIfExists(cacheFile.getFile());
    if (fileAttributes == null || !fileAttributes.isRegularFile()) {
      return Collections.emptyList();
    }

    if (isInvalidated(cacheFile.getFile(), fileAttributes)) {
      LOG.debug("External projects data storage was invalidated");
      return null;
    }
    return cacheFile.readList(InternalExternalProjectInfo.class, SerializationKt.createCacheReadConfiguration(LOG));
  }
@Nullable("null indicates that cache was invalid")
  private static List<InternalExternalProjectInfo> load(@NotNull Project project)