public static Object invokeStatic(String clazz,String methodName,Class[] types,Object[] values) throws NoSuchMethodException {
  try {
    return invokeStatic(Class.forName(clazz),methodName,types,values);
  }
 catch (  ClassNotFoundException e) {
    throw new NoSuchMethodException("class " + clazz + " not found");
  }
}

public static Object invokeStatic ( String clazz , String methodName , Class [ ] types , Object [ ] values ) throws NoSuchMethodException { try { return invokeStatic ( Class . forName ( clazz ) , methodName , types , values ) ; } catch ( ClassNotFoundException e ) { throw new NoSuchMethodException ( "class " + clazz + " not found" ) ; } }
invokes the specified parameterless method if it exists .
