public final ResolvedType resolveSubtype(ResolvedType supertype, Class<?> subtype) {
        return this.typeResolver.resolveSubtype(supertype, subtype);
    }
Resolve subtype considering the given super-types (potentially) known type parameters.

@param supertype already resolved super type
@param subtype erased java subtype to resolve
@return resolved subtype
@see TypeResolver#resolveSubtype(ResolvedType, Class)
jsonschema-generator/src/main/java/com/github/victools/jsonschema/generator/TypeContext.java