Programmatically generate JavaDoc files
Is it possible to programmatically generate JavaDoc files开发者_开发百科 by passing in a class? If so how?
JavaDoc needs access to the source. Once you compile, the comments are gone.
Your question only makes sense if you are also generating source code at runtime. Otherwise the same toolchain that compiles the source code can generate the Javadoc.
精彩评论