public static String rawType(String type) {
    int lessThanIndex = type.indexOf('<');
    if (lessThanIndex != -1) {
      return type.substring(0, lessThanIndex);
    }
    return type;
  }
public static String rawType(String type) {
    int lessThanIndex = type.indexOf('<');
    if (lessThanIndex != -1) {
      return type.substring(0, lessThanIndex);
    }
    return type;
  }
public static String rawType ( String type ) { int lessThanIndex = type . indexOf ( ' ' ) ; if ( lessThanIndex != - 1 ) { return type . substring ( 0 , lessThanIndex ) ; } return type ; }
Build a string representation of the raw type for a (optionally generic) type.
Build a string representation of the raw type for a ( optionally generic ) type .