Javadoc generating "Constructor Summary"

Hey guys,

Just wondering if someone can clue me in as to why for some classes I have written javadoc generates a Constructor Summary and for others it doesn't.

I have a couple of classes that don't contain a default constructor (and only have a few static methods) but javadoc insists on throwing a Constructor Summary into my documentation with a default method() even though I haven't written one.

Can someone tell me how to stop this or alternatively what triggers javadoc in doing so as it isn't happening for every class that I have written.

Thanks in advance,

Terry.

[613 byte] By [terWalsha] at [2007-10-3 2:40:21]
# 1

Javadoc generates documentation for the default constructor because it is a public part of the API, regardless of how it was declared (default or explicit).

If you don't want it to be part of the public API, then explicitly declare it to be private, if that's possible. If not, the javadoc tool has no way to prevent public members (constructors, fields, methods, inner classes) from being documented. Other doclets have this capability:

http://java.sun.com/j2se/javadoc/faq/#exclude

-Doug

dhkramera at 2007-7-14 19:38:44 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...
# 2
Cheers Doug <EOM>
terWalsha at 2007-7-14 19:38:44 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...