code: @SuppressWarnings("unchecked")
    public <T extends Entity<?>> T newInstance(final Class<T> clazz) {
      return (T) getEntityType(clazz).newInstance();
    }
docs: <p>
  newInstance.
  </p>
  
  @param clazz
  @param <T> a T object.
  @return a T object.