code: @SuppressWarnings("unchecked")
      public static synchronized <T> T invokeMethod(Class<?> clazz, String methodToExecute, Object... arguments)
              throws Exception {
          return (T) doInvokeMethod(clazz, null, methodToExecute, arguments);
      }
docs: Invoke a private or inner class method. This might be useful to test
  private methods.
  
  @param <T>             the generic type
  @param clazz           the clazz
  @param methodToExecute the method to execute
  @param arguments       the arguments
  @return the t
  @throws Exception the exception