mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 20:15:09 +00:00
@Getter(lazy=true) now also works in Eclipse
This commit is contained in:
1 parent
a9113718ae
commit
3f00e7c905
13 files changed
+570
-22
No files matched your search
@@ -12,13 +12,16 @@ class GetterLazyInvalidNotPrivateFinal {
|
||||
}
|
||||
class GetterLazyInvalidNone {
|
||||
@lombok.Getter(lazy=true, value=lombok.AccessLevel.NONE)
|
||||
String fieldName = "";
|
||||
private final String fieldName = "";
|
||||
}
|
||||
@lombok.Getter(lazy = true)
|
||||
class GetterLazyInvalidClass {
|
||||
String fieldName = "";
|
||||
private final String fieldName = "";
|
||||
}
|
||||
class GetterLazyInvalidNoInit {
|
||||
@lombok.Getter(lazy = true)
|
||||
String fieldName;
|
||||
}
|
||||
private final String fieldName;
|
||||
GetterLazyInvalidNoInit() {
|
||||
this.fieldName = "foo";
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user