java - Create javadoc at the package level Netbeans -


ok. there appears lots of information out there on how i'm not getting information in javadoc package description. plus, i'm little (or lot) confused exact procedure on how this.

i've created package-info.java class specified in this answer.

/*  * package description want added javadoc  */ package com.pdl.myapp; 

but when run generate javadocs nothing appears in description package in javadocs.

enter image description here

then tried using package level annotations described in this answer got confused put replace // stuff required.

here package-info.java class. notice @packagelevelannotation annotation has been added.

/*  * package description want added javadoc  */ @packagelevelannotation package com.pdl.myapp; 

here

package com.pdl.myapp;  import java.lang.annotation.elementtype; import java.lang.annotation.retention; import java.lang.annotation.retentionpolicy; import java.lang.annotation.target;  /**  *  * @author miss lucy  */ @retention(retentionpolicy.class) @target(elementtype.package) public @interface packagelevelannotation {     // stuff required  <----- this?     // how add package description?     // package description want added javadoc } 

call me dumb not getting it. can give me specific information or point me topic dummies?

it looks using wrong comment style.

/* <--- note 1 asterisk.  * using this, not generate java docs.  */ 

in package-info.java file include java doc comment above package. example:

 /** <--- note 2 asterisks.   * package description   */  package com.blam.kapow; 

Comments