Eclipse .class 大纲查看器
我习惯使用 Visual Studio 进行 C# 编码 以及用于 Java 编码的 eclipse。虽然我的日食经验 非常积极,我缺乏漂亮而热情的文本文件 VS 为不附加源的 IL 类生成(第三方或不在解决方案中)。
有时我需要浏览 java .class 的签名(“标头”) 文件(包含 javadoc 也很好),并且在大多数情况下 我对反编译的java字节码不感兴趣。
有没有一个插件可以做到这一点? 我查看了此处引用的字节码大纲 所以
但这仍然不是我要找的东西。 我真的需要单击类文件或转到类型声明 并能够在主编辑器窗口中查看类大纲
与 javadoc(如果可用)。
谢谢!
I am used to work on Visual Studio for C# coding
and eclipse for Java coding. Though my experience with eclipse
is very positive, I lack the nice and welcoming text file
that VS generates for IL classes without source attached (third-party or not in solution).
I need sometimes to browse just the signature ("header") of the java .class
file (included javadoc would be nice too), and in most of the time
I'm not interested in decompiled java bytecode.
Is there a plugin that does that?
I looked at Bytecode Outline referenced here at SO
but that's still not the thing I'm looking for.
I really need to click on a class file or go to type declaration
and be able to see the class outline at the main editor window
with javadoc if available.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您有包含类文件的 jar,则只需将其添加到项目类路径
Project>Properties>Java Build Path>Libraries>Add JARs...
即可。此后,您可以在Referenced Libraries
内的Project Explorer
中浏览方法签名。您也许可以直接对类文件执行此操作,但至少您可以将其包装到 jar 中来执行此操作。
If you have jar that includes the class files you can just add it to the project classpath
Project>Properties>Java Build Path>Libraries>Add JARs...
. After this you can browse the method signatures in theProject Explorer
insideReferenced Libraries
.You might be able to do this for a class file directly, but at least you can just wrap it into a jar to do this.