Semmle is an Eclipse plugin that allows "you to search your Java code by writing your own queries in .QL, an object-oriented query language", quite similar to SQL in fact.
In others words, you can search anything you want to know about your code by writing a simple .QL query and executing it. The results are displayed in a tree (see first screenshot).
Several charts can also be displayed.