如何在Eclipse中查找哪些类实现特定接口?

编程入门 行业动态 更新时间:2024-10-19 11:48:52
本文介绍了如何在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中查找哪些类实现特定接口?

本文发布于:2023-11-09 20:51:07,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1573401.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:接口   如何在   Eclipse

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!