void (@NotNull DataContext dataContext) { final Project project = CommonDataKeys.PROJECT.getData(dataContext); final Editor editor = CommonDataKeys.EDITOR.getData(dataContext); if (project == null || editor == null) return; final String fqn = getCopiedFqn(dataContext); if (fqn == null) return; QualifiedNameProvider theProvider = null; PsiElement element = null; for(QualifiedNameProvider provider: QualifiedNameProvider.EP_NAME.getExtensionList()) { element = provider.qualifiedNameToElement(fqn, project); if (element != null) { theProvider = provider; break; } } if (theProvider != null) { insert(fqn, element, editor, theProvider); } }