Sorry if this has been hashed out before in previous mailing list threads.. But I have been unable to find it in the archives.


Is there a proper way to get the current method name? I am trying to use it in a temp-template that I have for automatically generating logging entering and exit lines.

I have written the following: (excuse my patently poor lisp programming... I am new to it)

;; Get the method name for the current method
(defun jde-get-method-name ()
"Insert entering and exiting logging lines."
(let (name
(jde-parse-get-method-at-point))
(if name
(let* ((name-pair (car name))
(class (car name-pair)) )
(cdr name-pair)
)
)
)
)




It often returns nothing..

I appreciate any ideas


Thanks!

Reply via email to