jdecomp
jdecomp copied to clipboard
Is it possible to jump to a specific class/symbol in the decompiled file?
Thanks for this!
I tried this out today to use with company-emacs-eclim, because sometimes eclim-java-find-declaration takes me to a .class file. It works great so far using cfr as the decompiler, except that point always ends up at the first line of the decompiled .java file in the preview window.
Is it possible to somehow jump directly to a class/function in the decompiled file?
e.g. point is at the | in class F|oo. I hit M-. (eclim-java-find-declaration) and I jump right to the declaration for class Foo in the decompiled .java file.
I assume that this would be a lot easier if emacs-eclim supported decompilation directly, but can you think of a way to make that work?
Hmm, I'm not familiar with emacs-eclim, but for this to work, it would have to somehow pass information about the member / method to jdecomp. jdecomp would then have to decompile the class file, then jump to that member / method.
If you want to take a crack at this, I'm happy to accept a PR 😃.