Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JavaDoc - Can I divide methods into groups?

Tags:

java

javadoc

I am currently creating the documentation for a class with many functions. Is there any way to organize the JavaDoc such that the methods in the overview are divided into a few categories?

like image 551
Ginso Avatar asked Mar 15 '16 16:03

Ginso


2 Answers

Maybe try to refactor it so you don't have "many functions" inside one class. It is much better to divide code into small fractions that are easier for maintaining, readability, testing, debugging, documenting etc..

like image 94
Aleksandar Marinkovic Avatar answered Oct 19 '22 23:10

Aleksandar Marinkovic


The JavaDoc tool does not have such a functionality. Even the JDK's methods aren't grouped in such a fashion.

like image 22
Mureinik Avatar answered Oct 19 '22 23:10

Mureinik