void (@NotNull Project project) { if (!DumbService.isDumb(project)) { ReadAction.run(() -> { for (FileBasedIndexExtension<?,?> extension : FileBasedIndexExtension.EXTENSION_POINT_NAME.getExtensionList()) { FileBasedIndex.getInstance().ensureUpToDate(extension.getName(), project, null); } }); } }