In Eclipse, is it possible to find all methods in project that take a certain parameter type?

后端 未结 1 384
一生所求
一生所求 2021-01-04 12:36

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 sinc

1条回答
  •  星月不相逢
    2021-01-04 13:15

    Press Ctrl+H or from menu bar Search - Search ..., then choose Java Search: enter image description here

    Then click Limit To - Match locations (x of 15 selected): enter image description here

    This should give what you want.

    0 讨论(0)
提交回复
热议问题