Sign-in Register Donate Contact RSS Frequently Asked Questions Advanced Search Blog    
All APIs: 41 Vendors / 294 Libraries / 324 Versions
 
These are fairly trivial examples, but should prove helpful. Note that the advanced search features apply to all fields and all search types (even though there are only Java Code search examples).
Simple
Search Type Description
Java Code Change Language
Java Code Change Language in Apache Struts
Class Declaration Declarations of LogFactory class
Class Identifier All references to classes named LogFactory
Class Identifier All references to classes named LogFactory of type org.apache.commons.logging.LogFactory
Method Declaration All methods declarations with name warn
Method Declaration All methods declarations with name warn declared in org.apache.commons.logging.Log
Method Declaration All methods declarations with name warn, declared in org.apache.commons.logging.Log, with exact parameters types Object, Throwable
Method Identifier All identifer references to the method warn in org.apache.commons.logging.Log
Variable Declaration All variable declarations named Log of type org.apache.commons.logging.Log
Variable Identifier All identifier usages of variables named Log of type org.apache.commons.logging.Log
Interface Declaration All interface declarations named Log
Interface Identifier All references to any interface named Log of type org.apache.commons.logging.Log
Annotation Declaration All annotation declarations with annotation named ActionOutput
Annotation Identifier All references to annotations named ActionOutput

Advanced
Example Type Url
Java Code Wild Card search: log*factory
Java Code Fuzzy Search: optimize~
Java Code Term Boosting: jakarta^4 apache
Java Code Grouping: (codehaus OR opensymphony) AND apache
Java Code Boolean Operators: log4j AND "org.apache.commons.logging.LogFactory" AND -"java.util.logging"
Java Code Using quotes to prevent tokenization: "commons logging"
Java Code Proximity Search: "jakarta apache"~10