• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help with javadoc

 
Fernando Franzini
Ranch Hand
Posts: 489
2
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi folks

I'm here again
I genereted javadoc ...and I've seen that only publics stuff have been generated.
Default, protected and publics members are not being generated !
Am I doing something wrong or it correct
 
Roberto Perillo
Bartender
Posts: 2271
3
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Champ, can I tell you a secrect? I used Eclipse to generate everything
 
Fernando Franzini
Ranch Hand
Posts: 489
2
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rob !!
Can I tell you mine ?
I'm using too !!
When you are using eclipse generator GUI..there are 4 single options....(X)public, ()protected, ()private ()defaut.
So....I'm presuming it dont work with eclipse....maybe using line command javadoc.
But....Are you sure the you generated all member with eclipse ?
Regards.
 
Roel De Nijs
Sheriff
Posts: 10662
144
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Fernando,

If you choose public and you see only public stuff being generated, it works as designed (and expected):

From the eclipse help:
reate Javadoc for members with visibility
* Private: All members will be documented
* Package: Only members with default, protected or public visibility will be documented
* Protected: Only members with protected or public visibility will be documented
* Public: Only members with public visibility will be documented (default)

So if you want all members being documented, just select private-option instead of the public one.

Kind regards,
Roel
 
Fernando Franzini
Ranch Hand
Posts: 489
2
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah Roel !
You are right
I'm almost done.....next weel I'll submit...
Thanks again.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic