aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/FieldDefaultsViaConfig.java
blob: 61f6dacaa0985d0cd69078c8138fa377491a540a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//CONF: lombok.fieldDefaults.defaultFinal = true
//CONF: lombok.fieldDefaults.defaultPrivate = true
class FieldDefaultsViaConfig1 {
	int x;
	@lombok.experimental.NonFinal int y;
	
	FieldDefaultsViaConfig1(int x) {
		this.x = x;
	}
}

@lombok.experimental.FieldDefaults(level = lombok.AccessLevel.PROTECTED)
class FieldDefaultsViaConfig2 {
	@lombok.experimental.PackagePrivate int x = 2;
	int y = 0;
}