void () { String source = """ public class Demo { public static void main(String[] args) { @SuppressWarnings(<caret>) final String code = "println('Hello world')"; } }"""; myFixture.configureByText("Test.java", source); myFixture.complete(CompletionType.SMART); assertTrue(myFixture.getLookupElementStrings().isEmpty()); myFixture.checkResult(source); }