Community
Participate
Working Groups
I20050202 Code assist in enum switch case statements should only suggest the enum constants public enum Colors { RED, BLUE, WHITE } class A { private void foo(Colors c) { switch (c) { case BLUE1: case |code assist here: suggest only 'RED', 'BLUE', 'WHITE' } } }
Agreed
*** Bug 86490 has been marked as a duplicate of this bug. ***
Fixed and tests added EnumCompletionParserTest#test0002() -> test0007() CompletionTest_1_5#test0136() -> test0142() tests updated CompletioParserTest2#test0119() -> test0120() FieldAccessCompletionTest#testSwithLabel()
Verified in I20050330-0500