def METHOD_NAME(self, name: str, ret_type: RType | None = None) -> FuncDecl:
    if ret_type is None:
        ret_type = none_rprimitive
    return FuncDecl(
        name=name,
        class_name=None,
        module_name="module",
        sig=FuncSignature(args=[], ret_type=ret_type),
    )