LanguageConsoleBuilder (@NotNull BaseConsoleExecuteActionHandler executeActionHandler, @NotNull String historyType, boolean moveCaretToTheFirstLine) { if (consoleView == null) { this.executeActionHandler = executeActionHandler; this.historyType = historyType; } else { doInitAction(consoleView, executeActionHandler, historyType, moveCaretToTheFirstLine); } return this; }