docs: @SuppressWarnings({"unchecked", "WeakerAccess"})
      public static <T> List<T> readListAttributeElement(final XMLExtendedStreamReader reader, final String attributeName,
              final Class<T> type) throws XMLStreamException {
          requireSingleAttribute(reader, attributeName);
          // todo: fix this when this method signature is corrected
          final List<T> value = (List<T>) reader.getListAttributeValue(0, type);
          requireNoContent(reader);
          return value;
      }