在Eclipse IDE中,如何显示jar中存在的类型列表? [英] From within the Eclipse IDE, how can I show a list of types that exist in a jar?

查看:160
本文介绍了在Eclipse IDE中,如何显示jar中存在的类型列表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在重新发现Java,我对如何在Eclipse中执行此操作感到有点迷茫。我正在寻找Visual Studio对象浏览器功能,但我想找到我引用的外部jar文件中定义的类型的快速列表。

I'm rediscovering Java, and I'm a little lost about how to do this within Eclipse. I am looking sort of for Visual Studio "object browser" functionality, but I'd settle for a quick list of types that are defined within my referenced external jar files.

推荐答案

将jar添加到项目的构建路径(右键单击菜单)
它将显示为Jar(玻璃),用箭头打开它,好像它是一个目录。
现在,打开它,你会看到它的内容 - 包含类的包。

Add the jar to project's build path (right-click menu) It would appear as a Jar (glass one), with arrow to open it as if it was a directory. Now, open it, you'll see its contents - packages containing classes.

但是,我建议你先找javadocs。当你有javadoc时谁需要那个班级列表!

But, I advice you to look for javadocs first. Who needs that class list when you've got javadoc!

这篇关于在Eclipse IDE中,如何显示jar中存在的类型列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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