code: @SuppressWarnings("unchecked")
      public static <T> T newInstance(Class<T> c, Object[] args) {
          if (args == null) args = new Object[]{null};
          return (T) InvokerHelper.invokeConstructorOf(c, args);
      }
docs: Helper to construct a new instance from the given arguments.
  The constructor is called based on the number and types in the
  args array.  Use <code>newInstance(null)</code> or simply
  <code>newInstance()</code> for the default (no-arg) constructor.
  
  @param c    a class
  @param args the constructor arguments
  @return a new instance of this class.
  @since 1.0