Notification (@NonNls @Nullable String displayId, @NotificationTitle @NotNull String title, @NotificationContent @NotNull String message, boolean showDetailsAction) { Notification notification = createNotification(IMPORTANT_ERROR_NOTIFICATION, displayId, title, message, NotificationType.ERROR, null); if (showDetailsAction) { addShowDetailsAction(myProject, notification); } return notify(notification); }