Change SuperBuilder method with Lombok

I have a class as follows: @Data @SuperBuilder @NoArgsConstructor @JsonInclude(Include.NON_NULL) public class CustomObject extends Parent { … @Accessors( chain = true,…

How to use Jackson to deserialize external Lombok builder class

I have a 3rd party Lombok builder POJO, one that I cannot modify, that I want to serialize using jackson. Notably it does not have a NoArgsConstructor. @Data @Builder public class ExternalClass { …

The builder pattern and a large number of mandatory parameters

To date I use the following implementation of the builder pattern (as opposed to the implementation described here): public class Widget { public static class Builder { public Builder(…

Spring: Using builder pattern to create a bean

I use ektorp to connect to CouchDB. The way to build an ektorp HttpClient instance is to use builder pattern: HttpClient httpClient = new StdHttpClient.Builder() ….