What is the best way to use JavaDoc to document a Java enum?

To answer the first part of your question, you do have to separate each enum value with a comma. As far as I know, there’s no way around that.

Personally I don’t have a problem with the code the way you’ve presented it. Seems like a perfectly reasonable way to document an enum to me.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)