@Test public void testStringNullOrEmpty() { assertTrue(StringUtils.isNullOrEmpty(null)); assertTrue(StringUtils.isNullOrEmpty("")); assertNotEquals(null, StringUtils.isNullOrEmpty("this is not empty")); assertTrue(StringUtils.isNullOrEmpty("")); }
public static boolean isNullOrEmpty(String str) { return str == null || str.length() == 0; }
StringUtils { public static boolean isNullOrEmpty(String str) { return str == null || str.length() == 0; } }
StringUtils { public static boolean isNullOrEmpty(String str) { return str == null || str.length() == 0; }  }
StringUtils { public static boolean isNullOrEmpty(String str) { return str == null || str.length() == 0; }  static String join(final String... elements); static String joinUsingDelim(String delim, final String... elements); static String join(final String[] array, final String separator); static String toHexString(byte[] bytes); static boolean isNullOrEmpty(String str); static String nullToEmpty(@Nullable String string); static String objToString(@Nullable Object obj); static @Nullable String emptyToNull(@Nullable String string); }
StringUtils { public static boolean isNullOrEmpty(String str) { return str == null || str.length() == 0; }  static String join(final String... elements); static String joinUsingDelim(String delim, final String... elements); static String join(final String[] array, final String separator); static String toHexString(byte[] bytes); static boolean isNullOrEmpty(String str); static String nullToEmpty(@Nullable String string); static String objToString(@Nullable Object obj); static @Nullable String emptyToNull(@Nullable String string);  }