code: public static <T> T createObject(final Class<T> clazz, final Object... args) throws NoSuchConstructorException,
              AmbiguousConstructorException, ReflectiveOperationException {
          return findConstructor(clazz, args).newInstance(args);
      }
docs: Create an object of the given type using a constructor that matches the
  supplied arguments.
  
  @param <T> the object type
  @param clazz
  the type to create
  @param args
  the arguments to the constructor
  @return a new object of the given type, initialized with the given
  arguments
  @throws NoSuchConstructorException
  if there is not a constructor that matches the given
  arguments
  @throws AmbiguousConstructorException
  if there is more than one constructor that matches the given
  arguments
  @throws ReflectiveOperationException
  if any of the reflective operations throw an exception