In my project codebase, I see @Generated
annotation being used in many places. When I read through the docs it states the following.
Lombok will eventually automatically add this annotation to all generated constructors, methods, fields, and types.
As per the docs, @Generated
annotation is automatically added by Lombok for the generated code. Apart from that, @Generated
doesn't generate any code like @Getter
or @Setter
does. I don't see the rationale in using this.
Am I missing something here?