if (Annotation.class.isAssignableFrom(cl)) {
return new XmlBeanAnnotationAttribute(cl);
}
AddAttribute addAttribute = (AddAttribute) _beanType.getAddAttribute(cl);
if (addAttribute != null)
return new XmlBeanAddAttribute(cl);
throw new ConfigException(L.l("'{0}' is an unknown field or annotation",