Classes { public static String className(Class<?> valueClass) { String name = valueClass.getName(); int index = name.lastIndexOf('.'); if (index < 0) return name; return name.substring(index + 1); }  static List<Field> instanceFields(Class<?> instanceClass); static List<Field> enumConstantFields(Class<?> enumClass); static String className(Class<?> valueClass);  }
@Test void className() { assertThat(Classes.className(TestBean.class)).isEqualTo("ClassesTest$TestBean"); }