Get the throws field from a jmethod.
(jmethod->throws x) → throws
This is an ordinary field accessor created by fty::defprod.
Function:
(defun jmethod->throws$inline (x) (declare (xargs :guard (jmethodp x))) (declare (xargs :guard t)) (let ((__function__ 'jmethod->throws)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (string-list-fix (cdr (std::da-nth 10 x)))) :exec (cdr (std::da-nth 10 x)))))
Theorem:
(defthm string-listp-of-jmethod->throws (b* ((throws (jmethod->throws$inline x))) (string-listp throws)) :rule-classes :rewrite)
Theorem:
(defthm jmethod->throws$inline-of-jmethod-fix-x (equal (jmethod->throws$inline (jmethod-fix x)) (jmethod->throws$inline x)))
Theorem:
(defthm jmethod->throws$inline-jmethod-equiv-congruence-on-x (implies (jmethod-equiv x x-equiv) (equal (jmethod->throws$inline x) (jmethod->throws$inline x-equiv))) :rule-classes :congruence)