我如何找到方法调用? [英] How do I find method calls?

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

问题描述

在NetBeans中,我如何找出调用方法的位置?

In NetBeans, how can I find out where methods are being called?

我在一个大项目中有一个特定的方法,但无法找到它被调用的位置。

I have one particular method in a big project and can't find where its being called.

推荐答案

右键单击方法名称时,有一个查找用法菜单项。

There is a Find Usages menu item when you right-click on a method name.

或者将光标放在方法名称上,然后按 Alt + F7 (查找用法)和 Alt + SHIFT + u (显示查找用法结果)。

Or place your cursor on the method name and press Alt+F7 (Find Usages) and Alt+SHIFT+u (to show the Find Usages results).

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

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