mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 16:17:34 +00:00
[i2078] Add possibility to generate assert on @NonNull
This commit is contained in:
1 parent
e4b61e1263
commit
4e7414038a
40 files changed
+261
-163
No files matched your search
@@ -20,19 +20,19 @@
|
||||
super();
|
||||
if ((plower == null))
|
||||
{
|
||||
throw new java.lang.NullPointerException("plower is marked @NonNull but is null");
|
||||
throw new java.lang.NullPointerException("plower is marked non-null but is null");
|
||||
}
|
||||
if ((upper == null))
|
||||
{
|
||||
throw new java.lang.NullPointerException("upper is marked @NonNull but is null");
|
||||
throw new java.lang.NullPointerException("upper is marked non-null but is null");
|
||||
}
|
||||
if ((huh == null))
|
||||
{
|
||||
throw new java.lang.NullPointerException("huh is marked @NonNull but is null");
|
||||
throw new java.lang.NullPointerException("huh is marked non-null but is null");
|
||||
}
|
||||
if ((_huh2 == null))
|
||||
{
|
||||
throw new java.lang.NullPointerException("_huh2 is marked @NonNull but is null");
|
||||
throw new java.lang.NullPointerException("_huh2 is marked non-null but is null");
|
||||
}
|
||||
this.plower = plower;
|
||||
this.pUpper = upper;
|
||||
|
||||
Reference in new issue
Block a user