Programmatically Generate JavaDoc Files

Is it possible to programmatically generate JavaDoc files by passing in a class? If so, how?

+3
source share
2 answers

JavaDoc needs access to the source. After compilation, the comments disappeared.

+4
source

Your question only makes sense if you also generate source code at runtime. Otherwise, the same toolchain that compiles the source code can generate Javadoc.

0
source

Source: https://habr.com/ru/post/1769429/


All Articles