• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem with JavaDoc

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can anyone tell me why this won't show in JavaDoc?

/**
* Lets the user know what event has been triggered.
*
* @param num
* @param complement
*/
SampleEvent(int num, String string){
}
 
Rancher
Posts: 3742
16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is any of it showing ?
Have you got other javadoc comments in the same file that are showing and it is just this one that isn't or is nothing showing ?
If nothing from this file is showing, is anything from your other files (assuming you have any) showing ?
How are you generating the javadoc ?
 
Marshal
Posts: 79475
379
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What access level have you got on that method. Often Javadoc only shows public and protected class members. More about the Javadoc tool here.
 
Peg Jennings
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Campbell Ritchie:
What access level have you got on that method. Often Javadoc only shows public and protected class members. More about the Javadoc tool here.



Oh, I see. Thank you, this is exactly the answer I was looking for.
 
Campbell Ritchie
Marshal
Posts: 79475
379
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Peg Jennings:


Oh, I see. Thank you, this is exactly the answer I was looking for.

We try our hardest, and occasionally get it right! You're welcome.
 
reply
    Bookmark Topic Watch Topic
  • New Topic