Community
Participate
Working Groups
20041201 In the following code is the node range of the TagElement not complete: It only contains '@param <A' /** * @param <A> */ class E<A> { }
Underlying this is the fact that J2SE 5 allows @parameter tag elements on class and interface declarations. "@parameter <X>" should parse the same was as on method declarations.
DocCommentParser already parses @param <X> tags in class javadoc the same way it does in method javadoc. So, the problem is the same in both cases...
Fixed. Range now includes closing '>'. |jdt-core-internal] Changes done in AbstractCommentParser.parseParam(). Test case added: ASTConverterJavadocTests#testBug79904()
Verified in 200412140800