-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Labels
💉 bugSomething isn't workingSomething isn't working
Description
Describe the bug
When using lombok's annotations (@Setter, @DaTa) there is no need to explicitly implement setter methods for instance's attributes. However GCI82 rule detects an issue on each class attribute.
To Reproduce
- Add Lombok dependency to the project
- Create a simple POJO class
- Add
@Setterannotation on the class declaration - Analyse the code with SonarQube and creedengo-java plugin
@Getter
@Setter
@AllArgsConstructor
public class TestDto {
private String name;
private int age;
}Expected behavior
The attributes declarations should be compliant and no issue should be raised.
Screenshots
Software Versions
- SonarQube Version: Community Build v25.3.0.104237
- Plugin Version: 2.1.1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
💉 bugSomething isn't workingSomething isn't working
