void (@NotNull VirtualFile file) { int fileId = FileBasedIndex.getFileId(file); if (!(file instanceof DeletedVirtualFileStub)) { Set<Project> projects = myFileBasedIndex.getContainingProjects(file); if (projects.isEmpty()) { removeNonIndexableFileData(file, fileId); return; } } VfsEventsMerger.tryLog("ADD_TO_UPDATE", file); myFilesToUpdate.put(fileId, file); }