Eclipse具体:可以在类中找到使用派生方法的引用吗? [英] Eclipse Specific: Is it possible to find references of use of derived methods in a class?
本文介绍了Eclipse具体:可以在类中找到使用派生方法的引用吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Eclipse具有查找引用功能(快捷键:CTRL + SHIFT + G)。但是,它仅适用于在类中定义的实际方法,而不适用于派生方法。
在Eclipse中搜索此方法是否有更简单的方法?
解决方案
尝试 nWire for Java 。它为您提供代码中的所有可能的关联,也可以为派生方法。
I have a class Ca which extends Cb. Method M1 is implemented in the parent (Cb). However when invoked by classes, they would typically have called Ca.M1(). I want to find all such occurrences.
Eclipse has a feature 'Find references' (Shortcut: CTRL+SHIFT+G). However, it only works on actual methods defined in a class and not on derived methods.
Is there a an easier way search for this method use in Eclipse?
解决方案
Try nWire for Java. It gives you all possible associations within your code, for derived methods as well.
这篇关于Eclipse具体:可以在类中找到使用派生方法的引用吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文