web/play-java-forms/src/main/java/play/data/format/Formatters.java
@SuppressWarnings("unchecked")
  public <T> T parse(Field field, String text) {
    return (T) conversion.convert(text, new TypeDescriptor(field));
  }
@SuppressWarnings("unchecked")
  public <T> T parse(Field field, String text) {
    return (T) conversion.convert(text, new TypeDescriptor(field));
  }
@ SuppressWarnings ( "unchecked" ) public < T > T parse ( Field field , String text ) { return ( T ) conversion . convert ( text , new TypeDescriptor ( field ) ) ; }
Parses this string as instance of a specific field

@param field the related field (custom formatters are extracted from this field annotation)
@param text the text to parse
@param <T> the type to parse out of the text
@return the parsed value
Parses this string as instance of a specific field