@Override
    public void performCopy(@NotNull DataContext dataContext) {
      PsiElement[] elements = validate(getSelectedElements(dataContext));
      PsiCopyPasteManager.getInstance().setElements(elements, true);
      updateView();
    }
@Override
    public void performCopy(@NotNull DataContext dataContext)