code: public void processAttribute(CAttributePropertyInfo property, ClassOutline clase, Outline model) {
  		FieldOutline field = model.getField(property);
  		String propertyName = property.getName(false);
  		String className = clase.implClass.name();
  
  		log("Attribute " + propertyName + " added to class " + className);
  		XSComponent definition = property.getSchemaComponent();
  		AttributeUseImpl particle = (AttributeUseImpl) definition;
  		XSSimpleType type = particle.getDecl().getType();
  
  		JFieldVar var = clase.implClass.fields().get(propertyName);
  		if (particle.isRequired()) {
  			if (!hasAnnotation(var, NotNull.class)) {
  				processNotNull(clase, var);
  			}
  		}
  
  		validAnnotation(type, var, propertyName, className);
  		processType(type, var, propertyName, className);
  	}
docs: XS:Attribute