Jump to: navigation, search

FAQ How do I find all Java methods that return a String?

Revision as of 13:47, 14 March 2006 by Claffra (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The JDT contributes to the search framework by adding a Java Search tab to the Search dialog (activated with the Search menu or by pressing Ctrl+H. Methods can be searched for by name and return type. The first word you enter in the Search dialog is interpreted as the method name, and the second word is interpreted as the method’s return type. By specifying * String and checking Method and Declarations, you will find all methods with a String return value (Figure 3.4).


    <img src=../images/search-string.jpg>


    Figure 3.4   Using the Java Search tab





See Also:

FAQ_How_do_I_write_a_Search_dialog?