String (T element) { String elementName = getName(element); final NameSuggester suggester = new NameSuggester(getOldName(), getNewName()); final String newCanonicalName = suggester.suggestName(elementName); if (newCanonicalName.length() == 0) { LOG.error("oldName = " + getOldName() + ", newName = " + getNewName() + ", name = " + elementName + ", canonicalName = " + elementName + ", newCanonicalName = " + newCanonicalName); } return newCanonicalName; }