| Summary: | Code assist does not display parameters for constructor with type parameters | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | David Saff <david> | ||||
| Component: | Core | Assignee: | David Audel <david_audel> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | ||||||
| Version: | 3.1 | ||||||
| Target Milestone: | 3.1 RC2 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
+1 for RC2 Created attachment 22307 [details]
Proposed patch
Fixed and tests added GenericsCompletionParserTest#test0193() -> test0195() CompletionTest_1_5#test00236() Verified using N20050606-0010 + JDT/Core HEAD Verified in I20050610-0010. |
Given code: public class AnnotationTestTest { public void test00countTestCases() throws Exception { new ArrayList<String>(); } } place the cursor inside the parens for the constructor call, and invoke code assist: only methods on Object will be suggested, no parameter help. Removing the type parameter: public class AnnotationTestTest { public void test00countTestCases() throws Exception { new ArrayList(); } } Gives the expected list of possible ArrayList constructors.