code: public <T> T mapTo(final Class<T> mappingClass, final int flags) {
      return mapTo(mappingClass, null, flags);
    }
docs: Map the structure fields to a class fields.
  
  @param <T>          a class type
  @param mappingClass a mapping class to be mapped by the structure fields,
  must not be null and must have the default constructor
  @param flags        special flags to tune mapping
  @return a mapped instance of the class, must not be null