Class subordinates

Is there a way to see which classes are called by a class using JavaDoc?

For example a LineChart class I created calls the classes Line, Label, ...

I would like to add this in my documentation as a list of classes that are used by the LineChart.

The workaround I use now is explicitly import all the classes I use.

[346 byte] By [k.holthuis] at [2007-9-26 19:30:03]
# 1

No. Javadoc is only aware of the declarations and doc comments -- it has no knowledge of the implementation. Same is true of the Doclet API, so you could not write a doclet to do what you suggest (unless you want to parse the source files yourself).

-Doug Kramer

Javadoc team

dkramer at 2007-7-3 12:05:07 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...