private static boolean hasSameParams(Method method, Class<?>[] paramTypes) {
        return (paramTypes.length == method.getParameterCount() &&
            Arrays.equals(paramTypes, method.getParameterTypes()));
    }
Attempt to find a {@link Method} on the supplied class with the supplied name
and parameter types. Searches all superclasses up to {@code Object}.
<p>Returns {@code null} if no {@link Method} can be found.

@param clazz      the class to introspect
@param name       the name of the method
@param paramTypes the parameter types of the method
                  (may be {@code null} to indicate any signature)
@return the Method object, or {@code null} if none found
analyzer/src/main/java/nl/basjes/parse/useragent/utils/springframework/util/ReflectionUtils.java