Eclipse - 查找扩展接口的所有类 [英] Eclipse - find all classes that extend interface

查看:236
本文介绍了Eclipse - 查找扩展接口的所有类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个接口有一个子接口。即:

  public interface GenCalculator扩展Serializable {} 

public interface SpecialCalculator扩展GenCalculator {}

在Eclipse中,如何在这种情况下找到扩展的所有接口? GenCalculator



如果我右键点击,请在 GenCalculator中选择打开类型层次结构接口,我只看到实现 GenCalculator 接口的类。我想看到一切 - 那些实现和延伸的东西。



我们在Eclipse v.3.2.2中。

解决方案

Ctrl + T 查看所有后代



再次按下该组合(请参阅初始中的精细打印如果你想显示超级接口/类。


We have an interface that has a child interface. Ie:

public interface GenCalculator extends Serializable {}

public interface SpecialCalculator extends GenCalculator {}

In Eclipse, how can you find all interface-s that extend in this case GenCalculator?

If I right click, select "Open Type Hierarchy" in the GenCalculator interface, I only see classes that implement that GenCalculator interface. I want to see everything - those that implement and those that extend.

We're on Eclipse v.3.2.2.

解决方案

Ctrl+T to view all descendants

Press it the combination a second time (see fine print in initial popup) if you want to display super interfaces/classes.

这篇关于Eclipse - 查找扩展接口的所有类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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