code: public static ToStringStyle valueOf(String s) {
          if (S.isEqual(DEFAULT_STYLE.getClass().getName(), s)) return DEFAULT_STYLE;
          if (S.isEqual(SIMPLE_STYLE.getClass().getName(), s)) return SIMPLE_STYLE;
          if (S.isEqual(MULTI_LINE_STYLE.getClass().getName(), s)) return MULTI_LINE_STYLE;
          if (S.isEqual(SHORT_PREFIX_STYLE.getClass().getName(), s)) return SHORT_PREFIX_STYLE;
          if (S.isEqual(NO_FIELD_NAMES_STYLE.getClass().getName(), s)) return NO_FIELD_NAMES_STYLE;
          throw new IllegalArgumentException("Unknown ToStringStyle: " + s);
      }
docs: Create <code>ToStringStyle</code> instance from class name of the following
  predefined styles:
  <p/>
  <ul>
  <li>{@link #DEFAULT_STYLE}</li>
  <li>{@link #SIMPLE_STYLE}</li>
  <li>{@link #MULTI_LINE_STYLE}</li>
  <li>{@link #SHORT_PREFIX_STYLE}</li>
  <li>{@link #NO_FIELD_NAMES_STYLE}</li>
  </ul>
  <p/>
  <p>If the String specified cannot match any of the above style's class
  name, then an {@link IllegalArgumentException} will be thrown out</p>
  
  @param s
  @return a <code>ToStringStyle</code> from the give string