code: static Type parse(String str) {
          try {
              return doParse(str);
          } catch (RuntimeException ex) {
              throw ex;
          } catch (Exception ex) {
              throw new RuntimeException(ex);
          }
      }
docs: Parses the TypeToken string format.
  
  @param str  the string
  @return the token