code: public static <T extends Parameters> T parse(String text, T parameters) throws AponParseException {
          if (text == null) {
              throw new IllegalArgumentException("text must not be null");
          }
          if (parameters == null) {
              throw new IllegalArgumentException("parameters must not be null");
          }
          try {
              AponReader aponReader = new AponReader(text);
              aponReader.read(parameters);
              aponReader.close();
              return parameters;
          } catch (AponParseException e) {
              throw e;
          } catch (Exception e) {
              throw new AponParseException("Failed to parse string with APON format", e);
          }
      }
docs: Converts an APON formatted string into a given Parameters object.
  
  @param <T> the generic type
  @param text the APON formatted string
  @param parameters the Parameters object
  @return the Parameters object
  @throws AponParseException if reading APON format document fails