void (@NotNull VirtualFile file, int fileId) { if (CLEAR_NON_INDEXABLE_FILE_DATA) { List<ID<?, ?>> extensions = getIndexedContentDependentExtensions(fileId); if (!extensions.isEmpty()) { myFileBasedIndex.removeDataFromIndicesForFile(fileId, file, "non_indexable_file"); } IndexingFlag.cleanProcessingFlag(file); } else if (ApplicationManager.getApplication().isInternal() && !ApplicationManager.getApplication().isUnitTestMode()) { checkNotIndexedByContentBasedIndexes(file, fileId); } }