blob: d6a3d3c8d66877286507b10a69a4e4fe3f55154c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
@lombok.experimental.Wither
class WitherOnClass1 {
@lombok.experimental.Wither(lombok.AccessLevel.NONE)
boolean isNone;
boolean isPublic;
WitherOnClass1(boolean isNone, boolean isPublic) {
}
}
@lombok.experimental.Wither(lombok.AccessLevel.PROTECTED)
class WitherOnClass2 {
@lombok.experimental.Wither(lombok.AccessLevel.NONE)
boolean isNone;
boolean isProtected;
@lombok.experimental.Wither(lombok.AccessLevel.PACKAGE)
boolean isPackage;
WitherOnClass2(boolean isNone, boolean isProtected, boolean isPackage) {
}
}
@lombok.experimental.Wither
class WitherOnClass3 {
String couldBeNull;
@lombok.NonNull String nonNull;
WitherOnClass3(String couldBeNull, String nonNull) {
}
}
@lombok.experimental.Wither @lombok.experimental.Accessors(prefix="f")
class WitherOnClass4 {
final int fX = 10;
final int fY;
WitherOnClass4(int y) {
this.fY = y;
}
}
|