boolean () { if (disabledOutsideIntegrationTests) return true; if (!StartupManager.getInstance(myProject).postStartupActivityPassed()) { LOG.info("Project startup activities are not finished yet."); return false; } Supplier<@NotNull @NlsSafe String> nextMessage; synchronized (LOCK) { if (activities.isEmpty()) return true; nextMessage = activities.values().iterator().next(); } LOG.info("Project initialization & indexing not finished. " + nextMessage.get() + " is still running"); return false; }