Is there any annotation available for Lombok private NoArgConstructor? Lombok @NoArgConstructor
creates a public Constructor with no parameter. But I want private constructor annotation.
Use the access level element in the annotation. @NoArgsConstructor(access = AccessLevel.PRIVATE)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With