how to display private methods in javadoc?

Reply

Join Date: Feb 2008
Posts: 17
Reputation: johndoe444 is an unknown quantity at this point 
Solved Threads: 0
johndoe444 johndoe444 is offline Offline
Newbie Poster

how to display private methods in javadoc?

 
0
  #1
19 Days Ago
Hi,

I commented every method of my source code using javadoc tags. But I noticed the private methods/variables do not show up in the api documentation. If I change the access modifier to public then they show up. I was wondering how to make them visible (without declaring them as public) if I want to make all the contents visible to a developer (for his easy reading) who are going to develop on it later on.

Thanks.
Reply With Quote Quick reply to this message  
Join Date: Sep 2008
Posts: 1,563
Reputation: BestJewSinceJC is a name known to all BestJewSinceJC is a name known to all BestJewSinceJC is a name known to all BestJewSinceJC is a name known to all BestJewSinceJC is a name known to all BestJewSinceJC is a name known to all 
Solved Threads: 196
BestJewSinceJC BestJewSinceJC is offline Offline
Posting Virtuoso
 
0
  #2
19 Days Ago
It makes sense that private variables wouldn't show up in a javadoc because only the class itself has access to private variables. So it is just not necessary.
Out.
Reply With Quote Quick reply to this message  
Join Date: Aug 2007
Posts: 791
Reputation: darkagn has a spectacular aura about darkagn has a spectacular aura about darkagn has a spectacular aura about 
Solved Threads: 109
darkagn's Avatar
darkagn darkagn is offline Offline
Master Poster
 
0
  #3
19 Days Ago
I believe it is possible to set a flag to generate javadoc for private/protected fields and methods. I think its -private or something like that. Google might be able to help you some more on that.
There are no stupid questions, only those too stupid to ask for help.
echo is a web developer's best friend.
Reply With Quote Quick reply to this message  
Reply

Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC