@Test public void testPrettyNullClass() { Assert.assertEquals(NULL, Pretty.clazz(null)); }
public static String clazz(Class<?> clazz) { if (clazz == null) return NULL_STRING; String cn = clazz.getName(); int index = cn.lastIndexOf(DOT); if (index < 0) return cn; return cn.substring(index + 1); }
Pretty { public static String clazz(Class<?> clazz) { if (clazz == null) return NULL_STRING; String cn = clazz.getName(); int index = cn.lastIndexOf(DOT); if (index < 0) return cn; return cn.substring(index + 1); } }
Pretty { public static String clazz(Class<?> clazz) { if (clazz == null) return NULL_STRING; String cn = clazz.getName(); int index = cn.lastIndexOf(DOT); if (index < 0) return cn; return cn.substring(index + 1); }  }
Pretty { public static String clazz(Class<?> clazz) { if (clazz == null) return NULL_STRING; String cn = clazz.getName(); int index = cn.lastIndexOf(DOT); if (index < 0) return cn; return cn.substring(index + 1); }  static String clazz(Class<?> clazz); static String pType(ParameterizedType pType); static String type(Type t); static String constructor(Constructor<?> constructor); static String method(Method method); static String field(Field field); static String array(Object[] array); static String collection(Collection<?> collection); }
Pretty { public static String clazz(Class<?> clazz) { if (clazz == null) return NULL_STRING; String cn = clazz.getName(); int index = cn.lastIndexOf(DOT); if (index < 0) return cn; return cn.substring(index + 1); }  static String clazz(Class<?> clazz); static String pType(ParameterizedType pType); static String type(Type t); static String constructor(Constructor<?> constructor); static String method(Method method); static String field(Field field); static String array(Object[] array); static String collection(Collection<?> collection);  }