code: def __call_node_to_example_dec(self, node, via):
      # If we have black installed, remove trailing comma, _unless_ there's a comment
      node = node.with_changes(
          func=self.decorator_func,
          args=[
              a.with_changes(
                  comma=a.comma
                  if m.findall(a.comma, m.Comment())
                  else cst.MaybeSentinel.DEFAULT
              )
              for a in node.args
          ]
          if black
          else node.args,
      )
      # Note: calling a method on a decorator requires PEP-614, i.e. Python 3.9+,
      # but plumbing two cases through doesn't seem worth the trouble :-/
      via = cst.Call(
          func=cst.Attribute(node, cst.Name("via")),
          args=[cst.Arg(cst.SimpleString(repr(via)))],
      )
      if black:  # pragma: no branch
          pretty = black.format_str(
              cst.Module([]).code_for_node(via),
              mode=black.FileMode(line_length=self.line_length),
          )
          via = cst.parse_expression(pretty.strip())
      return cst.Decorator(via)
  
imports: import difflib
  import hashlib
  import inspect
  import re
  import sys
  from ast import literal_eval
  from contextlib import suppress
  from datetime import date, datetime, timedelta, timezone
  from pathlib import Path
  import libcst
  from libcst import matchers
  from libcst.codemod import CodemodContext, VisitorBasedCodemodCommand
  from hypothesis.configuration import storage_directory
  from hypothesis.version import __version__
label_desc: Use image node_id 2 for calling the AddExamplesCodemod obj's underlying member method code with example usage: obj.__call_node_to_example_dec(node, via) and returns: cst