Summary: | keyword completion does not work in anonymous inner classes | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Kai-Uwe Maetzel <kai-uwe_maetzel> |
Component: | Core | Assignee: | David Audel <david_audel> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.0 | ||
Target Milestone: | 3.0 M9 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Kai-Uwe Maetzel
2003-07-01 05:44:59 EDT
Problem still occurs in build 20040120 simple test case public class X { public void foo() { bar(new Object() { public void toto(Object a) { if (a instanceof Object) {} } }); } private void bar(Object o) { } } The problem does not occur with the following test case public class X { public void foo() { new Object() { public void toto(Object a) { if (a instanceof Object) {} } }; } private void bar(Object o) { } } The problem was a bad usage indexOfAssistIdentifier() inside CompletionParser. Fixed and test added CompletionParserTest2#test0142() Verified in 200405180816 |