如何使用Eclipse IDE查找用法? [英] How to find usages using Eclipse IDE?

查看:90
本文介绍了如何使用Eclipse IDE查找用法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有以下代码:

public class MyClass{
   ...
}

在同一工作区我有以下课程

At same workspace I have following class

public class AnotherClass{
   @Autowired
   MyClass myClass;
   ...
}

如果我在<$上单击鼠标右键c $ c> MyClass (首先提到)并选择打开调用层次结构我看不到任何内容。

If I click right mouse button on MyClass(first mentioned) and select "open call hierarchy" I don't see anything.

如何查找此用法在Eclipse中?

How to find this usage in Eclipse?

推荐答案

右键单击Myclass,找到项目工作区中的引用。

Right click on Myclass, find references in project|workspace.

打开调用层次结构,打开继承层次结构。

Open call hierarchy, open inheritance hierarchy.

这篇关于如何使用Eclipse IDE查找用法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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