code: public static <T> Class<T> toClass(CtClass ctClass) throws CannotCompileException {
          return toClass(ctClass, ClassLoadingUtil.class.getClassLoader(), null);
      }
docs: Installs the given {@code CtClass} into the current class-loader and returns
  it as a new class.
  
  @param ctClass class to load
  @param <T> class type
  @return new class
  @throws CannotCompileException if the class cannot be compiled