public static synchronized < T > T invokeMethod ( Class < ? > clazz , String methodToExecute , Object ... arguments ) throws Exception { return WhiteboxImpl . invokeMethod ( clazz , methodToExecute , arguments ) ; }
Invoke a static private or inner class method . This may be useful to test private methods .