aboutsummaryrefslogtreecommitdiff
path: root/usage_examples/BuilderExample_pre.jpage
blob: 3b1b0df2e757846a7a7fd61d36a8a4b45822534e (plain)
1
2
3
4
5
6
7
8
9
10
11
import lombok.Builder;
import lombok.Singular;
import java.util.Set;

@Builder
public class BuilderExample {
	@Builder.Default private long created = System.currentTimeMillis();
	private String name;
	private int age;
	@Singular private Set<String> occupations;
}