mplushnikov / lombok-intellij-plugin

Lombok Plugin for IntelliJ IDEA
Apache License 2.0
3.11k stars 635 forks source link

Request: Mark fields for which getters and/or setters are overrides #1178

Open simonstratmann opened 1 year ago

simonstratmann commented 1 year ago

Short description

We have a lot of POJO classes which implement interfaces that define getters for certain attributes. We define these attributes as fields and use @Data on the classes. If we add other attributes for which no getters are defined in the interface it's impossible to determine (on a glance) which attributes are required by the interface and which are not. Also in the interfaces the getters may be annotated with validations like @NotBlank which are invisible in the implementing classes.

Expected behavior

I think there are several ways this could be improved:

Sample project

https://github.com/simonstratmann/lombok-interface-hints

Thank you!