Function: cider-xref-tree--multimethod-nodes
cider-xref-tree--multimethod-nodes is a byte-compiled function defined
in cider-xref-tree.el.
Signature
(cider-xref-tree--multimethod-nodes VAR DISPATCH-VALUES)
Documentation
Build the child nodes for multimethod VAR.
Prefer source (defmethod ...) sites, so each method jumps to its own
definition; fall back to the runtime DISPATCH-VALUES as display-only leaves when
no sites are found (no project source, or methods added dynamically).
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-xref-tree.el
(defun cider-xref-tree--multimethod-nodes (var dispatch-values)
"Build the child nodes for multimethod VAR.
Prefer source `(defmethod ...)' sites, so each method jumps to its own
definition; fall back to the runtime DISPATCH-VALUES as display-only leaves when
no sites are found (no project source, or methods added dynamically)."
(if-let* ((sites (cider-xref--defmethod-sites var)))
(mapcar #'cider-xref-tree--defmethod-node sites)
(mapcar #'cider-xref-tree--leaf-node dispatch-values)))