Javadoc seems to handle tags @valueonly for classes that declare reference fields and only links without a class name.
Example:
I have classes
public class A {
public static final String F = "field";
}
and
public class B {}
The jdad 1.7 javadoc tool processes the tag @valueon A, but for Bthe following warning appears:
warning - A
This waring also occurs when I try to reference a field in javadoc Aon A#F. When I use the tag @link, everything works as expected.
I cannot find documentation that mentions that a tag @valuecan only refer to fields declared in the class in which javadoc is located. Is this a bug or is there another way to get a tag @valueto display the value?