• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Help with javadoc

 
Ranch Hand
Posts: 489
2
Spring Java 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
 
Bartender
Posts: 2292
3
Eclipse IDE Spring Java
  • 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
Spring Java 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.
 
Sheriff
Posts: 11604
178
Hibernate jQuery Eclipse IDE Spring MySQL Database AngularJS Tomcat Server Chrome Java
  • 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
Spring Java 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
Boost this thread!