• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to javadoc a method that was implemented in a class

 
fei lin
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when i implement a method that is declared in an interface. i use eclipse's generate javadoc. which is:
/*
* (non-Javadoc)
*
* @see suncertify.connection.Access#bookContractor(int, java.lang.String)
*/

but when i run checkstyle, they say the method dont have a javadoc. please help
 
Gennadi Oreper
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello!
The JavaDoc begins with /**, also double stars.
I declare for example the interface implemented methods with
/** {@inheritDoc} */
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic