void () { myFixture.configureByText("a.java", """ enum MyEnum { A, B, C, D, E, F; static int myEnumField; static int myEnumField2; static final int myEnumField3 = 10; static final String myEnumField4 = ""; { System.out.println(myE<caret>); } }"""); myFixture.completeBasic(); assertEquals(myFixture.getLookupElementStrings(), List.of("myEnumField3", "myEnumField4")); }