void () { String message = validateInputData(); if (message != null) { if (message.length() != 0) { CommonRefactoringUtil.showErrorMessage( MoveMembersImpl.getRefactoringName(), message, HelpID.MOVE_MEMBERS, myProject); } return; } invokeRefactoring(new MoveMembersProcessor(getProject(), myMoveCallback, new MoveMembersOptions() { @Override public String getMemberVisibility() { return MoveMembersDialog.this.getMemberVisibility(); } @Override public boolean makeEnumConstant() { return MoveMembersDialog.this.makeEnumConstant(); } @Override public PsiMember[] getSelectedMembers() { return MoveMembersDialog.this.getSelectedMembers(); } @Override public String getTargetClassName() { return MoveMembersDialog.this.getTargetClassName(); } }, isOpenInEditor())); }