ModificationTracker (@NotNull Project project) { if (FileBasedIndexExtension.USE_VFS_FOR_FILENAME_INDEX) { return FSRecords::getNamesIndexModCount; } return () -> disableIndexUpToDateCheckInEdt(() -> FileBasedIndex.getInstance().getIndexModificationStamp(FilenameIndex.NAME, project)); }