RE: Cleaning up import statements

2002-04-08 Thread Altmann, Michael
You might consider one of the pure java decompilers, such as BCEL http://jakarta.apache.org/bcel/manual.html or jode http://sourceforge.net/projects/jode/, or ClassFile http://home.earthlink.net/~shvets/. These could even be called from the BeanShell. > -Original Message- > From: James

Sorting methods in a java file

2002-04-04 Thread Altmann, Michael
Does anyone know of a utility in JDEE (or elsewhere) that would allow me to rearrange a java source file so that the methods are in alphabetical order? Ideally, such a utility would also let me decide that static methods should be together and that fields should be sorted and put at the top of the

Buffer list gets garbled

2002-03-28 Thread Altmann, Michael
I periodically find that when I click on the Buffer dropdown it is full of strange characters, instead of my buffer names. If I click again, all is fine. Other times, I find that certain buffers are not listed in the drop down. Anyone else seen this? Emacs 21.1.1 speedbar-0.14beta3 semantic-1.

RE: Why JDEE ?

2002-02-25 Thread Altmann, Michael
JDEE can be used pretty well with a dumb terminal, but I like to use xt-mouse so that I at least have mouse support. I don't know what you do about packages like Speedbar that open new frames. Most of the time I do as Paul suggested -- I run a PC X client (Exceed) into our Unix server. Yes, yo

RE: find all instances of method x

2002-02-01 Thread Altmann, Michael
Grep works fine for somethings, but not if you have some method like "size" that appears all over the place for other classes. In our development shop we run a nightly process after the build that pokes the the jar file and builds a cross reference file. There are a variety of java decompiler to

RE: Whay is JDE/Xemacs startup so slow?

2002-01-28 Thread Altmann, Michael
innucan > Cc: Altmann, Michael; Jde (E-mail) > Subject: Re: Whay is JDE/Xemacs startup so slow? > > >> ... > > It may still be worth debugging, since regexp-opt should only > be loaded > once. The total time to load JDE on my system is 4 seconds, although > if the

Whay is JDE/Xemacs startup so slow?

2002-01-28 Thread Altmann, Michael
Do other people find that it takes 20 secs to load jde? This seems excessively long. I am running xemacs 21.1 on a solaris server box (I'm not sure its exact speed). Without jde it takes just a second to start xemacs. There are many messages about "loading regexp-opt" on the status line. Is th

RE: A func to insert Timer code? The Answer

2002-01-28 Thread Altmann, Michael
For the sake of posterity, here is the elisp finction I ended up writing to add calls to a Timer class that we have. Perhaps it will be useful to other or serve as a simple example for other elisp beginners. I couldn't find a good jde-parse function that returned the current method name. Thank

RE: A func to insert Timer code?

2002-01-24 Thread Altmann, Michael
t;) (end-of-defun) (insert "} finally {\n Timer.stopTimer(" (get-function-name) ");\n}\n") This isn't quite right. At least on my emacs, the defun functions put you on the wrong side of the braces. get-function-name is probably also not the right function name, but there i