private TypeInfo getTypeInfo(Map<String, TypeInfo> typeMaps, String path, Class<?> superType) {

    TypeInfo typeInfo = typeMaps.get(path);
    if (typeInfo == null) {
      typeInfo = new TypeInfo(superType);
      typeMaps.put(path, typeInfo);
    }

    return typeInfo;

  }
private TypeInfo getTypeInfo ( Map < String , TypeInfo > typeMaps , String path , Class < ? > superType ) { TypeInfo typeInfo = typeMaps . get ( path ) ; if ( typeInfo == null ) { typeInfo = new TypeInfo ( superType ) ; typeMaps . put ( path , typeInfo ) ; } return typeInfo ; }
Get the TypeInfo object from specified path or return the new one if it does not exist.
@param typeMaps
@param path
@param superType
@return