entryInfo.setDescriptionType(field.getType());
}
else {
Ext ext = field.getAnnotation(Ext.class);
if (ext != null) {
ExtInfo extInfo = new ExtInfo();
extInfo.setName(ext.name());
extInfo.setProperty(field.getName());
extInfo.setType(field.getType());
Default def = field.getAnnotation(Default.class);
if (def != null) {
extInfo.setDefaultValue(def.value());
}
ComplexContent compl = field.getAnnotation(ComplexContent.class);
if (compl != null) {
extInfo.setElementClass(compl.elementClass());
extInfo.setSeparator(compl.separator());
extInfo.setDefaultNull(compl.defaultNull());
}
entryInfo.addExtInfo(extInfo);
}
}
}