private static void showThreadDump(String out, List<ThreadState> states, Project project) {
    AnalyzeStacktraceUtil.ConsoleFactory factory = states.size() > 1 ? new ThreadDumpConsoleFactory(project, states) : null;
    String title = JavaCompilerBundle.message("tab.title.thread.dump", DateFormatUtil.formatTimeWithSeconds(System.currentTimeMillis()));
    ApplicationManager.getApplication().invokeLater(
      () -> AnalyzeStacktraceUtil.addConsole(project, factory, title, out), ModalityState.nonModal());
  }
private static void showThreadDump(String out, List<ThreadState> states, Project project)