Eclipse类文件元数据 [英] Eclipse Class File Metadata

查看:224
本文介绍了Eclipse类文件元数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Visual Studio中,我可以通过按F12(GoToDefinition)获得一个简洁的公开方法/成员列表,该类在我没有源代码(即通过DLL中捆绑)的类中公开。

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

同样,我正在学习Android API - 在Eclipse中。跳到Android框架方法定义产生反向输出,这是不直观的阅读,而且是非常冗长的。为了模拟Visual Studio的结果,我正在考虑几个选项:

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:


  1. 如何将反编译输出格式化为更清洁 - 我有查看Eclipse的偏好菜单,并没有找到一种方法。

  2. 一旦Google提供它,我如何添加相应的源文件,以便跳转到定义会产生实际的定义?

  3. 有没有这样的插件?我查看了Jadclipse,但是这个项目几年来还没有更新,而且还是一个反编译器。

提前谢谢。

推荐答案


  1. 您可以尝试 http://andrei.gmxhome.de/bytecode/index.html - 它比内部Eclipse反编译小得多。

  2. 当没有源可用的类打开类定义时,应该在反编译输出的顶部看到一个按钮附加源,您可以在其中关联相应的源文件。

  1. You could try http://andrei.gmxhome.de/bytecode/index.html - it's a "little nicer" than the internal Eclipse decompilation.
  2. 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.

这篇关于Eclipse类文件元数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆