在Eclipse中,是否有可能找到项目,该项目采取了一定的参数类型的所有方法? [英] In Eclipse, is it possible to find all methods in project that take a certain parameter type?
问题描述
所以这基本上是我的问题。我将所有方法的ArrayLists在参数化方法HashMaps这样,但我不希望所有的ArrayList转换为HashMaps这样,因为有一些是在本地使用了一些。这更多的是一种好奇心比什么都重要,但它是有用的。
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.
所以,在Eclipse中,是有可能找到的项目,采取一定的参数类型的所有方法?
So, in Eclipse, is it possible to find all methods in project that take a certain parameter type?
推荐答案
preSS <大骨节病>控制骨节病> + <大骨节病> ^ h 骨节病>或从菜单栏中<大骨节病>搜索骨节病> - <大骨节病>搜索... 骨节病>,然后选择<大骨节病> Java的搜索:
Press Ctrl+H or from menu bar Search - Search ..., then choose Java Search:
然后点击限制为 - 匹配的位置(X 15选择):
Then click Limit To - Match locations (x of 15 selected):
这应该给你想要的。
这篇关于在Eclipse中,是否有可能找到项目,该项目采取了一定的参数类型的所有方法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!