Summary: | [1.5][assist] Code completion breaks if using static method generics ( Class.<T>staticMethod(params) ) | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Luigi Lauro <luigi.lauro> | ||||
Component: | Core | Assignee: | David Audel <david_audel> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | ||||||
Version: | 3.1 | ||||||
Target Milestone: | 3.1.1 | ||||||
Hardware: | All | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Luigi Lauro
2005-07-08 07:00:33 EDT
Minimal test case provided: public class IBreakCodeCompletion { public enum MyEnum { A }; public static void breakCodeCompletion() { // here code completion works EnumSet.<MyEnum>of(MyEnum.A); // here code completion DOESN'T work anymore } } +1 for 3.1.1 Created attachment 24524 [details]
Proposed patch
K_SELECTOR_QUALIFIER and K_SELECTOR_INVOCATION_TYPE are not removed form
elementStack when the method is generic.
Fix released and test added GenericsCompletionParserTest#test0204() (In reply to comment #4) > Fix released and test added > GenericsCompletionParserTest#test0204() Thanks for the quick fix of this small (but annoying) bug. Can't wait to have 3.1.1 in my dirty hands :P Fix released and test added in HEAD Verified in 3.2M1 (I20050808-2000) Verified for 3.1.1 using build M20050923-1430. |