包含我的导入的jar的名称是什么? [英] What is the name of the jar that contains my import?

查看:178
本文介绍了包含我的导入的jar的名称是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不认为这是重复的。我找不到我正在寻找的简单答案。



在Eclipse(Juno)中,我想突出显示任何一个import语句,并找出哪个jar包含该包/类。



这是否可能在Eclipse中?如果是这样,那么如何?



编辑



这个问题看起来很相似,不回答我的问题如何知道jar文件是用于日食



编辑2



感谢您的答案,我的问题解决了。然而,我想指出,对于别人的修饰,Adarshr提供的 ctrl + shift + t 解决方案只显示了突出显示的 import 语句 NOT 在语句末尾包含分号(; )。 p>

我突出显示整个包名,类名和分号,并没有显示jar名称。

解决方案

已经可以。只需突出显示该类,然后按 Ctrl + Shift + T




I do not think this is a duplicate. I cannot find the simple answer I am looking for.

In Eclipse (Juno), I want to highlight any single import statement and find out which jar contains that package/class.

Is this possible in Eclipse? If so, how?

EDIT

This question looks very similar, but does not answer my question How to know the jar files being used in eclipse

EDIT 2

Thank you for the answers, my problem is solved. I want to point out, however, for the edification of others, that the ctrl + shift + t solution provided by Adarshr only displayed the name of the jar when the highlighted import statement did NOT include the semicolon (;) at the end of the statement.

I was highlighting the entire package name, class name, and semicolon, and it did not display the jar name.

解决方案

It is already possible. Just highlight the class and press Ctrl + Shift + T.

这篇关于包含我的导入的jar的名称是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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