用于查找覆盖方法的所有子类的 Eclipse 快捷方式

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/17078749/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 20:43:45  来源:igfitidea点击:

Eclipse shortcut to find all children class that override a method

eclipseeclipse-plugin

提问by Bhuvan

Is there an Eclipse shortcut to see all class overriding the method m? Overriding methods

是否有一个 Eclipse 快捷方式来查看覆盖该方法的所有类m覆盖方法

回答by superEb

Highlight/select/put-cursor-on the method name and hit Ctrl+ T

突出显示/选择/放置光标在方法名称上并点击Ctrl+T

Obviously limited to the classes defined on the classpath ("build path" in Eclipse terminology)

显然仅限于在类路径上定义的类(Eclipse 术语中的“构建路径”)

回答by Praveen P Moolekandathil

CTRL + T – Show inheritance tree of the class.

CTRL + T – 显示类的继承树。

F4 – Show type hierarchy of on a class.

F4 – 显示类的类型层次结构。

And please refer the following URLs for other eclipse shortcuts.

并且请参考以下 URL 以获取其他 eclipse 快捷方式。

http://javapapers.com/wp-content/uploads/2012/02/Eclipse-Shortcuts.pdfhttp://www.vogella.com/articles/EclipseShortcuts/article.html

http://javapapers.com/wp-content/uploads/2012/02/Eclipse-Shortcuts.pdf http://www.vogella.com/articles/EclipseShortcuts/article.html