blob: 5d195ff597f91c9134871ccf63320b338e019140 (
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
|
@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;
}
|