Add @Builder and @SuperBuilder exceptions on rule java:S1258

Exact same issue with this poster: False positive on missing constructor for classes with Lombok’s @Builder annotation

  • What language is this for? java
  • Which rule? java:S1258
  • Are you using
    • SonarQube - 9.9.1
@Builder
public class TestDto { // java:S1258 error
  private UUID uuid;
  private String name;
}

As a follow-up to the questions in the closed-thread, this false-positive issues are being found everywhere in the production codes that we have on different projects scanned through CI pipeline.

Hi @maicaballangan,

Thank you for reporting.
I could reproduce FP you reported, and here is a ticket to track progress [SONARJAVA-4563] - Jira

All the best,

Irina