if (bridgeTargets.contains(sum))
nameToUse = (String) methodNameMap.get(sum);
else
- nameToUse = Keywords.getCxxName(m.name);
+ nameToUse = m.name;
methodNameMap.put(sum, nameToUse);
MethodHelper.print(out, m, this, nameToUse);
}
public void print(CniPrintStream out)
{
- out.print("::" + name.replaceAll("/", "::"));
+ out.print("::");
+ out.printName(name);
}
// This prints the body of a class to a CxxPrintStream.
out.print("class ");
// Don't use our print() -- we don't want the leading "::".
- out.print(name.replaceAll("/", "::"));
+ out.printName(name);
if (superClass != null)
{
out.print(" : public ");