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 -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -