void () { myFixture.configureByText("Test.java", """ class Test { static class X { int variable; } \s public void test(long variable) { new X() { double myDouble = vari<caret> }; } }"""); var lookupElements = myFixture.completeBasic(); assertNull(lookupElements); myFixture.checkResult(""" class Test { static class X { int variable; } \s public void test(long variable) { new X() { double myDouble = variable }; } }"""); }