void (@NotNull AnActionEvent e) { String selected = e.getData(DocumentationManager.SELECTED_QUICK_DOC_TEXT); if (selected == null || selected.isEmpty()) { return; } CopyPasteManager.getInstance().setContents(new StringSelection(selected)); }