Eclipse : list methods and variables of all classes?

Javap might give you what you want too: java.sun.com/j2se/1.5.0/docs/tooldocs/wi....

That seems to be spot on! – willcodejavaforfood Jun 6 '09 at 10:52.

In Package Explorer, right click on the package in question, select Open Type erarchy (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.

I'm an IntelliJ user, so I can't help with an Eclipse plug-in, but I'd wonder if importing this into a UML tool like JUDE might be more helpful. It'll show you the methods, the attributes, and the relationships between objects. Personally, I think pictures are worth a thousand words, but that's just me.

I am afraid how I will print the uml for 50 classes on one page, however big. – euphoria83 Apr 15 '09 at 0:47 they shouldn't be on one page. It makes far more sense to do it package by package, as classes are grouped together.

If you have a large model, understanding at a glance will be difficult to do no matter if you use UML or simple text. – duffymo Apr 15 '09 at 22:59.

Nathan Feger's answer seems to be spot on. I made a plugin not long ago that tries to analyze the relationship between member variables/methods and might bring another perspective on things. Variable Usage Plugin.

You could create a Javadoc for the code and look at the index which shows the public classes/methods.

Often generating a Javadoc out of the source code might also help you in navigating through the source code and getting a better understanding. You can do this through "Project/Generate Javadoc" menu. I have some doubts on whether there is a tool which does exactly what you want.

Maybe you could achieve this by writing your own small tool that recursively walks over the code files and through Reflection prints out these infos. Other tools that might help you in understanding the source code are Metrics plugins. There exists one for Eclipse.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions