Community
Participate
Working Groups
I20070501-0010 * creating a logical structure for java.util.Map * structure is: this.keySet().toArray(); code assist for "this.k|" does not show keySet() completion. As well, put/get seem to be missing when doing code assist on "this.|"
Seems to be an issue when the class lib is 1.5 - missing methods with generics.
Dani - do you know where I should look in the content assist infrastructure to see where methods are being filtered out? In this case, it looks like the proposals coming back from JCore don't contain the methods with generics. However, code assist in the Java editor works as expected.
Sorry, you lost me. When I create a subclass of Map and then do this.<code assist> I get all completions. Which code assist API do you call?
Hi Dani - I'm not creating a subclass... I go to the Java > Debug > Logical Strctures pref page, and create a new logical structure for Map. In this case, the debugger has a custom content assist processor... but in my workspace, I do not get all completions for Map - and it seems to be related to 1.5 code.
Looks like a bug in IType.codeComplete(...).
What are your compiler settings ? 1.4 or 1.5?
Fresh workspace with single Java project using 5.0 JRE and settings.
*** This bug has been marked as a duplicate of bug 133005 ***
Verified for 3.4M7 using I20080427-2000.