@Test @SuppressWarnings("ConstantConditions") void isNotNull() { Assertions.assertTrue(ObjectUtils.isNotNull(OBJECT)); Assertions.assertFalse(ObjectUtils.isNotNull(null)); }
public static boolean isNotNull(@Nullable Object object) { return object != null; }
ObjectUtils { public static boolean isNotNull(@Nullable Object object) { return object != null; } }
ObjectUtils { public static boolean isNotNull(@Nullable Object object) { return object != null; } private  ObjectUtils(); }
ObjectUtils { public static boolean isNotNull(@Nullable Object object) { return object != null; } private  ObjectUtils(); static @Nullable T cast(Class<T> clazz, @Nullable Object object); @SuppressWarnings("unchecked") static @Nullable T cast(Object object); static boolean isNotNull(@Nullable Object object); static boolean areNull(Object... objects); static boolean equalsOneOf(Object value, Object... expected); static boolean equals(T object, C value, Object to, Function<T, C> getter); @SuppressWarnings("unchecked") static boolean equals(T object, Object to, BiPredicate<T, T> equals); }
ObjectUtils { public static boolean isNotNull(@Nullable Object object) { return object != null; } private  ObjectUtils(); static @Nullable T cast(Class<T> clazz, @Nullable Object object); @SuppressWarnings("unchecked") static @Nullable T cast(Object object); static boolean isNotNull(@Nullable Object object); static boolean areNull(Object... objects); static boolean equalsOneOf(Object value, Object... expected); static boolean equals(T object, C value, Object to, Function<T, C> getter); @SuppressWarnings("unchecked") static boolean equals(T object, Object to, BiPredicate<T, T> equals);  }