code: static Method getMethodByName(Method[] methods, String methodName) {
  		for (int i = 0; i < methods.length; i++)
  			if (methods[i].getName().equalsIgnoreCase(methodName))
  				return methods[i];
  		return null;
  	}
docs: 从方法数组中根据方法名称找出方法