mirror of
https://github.com/tiennm99/lombok.git
synced 2026-09-13 14:20:00 +00:00
[Log] updated naming for @Log (topic= instead of mchmulder's 'value').
19 lines
423 B
Java
19 lines
423 B
Java
class NonNullWithSneakyThrows {
|
|
NonNullWithSneakyThrows() {
|
|
super();
|
|
}
|
|
@lombok.SneakyThrows 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);
|
|
}
|
|
}
|
|
} |