void () { TableUtil.stopEditing(myTable); String message = validateAndCommitData(); if (message != null) { CommonRefactoringUtil.showErrorMessage(JavaRefactoringBundle.message("error.incorrect.data"), message, HelpID.CHANGE_CLASS_SIGNATURE, myClass.getProject()); return; } invokeRefactoring(JavaRefactoringFactory.getInstance(myProject) .createChangeClassSignatureProcessor(myClass.getProject(), myClass, myTypeParameterInfos.toArray(new TypeParameterInfo[0]))); }