public static StringWrapper cppTranslateMethodName(MethodSlot method, boolean qualifyP) {
    { Surrogate methodtype = method.slotOwner;
      StringWrapper translatedname = MethodSlot.cppTranslateFunctionName(method, qualifyP);

      if (MethodSlot.cppMethodObjectIsFunctionP(method)) {
        return (translatedname);
      }
      else {
        return (StringWrapper.wrapString(GeneralizedSymbol.cppTranslateClassName(Symbol.internSymbolInModule(methodtype.symbolName, ((Module)(methodtype.homeContext)), false)).wrapperValue + "::" + translatedname.wrapperValue));
      }
    }
  }