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