framework/oryx-common/src/main/java/com/cloudera/oryx/common/lang/ClassUtils.java
public static <T> T loadInstanceOf(Class<T> clazz) {
    return loadInstanceOf(clazz.getName(), clazz);
  }
public static <T> T loadInstanceOf(Class<T> clazz) {
    return loadInstanceOf(clazz.getName(), clazz);
  }
Like {@link #loadInstanceOf(String, Class)} where the reference returned is of the same type as
the class being loaded -- not any supertype.

@param clazz {@link Class} to make an instance of
@param <T> type of returned instance
@return instance of {@code clazz}