public Class<?>[] resolveGenerics(Class<?> fallback) {
        ResolvableType[] genericS = getGenerics();
        Class<?>[] resolvedGenerics = new Class<?>[genericS.length];
        for (int i = 0; i < genericS.length; i++) {
            resolvedGenerics[i] = genericS[i].resolve(fallback);
        }
        return resolvedGenerics;
    }
Convenience method that will {link #getGenerics() get} and {link #resolve()
resolve} generic parameters, using the specified {@code fallback} if any type
cannot be resolved.

@param fallback the fallback class to use if resolution fails
@return an array of resolved generic parameters
see #getGenerics()
see #resolve()
analyzer/src/main/java/nl/basjes/parse/useragent/utils/springframework/core/ResolvableType.java