private void processRefreshedFile(@Nullable Project project,
                                    @NotNull final CachedFileContent fileContent,
                                    boolean isDeleteRequest,
                                    @NotNull FileIndexingStamp indexingStamp) {
    // ProcessCanceledException will cause re-adding the file to the processing list
    final VirtualFile file = fileContent.getVirtualFile();
    if (getFilesToUpdateCollector().isScheduledForUpdate(file)) {
      try {
        indexFileContent(project, fileContent, isDeleteRequest, null, indexingStamp).apply(file, null, true);
      }
      finally {
        IndexingStamp.flushCache(getFileId(file));
        IndexingFlag.unlockFile(file);
      }
    }
  }
private void processRefreshedFile(@Nullable Project project,
                                    @NotNull final CachedFileContent fileContent,
                                    boolean isDeleteRequest,
                                    @NotNull FileIndexingStamp indexingStamp)