Summary: | Compiler wrongly complains against valid @see constructor reference | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Frederic Fusier <frederic_fusier> |
Component: | Core | Assignee: | Frederic Fusier <frederic_fusier> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.0 | ||
Target Milestone: | 3.0 M5 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Frederic Fusier
2003-11-03 10:15:38 EST
All @see references <type>#<identifier>(<arguments>) were scanned as reference to a method. Need to distinguish case when <identifier> is identical to type name (or enclosing type name when no type was specified). In this case, then create an specific AnnotationAllocationExpression instead of an AnnotationMessageSend. This allow to resolve correctly the binding to constructor. If the binding fails for constructor, then also try to get a method in case a method with constrcutor name was declared in the specified type... Fixed. Test cases added in AnnotationTestMixed: - testBug45958 - testBug45958a - testBug45958b - testBug45958c Verified. |