void (@NotNull Project project) { if (myEarlyNotifications != null) { myEarlyNotifications.removeIf(pair -> project.equals(pair.second)); } for (Notification notification : getNotificationsOfType(Notification.class, project)) { notification.hideBalloon(); } TooltipController.getInstance().resetCurrent(); }