Searching methods with some return type in Eclipse
by , 05-21-2011 at 10:47 PM (1605 Views)
Working 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
is 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.Java Code:* String
![]()









Email Blog Entry
PDF to TIFF Conversion & Control...
Yesterday, 11:39 AM in Java Software