String (PsiNamedElement element, NameSuggester suggester, String newClassName, String oldClassName) { String name = element.getName(); if (oldClassName.equals(name)) { return newClassName; } String canonicalName = nameToCanonicalName(name, element); final String newCanonicalName = suggester.suggestName(canonicalName); if (newCanonicalName.isEmpty()) { LOG.error("oldClassName = " + oldClassName + ", newClassName = " + newClassName + ", name = " + name + ", canonicalName = " + canonicalName + ", newCanonicalName = " + newCanonicalName); } return canonicalNameToName(newCanonicalName, element); }