String[] fname = fnamelist.toArray(new String[] {});
List<FieldConfigBean> fList = new ArrayList<FieldConfigBean>();
for (int b = 0; b < valIndex.length; ++b) {
if (valIndex[b] == a) {
FieldConfigBean f = new FieldConfigBean();
fList.add(f);
f.setName(StringUtil.parsePropValue(fname[b]));
f.setMessage(StringUtil.parsePropValue(mess[b]));
if (paramAnn == null || paramName == null)
continue;
int[] pindex = paramAnn.valMess();
int[] pnameIndex = paramAnn.name();
String[] pnames = paramName.value();
List<String> pnamelist = new ArrayList<String>();
for (int in : pnameIndex)
pnamelist.add(StringUtil.parsePropValue(pnames[in]));
String[] pname = pnamelist.toArray(new String[] {});
String[] pvalue = paramAnn.value();
List<ParamConfigBean> pList = new ArrayList<ParamConfigBean>();
for (int c = 0; c < pindex.length; ++c) {
if (pindex[c] == b) {
ParamConfigBean p = new ParamConfigBean();
p.setName(StringUtil.parsePropValue(pname[c]));
p.setValue(StringUtil.parsePropValue(pvalue[c]));
pList.add(p);
}
}
f.setParam(pList);
}
}
v.setField(fList);