protected void traverseGenericType(ResolvedType targetType, ObjectNode targetNode) {
        TypeScope scope = this.typeContext.createTypeScope(targetType);
        GenericTypeDetails typeDetails = new GenericTypeDetails(scope, false, false, null);
        this.traverseGenericType(targetNode, typeDetails);
    }
Preparation Step: add the given targetType.

@param targetType (possibly generic) type to add
@param targetNode node in the JSON schema that should represent the targetType
jsonschema-generator/src/main/java/com/github/victools/jsonschema/generator/impl/SchemaGenerationContextImpl.java