Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to jump to a specific class/symbol in the decompiled file? #2

Open
jguenther opened this issue Aug 18, 2017 · 1 comment

Comments

@jguenther
Copy link

jguenther commented Aug 18, 2017

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?

@xiongtx
Copy link
Owner

xiongtx commented Mar 14, 2018

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 😃.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants