We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this questionI'm looking for a program that will list the variable names in my Java appli开发者_如何学编程cation, and any non-primitive (preferrably any non-SDK) Object to the class that it's defined in.
Something along the lines of
class A {
B b;
C c;
}
class B {
A a;
C c;
}
class C {
A a;
B b;
}
and it would output some list that would be along the lines of:
Atable:
b (links to Btable)
c (links to Ctable)Btable:
a (Links to Atable)
c (Links to Ctable)Ctable:
a (links to Atable)
b (links to Btable)If you're using Eclipse for your Java project, you can automatically generate Javadocs by clicking "Project > Generate Javadoc..."
... and it'll create the HTML and everything for your project. It'll look something like this...
http://download.oracle.com/javase/6/docs/api/
I hope this helps.
Hristo
Are you looking for something like reflection?? You can find a tutorial here
精彩评论