void (final Project project, final PsiElement[] elements, final PsiElement targetContainer, final MoveCallback callback) { SelectInnerOrMembersRefactoringDialog dialog = new SelectInnerOrMembersRefactoringDialog((PsiClass)elements[0], project); if (!dialog.showAndGet()) { return; } MoveHandlerDelegate delegate = dialog.getRefactoringHandler(); if (delegate != null) { delegate.doMove(project, elements, targetContainer, callback); } }