private void cacheResult(int gistStamp,
                           @Nullable Data result,
                           @Nullable Project project,
                           @NotNull VirtualFile file) {
    try {
      gist.putProjectData(project, file, result, gistStamp);
    }
    catch (ProcessCanceledException pce) {
      throw pce;
    }
    catch (Throwable e) {
      LOG.error("Can't cache gist[" + gist.id() + "]@[" + file + "] -- gist will be re-calculated again on next request", e);
    }
  }
private void cacheResult(int gistStamp,
                           @Nullable Data result,
                           @Nullable Project project,
                           @NotNull VirtualFile file)