Function: cider-xref-tree--defmethod-node
cider-xref-tree--defmethod-node is a byte-compiled function defined in
cider-xref-tree.el.
Signature
(cider-xref-tree--defmethod-node SITE)
Documentation
Return a tree node for a defmethod SITE plist, jumping to its source.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-xref-tree.el
(defun cider-xref-tree--defmethod-node (site)
"Return a tree node for a `defmethod' SITE plist, jumping to its source."
(let ((dispatch (plist-get site :dispatch))
(file (plist-get site :file))
(line (plist-get site :line)))
(cider-tree-view-node-create
:label (cider-font-lock-as-clojure dispatch)
:on-visit (lambda () (cider-xref-tree--jump-to-file file line)))))