You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lombok does not generate record constructor with nullability checks for a record with annotated fields - if non-Lombok annotations are used for. The following annotations are affected:
Google Findbugs annotations
Jakarta validation annotations
Jetbrains annotations
Spring annotations
When same annotations are used on fields of data class (annotated with @ Data and @ Builder) - constructor with nullability checks is generated properly.
To Reproduce
Please see the following test project. It contains all required annotated classes and unit tests.
Expected behavior
Lombok should generate record constructor with nullability checks for a record with annotated fields even if non-Lombok annotations are used for.
Version info (please complete the following information):
Lombok version - 1.18.34
Lombok gradle plugin version - 8.10
Eclipse Temurin JDK 21.0.4
Gradle 8.9
Additional context
The text was updated successfully, but these errors were encountered:
Describe the bug
Lombok does not generate record constructor with nullability checks for a record with annotated fields - if non-Lombok annotations are used for. The following annotations are affected:
When same annotations are used on fields of data class (annotated with @ Data and @ Builder) - constructor with nullability checks is generated properly.
To Reproduce
Please see the following test project. It contains all required annotated classes and unit tests.
Expected behavior
Lombok should generate record constructor with nullability checks for a record with annotated fields even if non-Lombok annotations are used for.
Version info (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: