if (oldSymbol.name.isTypeName()) newName = newName.toTypeName(); else if (oldSymbol.name.isConstrName()) newName = newName.toConstrName();
    protected Symbol renameSymbol(Map symbolMap, Symbol oldSymbol) {        Name newName = freshNameCreator.newName(oldSymbol.name);        Symbol newSymbol = oldSymbol.cloneSymbol();        newSymbol.name = newName;        symbolMap.put(oldSymbol, newSymbol);        return newSymbol;    }