Community
Participate
Working Groups
Using HEAD. Working test case: Test.java: public class Test<T> { void foo(RuntimeException re) {} } class X { Test<String> test = new Test<String>(); { test.foo(new Runtime<cursor>()); } } Completion at <cursor> position works properly and I can complete to RuntimeException. Now let change a little bit the test case and make foo a generic method: Test.java: public class Test<T> { <U> void foo(RuntimeException re) {} } class X { Test<String> test = new Test<String>(); { test.<String>foo(new Runtime<cursor>()); } } Now completion does not work at <cursor> position and I only get a beep...
+1 for RC2
Created attachment 22248 [details] Proposed patch
Fixed and tests added GenericsCompletionParserTest#0189() -> test0192() CompleetionTests_1_5#test0233()
Verified in N20050606-0010
Verified in I20050610-0010.