code: def wraps_class_method(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
  
imports: import functools
  import itertools
  from typing import Any, NoReturn, Optional, Union, TYPE_CHECKING
  from cupyx.jit import _cuda_types
  from cupyx.jit import _cuda_typerules
label_desc: Use image node_id 1 for calling a global function with example usage: wraps_class_method(method) and returns: f, BuiltinFunc