@Override
  protected void doRefactorImpl(final @NotNull Project project,
                                final @NotNull PyClass classUnderRefactoring,
                                final @NotNull PyMemberInfoStorage infoStorage,
                                final @NotNull Editor editor) {
    //TODO: Move to presenter
    if (PyMembersUtil.filterOutObject(infoStorage.getClassMemberInfos(classUnderRefactoring)).isEmpty()) {
      CommonRefactoringUtil.showErrorHint(project, editor, PyBundle
        .message("refactoring.extract.super.class.no.members.allowed"), RefactoringBundle.message("extract.superclass.elements.header"),
                                          null);
      return;
    }

    ViewPresenterUtils.linkViewWithPresenterAndLaunch(PyExtractSuperclassPresenter.class, PyExtractSuperclassView.class,
                                                      new Creator<>() {
                                                        @Override
                                                        public @NotNull PyExtractSuperclassPresenter createPresenter(final @NotNull PyExtractSuperclassView view) {
                                                          return new PyExtractSuperclassPresenterImpl(view, classUnderRefactoring,
                                                                                                      infoStorage);
                                                        }

                                                        @Override
                                                        public @NotNull PyExtractSuperclassView createView(final @NotNull PyExtractSuperclassPresenter presenter) {
                                                          return new PyExtractSuperclassViewSwingImpl(classUnderRefactoring, project,
                                                                                                      presenter);
                                                        }
                                                      }
    );
  }
@Override
  protected void doRefactorImpl(final @NotNull Project project,
                                final @NotNull PyClass classUnderRefactoring,
                                final @NotNull PyMemberInfoStorage infoStorage,
                                final @NotNull Editor editor)