This discussion is archived
0 Replies Latest reply: Dec 20, 2011 8:33 PM by 906639 RSS

Document all or number of specified run-time annotations

906639 Newbie
Currently Being Moderated
Is it possible to instruct javadoc that all run-time [1] or number of specified annotations which are not explicitly tagged as @Documented [2] get included in the generated documentation? I would really like to have the JAX-RS [3] annotations included in my javadoc.

I imagine there could be a specific option to javadoc, or may be the custom tags [4] option could be used with the fully qualified annotation name. Does it seem like writing a custom taglet [5] could do the trick?

[1] http://docs.oracle.com/javase/6/docs/api/java/lang/annotation/RetentionPolicy.html#RUNTIME
[2] http://docs.oracle.com/javase/6/docs/api/java/lang/annotation/Documented.html
[3] http://jsr311.java.net/nonav/javadoc/index.html
[4] http://docs.oracle.com/javase/6/docs/technotes/tools/solaris/javadoc.html#tag
[5] http://docs.oracle.com/javase/6/docs/technotes/tools/solaris/javadoc.html#taglet

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points