1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
package pkg; import lombok.Builder; import lombok.Data; import lombok.With; import lombok.experimental.WithBy; @Data @Builder @With @WithBy public class A { private String string; public void a() { this.string = "a"; } }