mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 22:16:11 +00:00
Generates the null check on the constructor parameter instead of the instance field. Fix for issues #869 and #1018.
This commit is contained in:
1 parent
5f02accc06
commit
f765730526
4 files changed
+55
-5
No files matched your search
@@ -4,3 +4,11 @@
|
||||
int _huh;
|
||||
int __huh2;
|
||||
}
|
||||
|
||||
@lombok.AllArgsConstructor @lombok.experimental.Accessors(prefix={"p", "_"}) class NonNullConstructorsWithAccessors {
|
||||
@lombok.NonNull Integer plower;
|
||||
@lombok.NonNull Integer pUpper;
|
||||
@lombok.NonNull Integer _huh;
|
||||
@lombok.NonNull Integer __huh2;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user