def METHOD_NAME(fnm):
    fnm["args_types"] = ", " if len(fnm["args"]) > 0 else ""
    fnm["args_types"] = fnm["args_types"] + ", ".join(["Type." + i for i in fnm["args"] if i != "..."])
    fnm["has_vargs"] = "true" if "..." in fnm["args"] else "false"
    return fn_template.substitute(fnm)