void (@NotNull LanguageConsoleView consoleView, @Nullable String command) { ConsoleHistoryController controller = getController(consoleView); if (controller != null) { controller.addToHistory(command); } }