SchemaGenerationContextImpl markDefinitionAsNeverInlinedIfRequired(CustomDefinition customDefinition, ResolvedType javaType,
            CustomDefinitionProviderV2 ignoredDefinitionProvider) {
        if (customDefinition.shouldAlwaysProduceDefinition()) {
            this.neverInlinedDefinitions.add(new DefinitionKey(javaType, ignoredDefinitionProvider));
        }
        return this;
    }
Based on the given custom definition for the given type, potentially mark it as never to be inlined, i.e., that it should always be included in
the {@link SchemaKeyword#TAG_DEFINITIONS}.

@param customDefinition custom definition to potentially mark as never to be inlined
@param javaType type to which the definition belongs
@param ignoredDefinitionProvider first custom definition provider that was ignored when creating the definition (is null in most cases)
@return this context (for chaining)

@since 4.27.0
jsonschema-generator/src/main/java/com/github/victools/jsonschema/generator/impl/SchemaGenerationContextImpl.java