Summary: | code assist: proposals for wildcard types | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Tom Hofmann <eclipse> |
Component: | Core | Assignee: | David Audel <david_audel> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.1 | ||
Target Milestone: | 3.1 RC1 | ||
Hardware: | PC | ||
OS: | All | ||
Whiteboard: |
Description
Tom Hofmann
2005-04-28 10:10:13 EDT
Fixed and test added GenericsCompletionParserTest#test0186() -> test0187() CompletionTests_1_5#test0217() - test0220() Build I20050526-2000-win32: - List <?|> and List <? |> ring a bell (no proposal at all, pipe figures insertion point while invoking code assist); this is at mismatch with the initial request, but consistent with code assist behavior in other places; I opened a separate bug (https://bugs.eclipse.org/bugs/show_bug.cgi?id=96918) to track this enhancement; - List <? e|> yields extends, plus a couple of 'else' templates (don't know if this is avoidable without qualifying templates, which may prove expensive/difficult to specify); note that no classes or interfaces show up, which is better than 3.1M7 behavior and the main subject of the bug; - List <? s|> yields super, plus a series of templates. Added tests passed successfully. I would then consider this as verified, modulo a new enhancement request for extends+super completion in the context of List<?|> or List<? >. |