I am starting to use some Java code which was written by someone else. I have to understand, change and test it. The author is not available now. The package has some 50 files (and so classes) of different sizes. It would be great if I could just see/print out the names of the methods (public and private) and the public variables (like they are visible in the "outline window" in Eclipse). It would really help in understanding the code since I can just look at this and understand the general purpose of each class.
Can I do it in Eclipse other than by generating Javadoc, since Javadoc really creates too much details ? Is there a Eclipse plugin for this ? Or any other tool ?
Example:
For a Class file which represents a student, I could just get :
String name
int[] marks
int year
int idNumber
Student()
printName()
printMarks()
setName(String name)
...
In Package Explorer, right click on the package in question, select Open Type Hierarchy (Shortcut F4) gives a nice view of the hierarchy of objects in that package, selecting a class in that view will give you the class details. Not exactly what you're asking for but it'll help in understanding the package that you're changing.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With