void (@NotNull AnActionEvent e) { Project project = e.getRequiredData(CommonDataKeys.PROJECT); String message = e.getData(IdeErrorsDialog.CURRENT_TRACE_KEY); if (message != null) { AnalyzeStacktraceUtil.addConsole(project, null, JavaBundle.message("unscramble.unscrambled.stacktrace.tab"), message); } else { new UnscrambleDialog(project).show(); } }