@Builder @Singular
... and Bob's your uncle: No-hassle fancy-pants APIs for object creation!
With Lombok
import lombok.Builder;
|
Vanilla Java
import java.util.Collection;
|
import lombok.Builder;
|
import java.util.Collection;
|