aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/BuilderDefaultsWarnings.java
blob: 8ef3dc59e26669e9975a46dac13b33d7f93895f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import lombok.Builder;
import lombok.Singular;

@Builder
public class BuilderDefaultsWarnings {
	long x = System.currentTimeMillis();
	final int y = 5;
	@Builder.Default int z;
	@Builder.Default @Singular java.util.List<String> items;
}

class NoBuilderButHasDefaults {
	@Builder.Default private final long z = 5;
	
	@Builder
	public NoBuilderButHasDefaults() {
	}
}