public static Method getMethod(Class objectClass, String methodName) {
        Method[] methods = methodCache.get(objectClass);
        if (methods == null) {
            methods = getMethods(objectClass);
            methodCache.putIfAbsent(objectClass, methods);
        }

        for (Method method : methods) {
            if (method.getName().equals(methodName)) {
                return method;
            }
        }

        return null;
    }
@author Bob Lee
@author Jesse Wilson
@author Shaojin Wen
@author poo0054
core/src/main/java/com/alibaba/fastjson2/util/BeanUtils.java