在Eclipse中,是否可以在项目中找到采用某种参数类型的所有方法? [英] In Eclipse, is it possible to find all methods in project that take a certain parameter type?
本文介绍了在Eclipse中,是否可以在项目中找到采用某种参数类型的所有方法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
所以,在Eclipse中,是否可以找到项目中具有某种参数类型的所有方法
解决方案
按 Ctrl + H 或从菜单栏< >搜索 - 搜索... ,然后选择 Java搜索:
然后点击限制到匹配位置(x选择15):
这应该给你想要的。
So that's basically my question. I'm converting all methods ArrayLists to HashMaps in parameterized methods, but I don't want to convert all ArrayLists to HashMaps since there are a few that are used locally. This is more of a curiosity than anything, but it would be useful.
So, in Eclipse, is it possible to find all methods in project that take a certain parameter type?
解决方案
Press Ctrl+H or from menu bar Search - Search ..., then choose Java Search:
Then click Limit To - Match locations (x of 15 selected):
This should give what you want.
这篇关于在Eclipse中,是否可以在项目中找到采用某种参数类型的所有方法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文