docs: private static Method getMethod(final Class cls, final String methodName, boolean declared) {
  		$.checkNotEmpty(methodName);
  		List<Method> methods = getMethodsList(cls, declared);
  		for (int i = 0; i < methods.size(); i++) {
  			if (methodName.equals(methods.get(i).getName())) {
  				return methods.get(i);
  			}
  		}
  		return null;
  	}