def METHOD_NAME(lists):
    result = "/* This is a generated file. */\n"
    for driver in lists["FONT_MODULES"]:
        if driver == "sfnt":  # Special case for the sfnt 'driver'.
            result += "FT_USE_MODULE( FT_Module_Class, sfnt_module_class )\n"
            continue
        name = {
            "truetype": "tt",
            "type1": "t1",
            "cid": "t1cid",
            "type42": "t42",
            "winfonts": "winfnt",
        }.get(driver, driver)
        result += (
            "FT_USE_MODULE( FT_Driver_ClassRec, %s_driver_class )\n" % name
        )
    for module in lists["HINTING_MODULES"]:
        result += (
            "FT_USE_MODULE( FT_Module_Class, %s_module_class )\n" % module
        )
    for module in lists["RASTER_MODULES"]:
        names = {
            "raster": ("ft_raster1",),
            "smooth": ("ft_smooth",),
            "svg": ("ft_svg",),
            "sdf": ("ft_sdf", "ft_bitmap_sdf"),
        }.get(module)
        for name in names:
            result += (
                "FT_USE_MODULE( FT_Renderer_Class, %s_renderer_class )\n" % name
            )
    for module in lists["AUX_MODULES"]:
        if module in ("psaux", "psnames", "otvalid", "gxvalid"):
            name = {
                "gxvalid": "gxv",
                "otvalid": "otv",
            }.get(module, module)
            result += (
                "FT_USE_MODULE( FT_Module_Class, %s_module_class )\n" % name
            )
    result += "/* EOF */\n"
    return result