Community
Participate
Working Groups
Reference to a name like this (second 'A') A#A() inside a javadoc should return a type binding and not a constructor binding. This would make it consistent with the fact that this name refers to a type reference.
*** This bug has been marked as a duplicate of 54948 ***
Reopen as it is not a duplicate of bug 54948. I mixed DOM AST nodes and Compiler AST nodes...
Fixed. Now, binding stored for constructor selector in Javadoc DOM AST node hierarchy is a type binding instead of a method binding. [jdt-core-internal] Change done in class ASTConverter method recordNodes(org.eclipse.jdt.internal.compiler.ast.Javadoc,TagElement). No specific test cases added. Change has been done in verifyBindings(TagElement) method of ASTConverterJavadocTests to verify that new behavior is correctly implemented.
Finally test case was added in ASTConverterJavadocTest.
Verified in 200405281200