code: @SuppressWarnings("unchecked")
    public static <T> T newInstance(Class<T> theClass, Configuration conf) {
      return newInstance(theClass, conf, true);
    }
docs: Create an object for the given class and initialize it from conf
  
  @param theClass class of which an object is created
  @param conf Configuration
  @return a new object