Sonar cloud seems not recognising lambok annotations getting maintainability issues Unused “private” fields should be removed even though lambook getter/setter annotations are available
any workarounds for this
Sonar cloud seems not recognising lambok annotations getting maintainability issues Unused “private” fields should be removed even though lambook getter/setter annotations are available
Hi @ThomasVThomas,
Thank you for reporting!
We are aware of this issue, and if the semantics are incomplete Lombok annotations are unknown.
Here is a ticket to track progress for fixing it: [SONARJAVA-4178] - Jira
All the best,
Irina.
We have the same problem.
Using fully qualified annotations helped in our case:
@lombok.Getter
@lombok.Setter