@Override
    public void actionPerformed(@NotNull AnActionEvent e) {
      CopyReferenceAction.doCopy((PsiElement)getChosenElement(), myProject);
    }
@Override
    public void actionPerformed(@NotNull AnActionEvent e)