mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-03 09:13:36 +00:00
12 lines
278 B
Java
12 lines
278 B
Java
class NonNullWithSneakyThrows {
|
|
void test(@lombok.NonNull String in) {
|
|
try {
|
|
if (in == null) {
|
|
throw new java.lang.NullPointerException("in");
|
|
}
|
|
System.out.println(in);
|
|
} catch (final java.lang.Throwable $ex) {
|
|
throw lombok.Lombok.sneakyThrow($ex);
|
|
}
|
|
}
|
|
} |