Community
Participate
Working Groups
This is similar to bug #88970. Please observe the following code. enum TestEnum { test1,test2; public abstract boolean getsomethin(); } There should be a quick-fix to add implementations of the abstact method and produce the following code: enum TestEnum { test1 { public boolean getsomethin() { // TODO: Insert code here } }, test2 { public boolean getsomethin() { // TODO: Insert code here } }, ; public abstract boolean getsomethin(); }
Move to JDT/UI
Even is code like this enum TestEnum { test1 { }, test2 { }; public abstract boolean getsomethin(); } the two error icons don't offer a quick fix to add getSomething. Source action works, code assist (e.g. type getS<code assist>) doesn't work.
*** Bug 144116 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 88970 ***
not a dup of 88970
*** Bug 128624 has been marked as a duplicate of this bug. ***
*** Bug 123241 has been marked as a duplicate of this bug. ***
I filed bug 200016 and bug 200026 for the (IMO) strange error locations.
quick fixes added > 20070816
Verified in I20070918-0010.
*** Bug 222694 has been marked as a duplicate of this bug. ***