wood burning stoves 2.0*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes stupid javadoc question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "stupid javadoc question" Watch "stupid javadoc question" New topic
Author

stupid javadoc question

Bodenstab Oliver
Ranch Hand

Joined: Mar 03, 2005
Posts: 47
Hello,

i know we have to write javadoc comments for all public classes and methods. So i did this. I also write javadoc comments for all other classes and methods.

When i create the javadoc files i see only public classes, i was confused
Why can't i see the other classes, for example default classes. I only have a few public classes, only the classes which must be accessable from outside of the package are defined public, the others are defined default/package-wise. For example, the data class is defined default with public methods. I can't even see this class

Please give me some help or advice.

Oliver


SCJP
Christian P�cher
Greenhorn

Joined: Sep 04, 2005
Posts: 8
Javadoc lists only public and protected classes and methods by default. You may change that behaviour by setting -public -protected -package -private when calling javadoc. In your case -package might be appropiate.

HTH, chris
Bodenstab Oliver
Ranch Hand

Joined: Mar 03, 2005
Posts: 47
Thanks,

that works
 
 
subject: stupid javadoc question
 
Similar Threads
B&S: What types do you comment with javadoc?
Javadoc documentation for all classes and interfaces? Please help.
constructor
Disallowed to use private inner classes?
NX: Sun "Must" and JavaDoc