Lombok builder annotations can also be present on constructors. When they are, we ought to generate annotations for the build() and toBuilder() methods that are consistent with the constructor arguments, rather than with the class - because the class might have other fields that are marked @lombok.NonNull.
Lombok builder annotations can also be present on constructors. When they are, we ought to generate annotations for the
build()andtoBuilder()methods that are consistent with the constructor arguments, rather than with the class - because the class might have other fields that are marked@lombok.NonNull.