### Question:
ClassUtils { public static Class<?> getGenericType(Class<?> clazz) { return getGenericType(clazz, 0); } private  ClassUtils(); static Class<?> getGenericTypeFromBean(Object object); static Class<?> getGenericType(Class<?> clazz); static Class<?> getGenericType(Class<?> clazz, int index);  }### Answer:
@Test public void testGetGenericType() { Assertions.assertThat(ClassUtils.getGenericType(Object.class)).isNull(); Assertions.assertThat(ClassUtils.getGenericType(SampleResource.class)).isNull(); }