ecd-plugin / ecd

An Eclipse Plugin to integrate different Class Decompiler seamlessly into the development workflow
Eclipse Public License 1.0
264 stars 57 forks source link

Visiting nested classes just shows the top-level class #13

Closed davidmichaelkarr closed 7 years ago

davidmichaelkarr commented 7 years ago

We use an binary artifact in our builds where a bunch of classes have nested classes (public static) that are referenced from within the top-level class.

In the old Eclipse-Class-Decompiler, if I try to visit one of the nested classes, it brings up the correct class file for the nested class.

In the new ECD, which I just installed today, I'm finding that visiting the nested class just shows the top-level class. I had to use jd-gui from an archive browser to see the decompilation of the nested classes.

RobertZenz commented 7 years ago

Partial repro here, this seems to be a limitation of the FernFlower decompiler, which is set as the default. Can you please set a different default decompiler (like JD or Procyon) in the preferences and try again? Don't forget to close any already opened (decompiled) classes.

davidmichaelkarr commented 7 years ago

Oh, duh. I was sort of thinking later "wonder if there's something in the decompiler preferences", but it never resulted in action. :) I verified that switching to jd-core fixed that problem.