void () { addQualifierClass(); myFixture.configureByText("Foo.java", """ import lombok.NonNull; import lombok.RequiredArgsConstructor; import org.springframework.beans.factory.annotation.Qualifier; @RequiredArgsConstructor public class Foo { Runnable r = new Runnable() { @Qualifier public void run() { } }; }"""); myFixture.checkHighlighting(); }