question: public static Object invokeStatic ( Class clazz , String methodName ) throws NoSuchMethodException { try { Method method = clazz . getMethod ( methodName , new Class [ 0 ] ) ; Object result = method . invoke ( null , new Object [ 0 ] ) ; return result ; } catch ( IllegalAccessException e ) { throw new NoSuchMethodException ( methodName + " is not accessible" ) ; } catch ( InvocationTargetException e ) { throw new InternalError ( e . getMessage ( ) ) ; } }
target:  Invokes the specified accessible parameterless method if it exists.