[i2078] Add possibility to generate assert on @NonNull

This commit is contained in:
Roel Spilker committed 2019-03-26 00:00:42 +01:00
1 parent e4b61e1263
commit 4e7414038a
40 files changed
+261 -163

No files matched your search

@@ -2,7 +2,7 @@ class NonNullWithSneakyThrows {
void test(@lombok.NonNull String in) {
try {
if (in == null) {
throw new java.lang.NullPointerException("in is marked @NonNull but is null");
throw new java.lang.NullPointerException("in is marked non-null but is null");
}
System.out.println(in);
} catch (final java.lang.Throwable $ex) {