0

I know about lombok which provides @Getter @Setter. But I have to specify this for each property. Considering I have a big application and most most of the v

1
  • 1
    Your question is cut o.....
    – user416
    Commented Sep 20, 2019 at 15:10

1 Answer 1

1

Use in this way with lombok

@Getter(AccessLevel.NONE)
@Setter(AccessLevel.NONE)
private String name;

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.