Searching methods with some return type
6 October 2008Working on a project, I need to search all the methods defined in my workspace or in a package or in a class with a specific return type. Eclipse search feature (ctrl + h) provides support for this. We all have used eclipse search window a lot of times but many of us don’t know how to really use it to great affect.
To search the methods with a specific return type, type
* Stringis used as wildcard for method name and String is the return type. By default, the working set will be entire workspace but yon can narrow your search by defining your own working set. For instance define a working set with package you intend to search into.
Related Posts:
Top Of Page | Trackback
If you found this page useful, consider linking to it. Simply copy and paste the code below into your web site.
It will look like this: Searching methods with some return type