@Override
    public void uiDataSnapshot(@NotNull DataSink sink) {
      Object userObject = TreeUtil.getUserObject(ContainerUtil.getFirstItem(getSelection()));
      sink.lazy(CommonDataKeys.PSI_ELEMENT, () -> {
        return userObject instanceof PsiElement o ? o : null;
      });
    }
@Override
    public void uiDataSnapshot(@NotNull DataSink sink)