fields.put(name, new FieldWebsite(name, label));
} else if (field.isAnnotationPresent(FieldBooleanAnnotation.class)) {
final boolean defaultValue = field.getAnnotation(FieldBooleanAnnotation.class).defaultValue();
fields.put(name, new FieldBoolean(name, label, defaultValue));
} else if (field.isAnnotationPresent(FieldEmailAnnotation.class)) {
fields.put(name, new FieldEmail(name, label));
} else {
log.warning("Unknown field type: " + domainClass.getSimpleName() + "." + name);
}
}