String (String packageName, @NotNull String extractedSuperName) { if (StringUtil.getQualifiedName(packageName, extractedSuperName).equals(mySourceClass.getQualifiedName())) { return JavaRefactoringBundle.message("different.name.expected"); } return null; }