mirror of
https://github.com/tiennm99/lombok.git
synced 2026-08-01 16:21:17 +00:00
11 lines
275 B
Java
11 lines
275 B
Java
interface NonNullOnParameterOfDefaultMethod {
|
|
void test(@lombok.NonNull String arg);
|
|
default void test2(@lombok.NonNull String arg) {
|
|
if ((arg == null))
|
|
{
|
|
throw new java.lang.NullPointerException("arg");
|
|
}
|
|
System.out.println(arg);
|
|
}
|
|
}
|