Glowstone icon indicating copy to clipboard operation
Glowstone copied to clipboard

Code Documentation (JavaDocs)

Open mastercoms opened this issue 9 years ago • 3 comments

Glowstone is sorely lacking in the documentation department. Improvements to in-code JavaDocs and comments are possible, and it might be worth writing up some separate code documentation or user guides on the GitHub wiki.

Methods which override or implement Bukkit interfaces do not need separate documentation unless there is an important note or exception to be made; otherwise, omit JavaDoc entirely and refer to implemented method JavaDoc.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

mastercoms avatar Aug 30 '16 11:08 mastercoms

There is a way to make checkstyle require most methods and classes to have a Javadoc. Of course, this is very customizable so you can set whether you want it to only happen with public methods, classes, and interfaces, etc. This would be useful if anyone wanted to take the time to add Javadocs to everything, but personally, I would not want to take on such a task 😝

BSFishy avatar Apr 01 '17 20:04 BSFishy

We don't want to require Javadocs.

mastercoms avatar Apr 01 '17 21:04 mastercoms

Just throwing that out there.

BSFishy avatar Apr 01 '17 23:04 BSFishy