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.

  1. validate
  2. 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

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

javascript - How to process users in one specific order using map o each function? -

javascript - Linking from page A to a specific iframe on page B -