### Question:
ClassUtils extends org.springframework.util.ClassUtils { public static boolean isInJar(Class<?> clazz) { return isInJar(getResource(clazz)); }  static boolean isInJar(Class<?> clazz); static boolean isInJar(Resource resource); static Resource getResource(Class<?> clazz); static Resource getClassesRootResource(Class<?> clazz); static String getClassesRootPath(Class<?> clazz);  }### Answer:
@Test public void testIsInJar() { Assert.assertTrue("org.webframe.support.util.ClassUtils类不应该在jar包中！", !ClassUtils.isInJar(getClass())); Assert.assertTrue("org.springframework.util.ClassUtils类应该在jar包中！", ClassUtils.isInJar(org.springframework.util.ClassUtils.class)); }