java - How to Javadoc a Class's Individual Enums -


i writing javadoc class contains it's own enums. there way generate javadoc individual enums? example, right have this:

/**  * documents "haircolor"  */ private static enum haircolor { black, blonde, brown, other, red }; 

however, documents of enums whole:

the generated javadoc

is there way document each of haircolor values individually? without moving enum it's own class or changing enum?

thanks in advance help.

you other variable javadoc.

  /**  *  colors can used  */ public enum color {     /**      * red color      */     red,      /**      * blue color      */     blue  }  

edit:

from paĆ­lo ebermann : enum separate class. can't include full documentation in enclosing class (at least, without patching standard doclet).


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -