customizeWhenHasCustomizersCustomizesMember() — spring-boot Function Reference
Architecture documentation for the customizeWhenHasCustomizersCustomizesMember() function in StructuredLoggingJsonPropertiesJsonMembersCustomizerTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 7787d990_c9a2_a7a1_0e95_93730db55717["customizeWhenHasCustomizersCustomizesMember()"] 8d2e260f_3473_3c2d_6a1d_748672b3fc49["instantiateType()"] 7787d990_c9a2_a7a1_0e95_93730db55717 -->|calls| 8d2e260f_3473_3c2d_6a1d_748672b3fc49 f0a3468d_8e1b_3130_546a_643ede53eb39["of()"] 7787d990_c9a2_a7a1_0e95_93730db55717 -->|calls| f0a3468d_8e1b_3130_546a_643ede53eb39 b20cbff4_7cfe_0d0f_56ba_b96c242332b9["writeSampleJson()"] 7787d990_c9a2_a7a1_0e95_93730db55717 -->|calls| b20cbff4_7cfe_0d0f_56ba_b96c242332b9 style 7787d990_c9a2_a7a1_0e95_93730db55717 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/logging/structured/StructuredLoggingJsonPropertiesJsonMembersCustomizerTests.java lines 123–134
@Test
@SuppressWarnings("unchecked")
void customizeWhenHasCustomizersCustomizesMember() {
given(this.instantiator.instantiateType(FooCustomizer.class)).willReturn(new FooCustomizer());
given(this.instantiator.instantiateType(BarCustomizer.class)).willReturn(new BarCustomizer());
StructuredLoggingJsonProperties properties = new StructuredLoggingJsonProperties(Collections.emptySet(),
Collections.emptySet(), Collections.emptyMap(), Collections.emptyMap(), null, null,
Set.of(FooCustomizer.class, BarCustomizer.class));
StructuredLoggingJsonPropertiesJsonMembersCustomizer customizer = new StructuredLoggingJsonPropertiesJsonMembersCustomizer(
this.instantiator, properties, false);
assertThat(writeSampleJson(customizer)).contains("\"foo\":\"foo\"").contains("\"bar\":\"bar\"");
}
Domain
Subdomains
Source
Frequently Asked Questions
What does customizeWhenHasCustomizersCustomizesMember() do?
customizeWhenHasCustomizersCustomizesMember() is a function in the spring-boot codebase.
What does customizeWhenHasCustomizersCustomizesMember() call?
customizeWhenHasCustomizersCustomizesMember() calls 3 function(s): instantiateType, of, writeSampleJson.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free