blob: cc9f9501d45c299e5efa03fb46d38fdab7010ffb (
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
|
class GetterLazyInvalidNotFinal {
@lombok.Getter(lazy=true)
private String fieldName = "";
}
class GetterLazyInvalidNotPrivate {
@lombok.Getter(lazy=true)
final String fieldName = "";
}
class GetterLazyInvalidNotPrivateFinal {
@lombok.Getter(lazy=true)
String fieldName = "";
}
class GetterLazyInvalidNone {
@lombok.Getter(lazy=true, value=lombok.AccessLevel.NONE)
private final String fieldName = "";
}
@lombok.Getter(lazy = true)
class GetterLazyInvalidClass {
private final String fieldName = "";
}
class GetterLazyInvalidNoInit {
@lombok.Getter(lazy = true)
private final String fieldName;
GetterLazyInvalidNoInit() {
this.fieldName = "foo";
}
}
|