JDC - Java Decompiler Mode for JDEE
JDC is a simple Java decompiler mode that uses Jad to decompile Java class files on-the-fly.
JDC recognizes a class file by the standard 4 byte prefix (hex
"CAFEBABE") that starts all Java class files, and hooks both find file
and archive extract, so you can easily browse decompiled class files
from the filesystem or from .jar or .zip files.
It is based on earlier work by
Ingo Koch and
Craig McGeachie, enhanced by Kevin J. Butler.
It should also (but doesn't, yet) incorporate work done by:
And perhaps JDC should itself be incorporated into i3SP
Other errata:
- Possibly better to open the .java file in a split window?
- jdc assumes the byte comes from a .class file on
disk and therefore the .java buffer name can be constructed
from this. The byte code should be decompiled, and the
.java buffer name constructed by parsing the source for the
class declaration.
- jdc demands that the decompiler output source code to
standard out. This should be made more flexible.
There is a flag that, if set, means that the source code is placed
in a buffer that is modifable, associated with a Java filename,
and marked as modified. The buffer isn't saved, so the Java file
isn't written to. The flag should be extended to include a third
option to automatically save the reconstructed Java source.
- Some thought is needed, about what to do if the intended Java file
already exists.
SourceForge project page
Last modified: Fri Oct 10 15:43:15 Mountain Standard Time 2003