At 01:08 PM 5/9/00 -0700, Eric D. Friedman wrote:
>
>The jde-gen-get-set function produces accessor/mutator methods that are
>99% in compliance with the naming convention for javabeans.  Where they
>fall short is in generating accessor methods for boolean fields.
>These are supposed to be written thusly:
>
>public boolean isActive () { return mActive; }
>
>but the jde-gen-get-set function yields
>
>public boolean getActive () { return mActive; }
>
>The following lisp defun will do the right thing for all accessor methods.
>I suggest that it be folded into the next release of jde-gen.el, and
>offer it here for interim use.
>

Will do.

BTW, the next release is later than expected because a minor improvement to
JDEbug is taking longer than I expected. The improvement is for the JDEbug
menu to appear immediately when you select JDEbug and to disappear when you
deselect it in a customization buffer. Turns out there is no ready-made
function, at least that I can find, for removing items from the Emacs
menu-bar. It's easy to add items to the menu-bar but not easy to remove
them. I've had to dig deeper than I ever wanted to into keymaps, both how
they're structured and created by modes, to learn how to write a function
to remove the JDEbug menu. I think I'm nearly there. The JDEbug menu now
appears when you select JDEbug but my menu remover function removes all the
other jde-mode and java-mode menus as well as JDEbug when you deselect
JDEbug. As soon as I lick this problem, I'll be able to issue the next release.

- Paul



Reply via email to