code: private static CtClass[] generateClassField(Class<?>... classes) throws NotFoundException {
          CtClass[] result = new CtClass[classes.length];
          for (int i = 0; i < classes.length; i++) {
              result[i] = cp.get(classes[i].getName());
          }
          return result;
      }
docs: Generates a CtClass field out of a Class field.