code: public static Object invokeStaticMethod(final Class cls, final String staticMethod,
  			final Object[] params, final Class[] paramTypes) {
  		Object res = null;
  
  		try {
  			Method method = cls.getMethod(staticMethod, paramTypes);
  			res = method.invoke(null, params);
  		} catch (SecurityException e) {
  			throw new SystemException(e);
  		} catch (NoSuchMethodException e) {
  			throw new SystemException(e);
  		} catch (IllegalArgumentException e) {
  			throw new SystemException(e);
  		} catch (IllegalAccessException e) {
  			throw new SystemException(e);
  		} catch (InvocationTargetException e) {
  			throw new SystemException(e);
  		}
  
  		return res;
  	}
docs: Invoke a <code>public</code> static method on the given class.
  
  @param cls is the class where the static method lives.
  @param staticMethod is the name of the method to invoke
  @param params are the param to pass to the method
  @param paramTypes are the types of parameters to be passed.
  @return the result of the method call.