void (@NotNull Project project, boolean startSuspended, @Nullable String indexingReason) { FileBasedIndex.getInstance().loadIndexes(); ((UserDataHolderEx)project).putUserDataIfAbsent(FIRST_SCANNING_REQUESTED, FirstScanningState.REQUESTED); if (TestModeFlags.is(INDEX_PROJECT_WITH_MANY_UPDATERS_TEST_KEY)) { LOG.assertTrue(ApplicationManager.getApplication().isUnitTestMode()); List<IndexableFilesIterator> iterators = collectProviders(project, (FileBasedIndexImpl)FileBasedIndex.getInstance()).getFirst(); for (IndexableFilesIterator iterator : iterators) { new UnindexedFilesScanner(project, startSuspended, true, List.of(iterator), null, indexingReason, ScanningType.FULL_ON_PROJECT_OPEN) .queue(); } project.putUserData(CONTENT_SCANNED, true); } else { new UnindexedFilesScanner(project, startSuspended, true, null, null, indexingReason, ScanningType.FULL_ON_PROJECT_OPEN) .queue(); } }