class_docstr: A class used to hold the accessor methods for a particular data type.
  
  Parameters
  ----------
  stream : "Stream"
      The stream to injected with the method accessor.
class_docstr_tok: ["A","class","used","to","hold","the","accessor","methods","for","a","particular","data","type",".","Parameters","--","--","--","--","--","stream",":","``","Stream","''","The","stream","to","injected","with","the","method","accessor","."]
docstr: Injects an accessor into a specific stream instance.
  
  Parameters
  ----------
  func : `Callable`
      The function to be injected as an accessor method.
  names : `List[str]`
      The names to be given to the function.
docstr_tok: ["Injects","an","accessor","into","a","specific","stream","instance",".","Parameters","--","--","--","--","--","func",":","`","Callable","`","The","function","to","be","injected","as","an","accessor","method",".","names",":","`","List","[","str","]","`","The","names","to","be","given","to","the","function","."]
code: def register_method(cls, func: Callable, names: "List[str]"):
      """Injects an accessor into a specific stream instance.
  
      Parameters
      ----------
      func : `Callable`
          The function to be injected as an accessor method.
      names : `List[str]`
          The names to be given to the function.
      """
  
      def method(self, *args, **kwargs):
          args = (self.stream,) + args
          return func(*args, **kwargs)
  
      for name in names:
          setattr(cls, name, method)
      return method
  
imports: from typing import List, Callable
label_desc: Use image node_id 3 for calling the Methods obj's underlying member method code with example usage: obj.register_method(cls, func, names) and returns: method, func