for (String str : cix.value())
en.addIndex(str);
// 循环所有的字段
for (Field fld : en.getMirror().getFields()) {
CoField cf = fld.getAnnotation(CoField.class);
CoId ci = fld.getAnnotation(CoId.class);
if (null != cf || null != ci) {
en.addField(new FieldInfo(fld));
}
}
// 循环所有的方法
for (Method method : en.getType().getMethods()) {
CoField cf = method.getAnnotation(CoField.class);
CoId ci = method.getAnnotation(CoId.class);
if (null != cf || null != ci) {
en.addField(new FieldInfo(method));
}
}