I have to count all the methods in JDK, for each class, count the method calls it received; for each method, count the number of times this method is called;
Hint: Use Eclipse JDT to create Abstract Syntax tree.
Can any body please explain how should I approach this problem. A brief algorithm would be great help. Thanks