code: private static void parseAttributeOrTextContent(
        String stringValue,
        Field field,
        Type valueType,
        List<Type> context,
        Object destination,
        GenericXml genericXml,
        Map<String, Object> destinationMap,
        String name) {
      if (field != null || genericXml != null || destinationMap != null) {
        valueType = field == null ? valueType : field.getGenericType();
        Object value = parseValue(valueType, context, stringValue);
        setValue(value, field, destination, genericXml, destinationMap, name);
      }
    }
docs: Parses the string value of an attribute value or text content.
  
  @param stringValue string value
  @param field field to set or {@code null} if not applicable
  @param valueType value type (class, parameterized type, or generic array type) or {@code null}
  for none
  @param context context list, going from least specific to most specific type context, for
  example container class and its field
  @param destination destination object or {@code null} for none
  @param genericXml generic XML or {@code null} if not applicable
  @param destinationMap destination map or {@code null} if not applicable
  @param name key name