public static ArrayList<TypeInfo> typeInfosFromTypeNames(List<String> typeNames) {

    ArrayList<TypeInfo> result = new ArrayList<TypeInfo>(typeNames.size());

    for(int i = 0; i < typeNames.size(); i++) {
      TypeInfo typeInfo = TypeInfoUtils.getTypeInfoFromTypeString(typeNames.get(i));
      result.add(typeInfo);
    }
    return result;
  }
Get the TypeInfo object from the ObjectInspector object by recursively
going into the ObjectInspector structure.
serde/src/java/org/apache/hadoop/hive/serde2/typeinfo/TypeInfoUtils.java