Java – in eclipse, can you find all methods that take a certain parameter type in the project?

So this is basically my problem I convert all methods ArrayLists to hashmaps in the parameterized method, but I don't want to convert all ArrayLists to hashmaps because several are used locally This is more curious than anything, but it will be useful

So in eclipse, is it possible to find all methods with a certain parameter type in the project?

Solution

Press Ctrl h or search from the menu bar – search... And select java search:

Then click limit to – match location (x select 15):

This should give you what you want

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>