aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/BuilderSingularNullBehavior1.java
blob: 019b6473d103cb46b0fd0b594d67a93050629c39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import java.util.List;
import java.util.Collection;

import lombok.Singular;
import lombok.Singular.NullCollectionBehavior;

@lombok.Builder
class BuilderSingularNullBehavior1 {
	@Singular private List<String> names;
	@Singular(nullBehavior = Singular.NullCollectionBehavior.JDK) private List<String> locations;
	@Singular(nullBehavior = NullCollectionBehavior.GUAVA) private List<String> whatevers;
	@Singular(nullBehavior = lombok.Singular.NullCollectionBehavior.IGNORE) private List<String> doohickeys;
}