void (DataContext dataContext, PsiElement[] elements, PsiElement target) { MoveHandler.doMove(myProject, elements, target, dataContext, new MoveCallback() { @Override public void refactoringCompleted() { PsiCopyPasteManager.getInstance().clear(); } }); }