ClassPoolUtils { public static CtClass get(Class<?> clazz) throws NotFoundException { return CLASS_POOL.get(clazz.getName()); } private  ClassPoolUtils(); static CtClass[] toCtClasses(Class<?>... classes); static Class<?> toClass(CtClass clazz); static CtClass require(Class<?> clazz); static CtClass[] require(Class<?>[] classes); static CtClass get(Class<?> clazz); static ClassPool getClassPool();  }
@Test void get() throws NotFoundException { CtClass ctClass = ClassPoolUtils.get(ClassPoolUtilsTest.class); Assertions.assertNotNull(ctClass); Assertions.assertEquals(ClassPoolUtilsTest.class.getSimpleName(), ctClass.getSimpleName()); }