Quantcast
Viewing latest article 1
Browse Latest Browse All 2

Answer by Pawel for Lombok Builder ignores custom setter

@Builder generates its own class classNameBuilder with methods and fields. That's why it's not using your setter from @Setter annotation. Those both annotations does not depend on each other, that's why after you removed setter builder still works.

See the Lombok's doc https://projectlombok.org/features/Builder.html

Could you please share more of your code so it will be easier to understand what you want to achieve?


Viewing latest article 1
Browse Latest Browse All 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>