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:
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
Post a Comment