Template for a good false-positive report, formatted with Markdown:
- SonarQube Version 8.5 (build 37579)
@Data
@Builder
public class MyEntity {
@Default
final boolean byDefaultTrue = true;
}
SonaQube report that I should make this static final instead of just final. But Lombok is using the value only as fallback for its Builder and is indeed initializing this field inside the BuilderClass.