Community
Participate
Working Groups
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.
+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.