void (@NotNull final ConsoleView consoleView, @Nullable final JComponent actionListenerComponent, @NotNull final String title, @NotNull final Project project, @NotNull Icon icon, @Nullable final Collection<? extends Runnable> closeListeners, final AnAction @NotNull ... customActions) { final AnAction[] actions = ArrayUtil.mergeArrays(customActions, consoleView.createConsoleActions()); show(consoleView.getComponent(), actionListenerComponent, title, icon, project, closeListeners, actions); }