java - Lombok post @Builder build event -
i using lombok builder. want following: once user create object using build()
function. want fire following methods defined in class.
- validate
- initialize internal object.
what way achieve this?
there's no such feature, there's related feature request, applies constructors , setters, rather builder. guess, should work you, however, it's not implemented yet.
Comments
Post a Comment