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?
1. Shortcut commands in Eclipse IDE: CTRL + O –> used to search methods inside same Java class. CTRL + H –> opens dialog box which provides number of options to find method.
Ctrl + Alt + G can be used to find selected text across a workspace in eclipse.
Solution. Use the built-in Eclipse Search dialog. The Search menu contains multiple items (Search→ Search, Search→ File, Search→ Help, and Search→ Java), but all of them open the same dialog.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With