| Author |
Javadoc - only public members?
|
Michael Gonzalez
Greenhorn
Joined: Apr 14, 2010
Posts: 2
|
|
hi guys,
The instructions say that "and javadoc style comments must be used for each element of the public interface of each class."
Does it mean we can/should leave the not public methods/variables of the classes undocumented?
What did you do?
Thanks!
|
 |
Roberto Perillo
Bartender
Joined: Dec 28, 2007
Posts: 2212
|
|
Greetings, champion. Welcome to our JavaRanch!
Well, the instructions say that at least the public elements of your API should have JavaDocs. I myself included JavaDocs for all elements, including private ones.
Also, please take a look at your private messages, regarding an important administrative information.
|
Cheers, Bob "John Lennon" Perillo
SCJP, SCWCD, SCJD, SCBCD - Daileon: A Tool for Enabling Domain Annotations
|
 |
Roel De Nijs
Bartender
Joined: Jul 19, 2004
Posts: 4347
|
|
|
I created javadoc comments for public, protected, default and private classes and members. I haved generated javadoc documentation for all but private classes and members.
|
SCJA, SCJP (1.4 | 5.0 | 6.0), SCJD
http://www.javaroe.be/
|
 |
Michael Gonzalez
Greenhorn
Joined: Apr 14, 2010
Posts: 2
|
|
Roel De Nijs wrote:I created javadoc comments for public, protected, default and private classes and members. I haved generated javadoc documentation for all but private classes and members.
thanks Roel. I asked because at the beginning i wanted to just generate it for everything to be safe but i quickly realized that doing it for every little private variable in the class is way too tedious and repetitive. I will do the same as you did.
|
 |
 |
|
|
subject: Javadoc - only public members?
|
|
|