void (@NotNull Project project) { Application application = ApplicationManager.getApplication(); if (application.getUserData(UPDATE_NOTIFICATION_SHOWN) != null) return; application.putUserData(UPDATE_NOTIFICATION_SHOWN, true); if (application.isDispatchThread()) { application.executeOnPooledThread(() -> checkForUpdateInBackgroundThread(project)); } else { checkForUpdateInBackgroundThread(project); } }