Eclipse的类文件元数据文件、数据、Eclipse

2023-09-06 14:17:56 作者:回忆积累在胸口

在Visual Studio中,我能获得的,我没有被pressing F12(GoToDefinition)源(即DLL里面捆绑)一类公开公共方法/成员的简洁列表。

同样,我学习Android的API - 在Eclipse中。跳转到Android框架的方法定义产生反编译输出,不直观阅读,而且非常详细。为了模拟像Visual Studio的结果,我正在考虑几种选择:

如何格式化输出反编译是'清洁' - 我已经经历了Eclipse的preferences菜单看了看,还没有找到一个办法做到这一点如何我'添加相应的源文件一旦谷歌提供它,这样跳到定义产生实际的定义是什么?请是否有已经做了这个插件?我看着Jadclipse,但该项目尚未在几年被更新,仍然是一个反编译。

感谢您提前。

解决方案 您可以尝试 http://andrei.gmxhome.de/byte$c $ C / index.html的 - 这是一个更好一点比内部的Eclipse编译在当前没有源打开一个类定义为类可用的,你应该看到一个按钮附加源在反编译的输出,你可以相应的源文件相关联的顶部。eclipse上开发hadoop上传到DFS上的文件打开没有数据

In Visual Studio, I can obtain a succinct list of public methods/members exposed in a class for which I do not have the source (i.e. bundled inside a DLL) by pressing F12 (GoToDefinition).

Similarly, I am learning the Android API - in Eclipse. Jumping to an Android framework method definition produces decompilation output which is not intuitive to read, and is very verbose. To mimic results like Visual Studio, I am considering several options:

How can I format the decompilation output to be 'cleaner' - I have looked through Eclipse's preferences menus and have not found a way to do this. How do I 'add corresponding source files' once Google provides it, so that jumping to definition yields the actual definition? Is there a plugin that does this already? I looked into Jadclipse, but that project has not been updated in several years, and is still a decompiler.

Thank you in advance.

解决方案

You could try http://andrei.gmxhome.de/bytecode/index.html - it's a "little nicer" than the internal Eclipse decompilation. When opening a class definition for class without source available, you should see a button "Attach Source" at the top of the decompilation output where you can associate the corresponding source files.