Given the large API (in particular, the standard Java or J2EE libraries), is there a tool or search engine or other resource that can tell me which methods, classes or even packages people generally use in general? I annotate (see below) the API and would like to focus my attention on popular areas. The only thing I can think of is to use google code with different method names, but this is of course tedious.
Some prerequisites (if anyone is interested): As part of my PhD research, I developed a tool that allows users to highlight important "directives" in the documentation of methods (their own or in existing APIs), and then pushes these annotations to users to increase the likelihood what they learn about it. Our lab studies show that this has potential, but in order to get people to use it in this area, I have to provide “corpuses” of annotated APIs, and I'm trying to prioritize which libraries to comment on.
, , , , , . :
"" bash script .
find . -name "*.java" | xargs cat | grep "^import java" | sort | uniq -c | sort -nr | head -100
, , J2SE J2EE Koders.com, Google Code , .
, , java.lang( /, ) .
, , .
- "" , , JDepend, , /.
, . Java- , . , ,
MethodRank , , .
JavaDepend, Java CQL (, SQL) , , .
PS: A trial version is enough for your need, there is no time limit.