aboutsummaryrefslogtreecommitdiff
path: root/usage_examples/Singular-snippetExample_pre.jpage
blob: 65f6bbc89d1a8c5c2612b7fa6d6588e358a0c87f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import lombok.Builder;
import lombok.Singular;
import java.util.Collection;
import java.util.Set;
import java.util.SortedMap;
import com.google.common.collect.ImmutableList;

@Builder
public class SingularExample<T extends Number> {
	private @Singular Set<String> occupations;
	private @Singular("axis") ImmutableList<String> axes;
	private @Singular SortedMap<Integer, T> elves;
	private @Singular Collection<?> minutiae;
}