void (@NotNull ConsoleViewImpl consoleView, @NotNull DataContext context) { String text = CopyPasteManager.getInstance().getContents(DataFlavor.stringFlavor); if (text == null) return; Editor editor = consoleView.getEditor(); consoleView.type(editor, text); }