blob: f44d25568e241bc3313d1bf1dce690f74d148272 (
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
|
//version 8:
@lombok.Getter
class GetterOnClass1 {
@lombok.Getter(lombok.AccessLevel.NONE)
boolean isNone;
boolean isPublic;
}
@lombok.Getter(lombok.AccessLevel.PROTECTED)
class GetterOnClass2 {
@lombok.Getter(lombok.AccessLevel.NONE)
boolean isNone;
boolean isProtected;
@lombok.Getter(lombok.AccessLevel.PACKAGE)
boolean isPackage;
}
@lombok.Getter(lombok.AccessLevel.PACKAGE)
class GetterOnClass3 {
@lombok.Getter(lombok.AccessLevel.NONE)
boolean isNone;
boolean isPackage;
}
@lombok.Getter(lombok.AccessLevel.PRIVATE)
class GetterOnClass4 {
@lombok.Getter(lombok.AccessLevel.NONE)
boolean isNone;
boolean isPrivate;
}
@lombok.Getter(lombok.AccessLevel.PUBLIC)
class GetterOnClass5 {
@lombok.Getter(lombok.AccessLevel.NONE)
boolean isNone;
boolean isPublic;
}
@lombok.Getter
class GetterOnClass6 {
String couldBeNull;
@lombok.NonNull String nonNull;
}
|