def METHOD_NAME(method):
    @functools.wraps(method)
    def f(ctype_self: _cuda_types.TypeBase, instance: Data) -> BuiltinFunc:
        return BuiltinFunc.from_class_method(method, ctype_self, instance)
    return f