本文介绍了如何在Eclipse中查找哪些类实现特定接口?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个应用程序作为具有许多依赖项的JAR文件。出于某种原因,我需要反编译其中一个库并使用Eclipse打开它。对于项目中的给定接口,有没有办法找到实现它的类?可能是接口在我尚未反编译的其他库中实现的情况。是否可以为这种类执行此操作?
I have an application as JAR file with many dependencies. For some reason I need to decompile one of the libraries and open it up with Eclipse. For a given interface in the project, is there a way to find the class(s) that implements it? It may be the case that the interface was implemented in other library that I didn't decompile yet. Is it possible to do this for this kind of classes?
推荐答案右键单击界面,然后选择打开类型层次结构 。然后单击显示子类型层次结构。
Right-click on the interface, and choose "Open type hierarchy". Then click on "Show the subtype hierarchy".
更多推荐
如何在Eclipse中查找哪些类实现特定接口?
发布评论