void () { myFixture.enableInspections(LombokInspection.class); @Language("JAVA") final String text = """ import lombok.experimental.SuperBuilder; @SuperBuilder class DeltaComponentWithSalesAndTechComponentId { } @SuperBuilder<caret> public class DeltaOfferComponent extends DeltaComponentWithSalesAndTechComponentId { Integer max; public class DeltaOfferComponentBuilder { public DeltaOfferComponentBuilder max(Integer max) { this.max = max; return this; } } } """; myFixture.configureByText(JavaFileType.INSTANCE, text); IntentionAction action = myFixture.findSingleIntention("Make 'DeltaOfferComponentBuilder' abstract and static"); myFixture.launchAction(action); myFixture.checkResult(""" import lombok.experimental.SuperBuilder; @SuperBuilder class DeltaComponentWithSalesAndTechComponentId { } @SuperBuilder public class DeltaOfferComponent extends DeltaComponentWithSalesAndTechComponentId { Integer max; public abstract static class DeltaOfferComponentBuilder { public DeltaOfferComponentBuilder max(Integer max) { this.max = max; return this; } } } """); }