blob: b7ab4177981e908f9a40095c5dd18bfab60193e5 (
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
|
//version 8:
@lombok.Setter
class SetterOnClass1 {
@lombok.Setter(lombok.AccessLevel.NONE)
boolean isNone;
boolean isPublic;
}
@lombok.Setter(lombok.AccessLevel.PROTECTED)
class SetterOnClass2 {
@lombok.Setter(lombok.AccessLevel.NONE)
boolean isNone;
boolean isProtected;
@lombok.Setter(lombok.AccessLevel.PACKAGE)
boolean isPackage;
}
@lombok.Setter(lombok.AccessLevel.PACKAGE)
class SetterOnClass3 {
@lombok.Setter(lombok.AccessLevel.NONE)
boolean isNone;
boolean isPackage;
}
@lombok.Setter(lombok.AccessLevel.PRIVATE)
class SetterOnClass4 {
@lombok.Setter(lombok.AccessLevel.NONE)
boolean isNone;
boolean isPrivate;
}
@lombok.Setter(lombok.AccessLevel.PUBLIC)
class SetterOnClass5 {
@lombok.Setter(lombok.AccessLevel.NONE)
boolean isNone;
boolean isPublic;
}
@lombok.Setter
class SetterOnClass6 {
String couldBeNull;
@lombok.NonNull String nonNull;
}
|