The code walker for defmethod evaluates load-time-value at compile time
Example:
(defmethod some-method ()
(load-time-value (print "hello from method")))
(defun some-function ()
(load-time-value (print "hello from function")))
Compiling this file yields
;;;
;;; Compiling test.lisp.
;;; OPTIMIZE levels: Safety=2, Space=0, Speed=3, Debug=3
;;;
"hello from method"
"hello from method"
;;; End of Pass 1.
;;; Finished compiling test.lisp.
;;;