code: private Method findMethod(Class clazz, String name) {
  		Method[] methods = clazz.getDeclaredMethods();
  		for (int i=0;i<methods.length;i++) {
  			if (methods[i].getName().equalsIgnoreCase(name)) {
  				Method method = methods[i];
  				Class[] params = method.getParameterTypes();
  				
  				if (params.length == 1) {
  					return method;
  				}
  			}
  		}
  		
  		return null;
  	}
docs: Find a method in a class by it's name. Note that this method is
  only needed because the general reflection method is case
  sensitive
  
  @param clazz The clazz to search
  @param name The name of the method to search for
  @return The method or null if none could be located