Community
Participate
Working Groups
Test case: - open TestCase - goto setName() - set caret on 'name' of @param tag -> occurences highlighting works - insert the following line directly *before* the @param line: * @exception Throwable - set caret on 'name' of @param tag -> occurences highlighting no longer works
This is provided by Martin's new feature.
moving to jdt.core: The added '@exception e' prevents the AST to get bindings on the @param's name class A { /** * Sets the name of a TestCase * @exception e * @param name The name to set */ public void setName(String name) { } }
Provided test case contains 2 problems: - Javadoc: e cannot be resolved or is not a type - Javadoc: Unexpected tag (@param tags has to be declared before @exception) So, AST Javadoc hierarchy is not valid... *** This bug has been marked as a duplicate of 51600 ***