JavaDoc 1.4 @value usage
The documentation for using the @value tag to document the values of fields with JavaDoc seems to imply that one just puts {@value} at the end of a doc block comment.
If I want every fields' value to be documented, is there anyway to cause this to happen without editing the doc block for every field in my code? An argument to javadoc perhaps?
~Matt
doar@pobox.com
[398 byte] By [
mdoar] at [2007-9-26 11:20:48]

You can put {@value} anywhere in a doc comment.
However, it currently takes no argument, so you cannot
specify any other field's value.
Values for all static constant fields are automatically displayed by Javadoc. For example:
http://java.sun.com/j2se/1.4/docs/api/java/awt/image/ImageObserver.html#HEIGHT
Notice under "See Also" it says Constant Field Values.
Click on that.
If you want {@value} to take an argument to specify a different field, please submit that as a feature request.
to java.sun.com/cgi-bin/bugreport.cgi
-Doug Kramer
Javadoc team