boolean (PsiElement element, Project project, DataContext dataContext, PsiReference reference, Editor editor) { if (isMovableMember(element)) { List<PsiElement> elements = CommonRefactoringUtil.findElementsFromCaretsAndSelections(editor, element.getContainingFile(), null, e -> isMovableMember(e)); MoveMembersImpl.doMove(project, elements.toArray(PsiElement.EMPTY_ARRAY), null, null); return true; } return false; }