Function: cider-xref-tree--method-protocol-nodes

cider-xref-tree--method-protocol-nodes is a byte-compiled function defined in cider-xref-tree.el.

Signature

(cider-xref-tree--method-protocol-nodes METHOD)

Documentation

Return tree nodes for the protocols declaring a method named METHOD.

Uses the cider/protocols-with-method op when available, else the client-side tooling eval.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-xref-tree.el
(defun cider-xref-tree--method-protocol-nodes (method)
  "Return tree nodes for the protocols declaring a method named METHOD.
Uses the `cider/protocols-with-method' op when available, else the client-side
tooling eval."
  (if (cider-nrepl-op-supported-p "cider/protocols-with-method")
      (mapcar #'cider-xref-tree--impl-node
              (cider-sync-request:protocols-with-method method))
    (mapcar #'cider-xref-tree--name-node
            (cider-xref-tree--protocol-names
             cider-xref-tree--protocols-with-method-code method))))