private <M extends MemberScope<?, ?>> void populateMemberSchema(ObjectNode targetNode, MemberDetails<M> memberDetails,
            ObjectNode collectedMemberAttributes) {
        CustomDefinition customDefinition = this.generatorConfig.getCustomDefinition(memberDetails.getScope(), this,
                memberDetails.getIgnoredDefinitionProvider());
        boolean isInlineCustomDefinition = customDefinition != null && customDefinition.isMeantToBeInline();
        GenericTypeDetails typeDetails = memberDetails.toTypeDetails().withAlternativeReasonToInline(isInlineCustomDefinition);
        if (isInlineCustomDefinition) {
            populateMemberSchemaWithInlineCustomDefinition(targetNode, typeDetails, collectedMemberAttributes, customDefinition);
        } else {
            populateMemberSchemaWithReference(targetNode, typeDetails, collectedMemberAttributes, customDefinition);
        }
    }
Preparation Step: combine the collected attributes and the javaType's definition in the given targetNode.

@param <M> type of target scope, i.e. either a field or method
@param targetNode node in the JSON schema that should represent the associated javaType and include the separately collected attributes
@param memberDetails details for field/method to populate schema for
@param collectedMemberAttributes separately collected attribute for the field/method in their respective declaring type
@see #populateFieldSchema(FieldScope)
jsonschema-generator/src/main/java/com/github/victools/jsonschema/generator/impl/SchemaGenerationContextImpl.java