ValidationResultType (@NotNull String data, @NotNull EventContext context) { if (UNKNOWN.equals(data)) { return ValidationResultType.ACCEPTED; } NotificationGroup group = NotificationGroupManager.getInstance().getNotificationGroup(data); if (group != null && getPluginInfoById(group.getPluginId()).isDevelopedByJetBrains()) { return ValidationResultType.ACCEPTED; } return ValidationResultType.REJECTED; }