GenericTypeDetails withAlternativeReasonToInline(boolean alternativeReasonToInline) {
            return new GenericTypeDetails(this.getScope(), this.isNullable(),
                    this.isInlineDefinition() || alternativeReasonToInline,
                    this.getIgnoredDefinitionProvider());
        }
Combine schema generation details for a generic type.

@param scope targeted scope to create schema for
@param nullable whether the type is allowed to be null in the declaring type in this particular scenario
@param inlineDefinition whether to generate an inline definition without registering it in this context
@param ignoredDefinitionProvider first custom definition provider to ignore
jsonschema-generator/src/main/java/com/github/victools/jsonschema/generator/impl/SchemaGenerationContextImpl.java