Icon (List<NotificationType> notificationTypes, JComponent panel) { if (ExperimentalUI.isNewUI()) { return IconUtil.resizeSquared(NOTIFICATION_ICON.getInfoIcon(!notificationTypes.isEmpty()), JBUIScale.scale(16)); } else { if (notificationTypes.isEmpty()) { return AllIcons.Ide.Notification.NoEvents; } NotificationType type = Collections.max(notificationTypes); return type == NotificationType.IDE_UPDATE ? AllIcons.Ide.Notification.IdeUpdate : IdeNotificationArea.createIconWithNotificationCount(panel, type, notificationTypes.size(), false); } }