Its easy to get a method Name of a Class at run time
BUT
How i can get a JavaDoc of a method at run time ?
As the f
Annotation processors have access to the Javadoc comments in the source code. If you have control over the compilation process for the classes whose Javadoc you are interested in, you can use an annotation processor to grab the Javadoc at compile-time and make it available later at runtime.
This is the approach used in the therapi-runtime-javadoc project (disclosure: which I authored and am shamelessly plugging).