val = new ValidatorConfigBean();
val.setName(valName);
val.setClazz(clazz.getName());
}
FieldConfigBean fcb = new FieldConfigBean();
fcb.setName(fieldName);
fcb.setMessage(StringUtil.parsePropValue(ann.mess()));
String[] params = ann.params();
String[] values = ann.values();
if (params.length > 0 && values.length > 0 && params.length == values.length){
for (int i = 0; i < params.length; i++){
ParamConfigBean pcb = new ParamConfigBean();
pcb.setName(StringUtil.parsePropValue(params[i]));
pcb.setValue(StringUtil.parsePropValue(values[i]));
fcb.getParam().add(pcb);
}
}
val.getField().add(fcb);