void (@NotNull AnActionEvent e) { DataContext dataContext = e.getDataContext(); PasteProvider provider = PlatformDataKeys.PASTE_PROVIDER.getData(dataContext); if (provider != null && provider.isPasteEnabled(dataContext)) { provider.performPaste(dataContext); } }