@Test public void checkNotNullPositive() { checkNotNull(new Object(), "No exceptions please"); }
public static void checkNotNull(@Nullable Object object, @NonNull String message) { if (object == null) { throw new NullPointerException(message); } }
Checks { public static void checkNotNull(@Nullable Object object, @NonNull String message) { if (object == null) { throw new NullPointerException(message); } } }
Checks { public static void checkNotNull(@Nullable Object object, @NonNull String message) { if (object == null) { throw new NullPointerException(message); } } private  Checks(); }
Checks { public static void checkNotNull(@Nullable Object object, @NonNull String message) { if (object == null) { throw new NullPointerException(message); } } private  Checks(); static void checkNotNull(@Nullable Object object, @NonNull String message); }
Checks { public static void checkNotNull(@Nullable Object object, @NonNull String message) { if (object == null) { throw new NullPointerException(message); } } private  Checks(); static void checkNotNull(@Nullable Object object, @NonNull String message);  }