boolean performDefaultPaste(@NotNull DataContext dataContext) {
      final boolean[] isCopied = new boolean[1];
      final PsiElement[] elements = PsiCopyPasteManager.getInstance().getElements(isCopied);
      if (elements == null) return false;

      return DumbService.getInstance(myProject).computeWithAlternativeResolveEnabled(() -> {
        try {
          final Module module = PlatformCoreDataKeys.MODULE.getData(dataContext);
          PsiElement target = getPasteTarget(dataContext, module);
          if (isCopied[0]) {
            pasteAfterCopy(elements, module, target, true);
          }
          else if (MoveHandler.canMove(elements, target)) {
            pasteAfterCut(dataContext, elements, target);
          }
          else {
            return false;
          }
        }
        finally {
          updateView();
        }
        return true;
      });
    }
boolean performDefaultPaste(@NotNull DataContext dataContext)