Community
Participate
Working Groups
@value syntax has been changed in 1.5, see sun javadoc spec: http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/javadoc.html#@value User can specifies a reference after this tag. So, compiler should be able to parse and bind this reference as for @see or @link tags...
On following @value tag: /** * {@value java.util.TimeZone#LONG} */ JavadocParser currently ignores text after tag and DocCommentParser builds only a TextElement for the reference instead of a MemberRef...
Fixed. Now other compiler will warn all syntaxes other than {@value} or {@value <member ref>} with member ref pointing on a static field. [jdt-core-internal] I will attach patch file make on v_505a have detail of modifications done to implement this change (note that some other improvement have been done in parallel...) As we have now a specific behavior for 1.5 while parsing Javadoc comments, 2 new test classes have been created: JavadocTest_14 and JavadocTest_15
Verified in I200409240100.