public static < T > T createObject ( final Class < T > clazz , final Object ... args ) throws NoSuchConstructorException , AmbiguousConstructorException , ReflectiveOperationException { return findConstructor ( clazz , args ) . newInstance ( args ) ; }
Create an object of the given type using a constructor that matches the supplied arguments .