code: def methods(self):
      if self._cls is None:
          return []
      return [
          name
          for name, func in inspect.getmembers(self._cls)
          if (
              (
                  not name.startswith("_")
                  or name in self.extra_public_methods
              )
              and isinstance(func, collections.Callable)
              and self._is_show_member(name)
          )
      ]
  
imports: import inspect
  import textwrap
  import re
  import pydoc
  from warnings import warn
  import collections
  import copy
label_desc: Use image node_id 2 for calling the ClassDoc obj's underlying member method code with example usage: obj.methods() and returns: unknown, list