/* */ private void addProperty(JDefinedClass clazz, String typeName, QName name, String variable)
/* */ throws ClassNotFoundException
/* */ {
/* 135 */ Class type = JavaUtils.loadJavaType(typeName, this.loader);
/* 136 */ JFieldVar field = clazz.field(4, type, variable);
/* 137 */ JAnnotationUse annotation = field.annotate(XmlElement.class);
/* 138 */ if (name.getNamespaceURI() != null)
/* 139 */ annotation.param("namespace", name.getNamespaceURI());
/* 140 */ annotation.param("name", name.getLocalPart());
/* */
/* 143 */ JMethod method = clazz.method(1, type, getterPrefix(type) + JavaUtils.capitalize(variable));