I've got a bunch of Code Smells in my Java project around bits of code like this:
@Data
public class Foobar extends Foo {
private String baz;
}
My lombok.config sits alongside the pom.xml and looks like:
config.stopBubbling = true
lombok.addLombokGeneratedAnnotation = true
This brought up the code coverage numbers, not has not cleared the Code Smells.
Seems I'm not the only person encountering this problem.
In terms of versions:
- Lombok 1.18.8 (also tried with 1.18.10)
- Jacoco 0.8.4
- SonarQube 7.9.1.27448
- SonarQube Scanner 4.0.0.1744
I've seen a few similar questions on this, but they are all ~5 years old, so I dont believe the answers are still valid.