mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 18:15:55 +00:00
Fixes #1236: Getter(lazy=true) now emits an error when used on a transient field
This commit is contained in:
1 parent
0727c8bfd3
commit
cf82dcfb80
8 files changed
+79
-4
No files matched your search
@@ -0,0 +1,10 @@
|
||||
class GetterLazyTransient {
|
||||
@lombok.Getter(lazy=true)
|
||||
private final int nonTransientField = 1;
|
||||
|
||||
@lombok.Getter(lazy=true)
|
||||
private final transient int transientField = 2;
|
||||
|
||||
@lombok.Getter
|
||||
private final transient int nonLazyTransientField = 3;
|
||||
}
|
||||
Reference in new issue
Block a user