class MimicCreator {

    public void mimicFields(CtClass src, CtClass dst) throws MimicException, CannotCompileException {
        for (CtField field : src.getDeclaredFields()) {
            if (hasField(dst, field)) {
                throw new MimicException(String.format("Class %s already has a field named %s %n", dst.getName(), field.getName()));
            }
            dst.addField(new CtField(field, dst));
        }
    }

    public  MimicCreator();
    public  MimicCreator(String key);

}