code: public static void apply(Annotated member, Schema property) {
          if (member.hasAnnotation(XmlElementWrapper.class) || member.hasAnnotation(XmlElement.class)) {
              applyElement(member, property);
          } else if (member.hasAnnotation(XmlAttribute.class) && isAttributeAllowed(property)) {
              applyAttribute(member, property);
          }
      }
docs: Applies annotations to property's {@link XML} definition.
  
  @param member annotations provider
  @param property property instance to be updated