Home / Function/ apply() — spring-boot Function Reference

apply() — spring-boot Function Reference

Architecture documentation for the apply() function in ContextPairsTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  86331d7d_3a71_cc2a_953b_ef67b5edbbb4["apply()"]
  39437f02_0fcf_dab6_76a0_c6462477dd66["flatWhenIncludeFalseDoesNothing()"]
  39437f02_0fcf_dab6_76a0_c6462477dd66 -->|calls| 86331d7d_3a71_cc2a_953b_ef67b5edbbb4
  f89004b3_acef_d929_512b_22e376583e1c["flatIncludesName()"]
  f89004b3_acef_d929_512b_22e376583e1c -->|calls| 86331d7d_3a71_cc2a_953b_ef67b5edbbb4
  afed8028_30f6_0984_058e_a3c4d4d8779a["flatWhenPrefixAppliesPrefix()"]
  afed8028_30f6_0984_058e_a3c4d4d8779a -->|calls| 86331d7d_3a71_cc2a_953b_ef67b5edbbb4
  92713d74_e2f7_3b85_7174_463c5c741a65["flatWhenPrefixEndingWithDelimiterAppliesPrefix()"]
  92713d74_e2f7_3b85_7174_463c5c741a65 -->|calls| 86331d7d_3a71_cc2a_953b_ef67b5edbbb4
  c2c575fd_16b9_5713_9d86_f13ab53a3474["flatWhenPrefixAndNameStartingWithDelimiterAppliesPrefix()"]
  c2c575fd_16b9_5713_9d86_f13ab53a3474 -->|calls| 86331d7d_3a71_cc2a_953b_ef67b5edbbb4
  ca8fa866_399d_e491_076d_ea751cdabdbe["flatWhenJoinerJoins()"]
  ca8fa866_399d_e491_076d_ea751cdabdbe -->|calls| 86331d7d_3a71_cc2a_953b_ef67b5edbbb4
  abd3a533_dc7b_3b97_9e5d_f24c2e657da4["flatWhenJoinerReturnsNullFilters()"]
  abd3a533_dc7b_3b97_9e5d_f24c2e657da4 -->|calls| 86331d7d_3a71_cc2a_953b_ef67b5edbbb4
  561957c9_e37f_bd14_7b84_20fecf69fec5["nestedWhenIncludeFalseDoesNothing()"]
  561957c9_e37f_bd14_7b84_20fecf69fec5 -->|calls| 86331d7d_3a71_cc2a_953b_ef67b5edbbb4
  246251a7_2851_4ca1_77e4_998aec475c71["nestedExpandsNames()"]
  246251a7_2851_4ca1_77e4_998aec475c71 -->|calls| 86331d7d_3a71_cc2a_953b_ef67b5edbbb4
  ee639f84_f863_f755_345a_ad509499ef33["nestedWhenNameEndsWithDelimiterDropsTrailingDelimiter()"]
  ee639f84_f863_f755_345a_ad509499ef33 -->|calls| 86331d7d_3a71_cc2a_953b_ef67b5edbbb4
  66894227_75b1_9b46_fc1e_6413a83538fd["nestedWhenDuplicateInParentThrowsException()"]
  66894227_75b1_9b46_fc1e_6413a83538fd -->|calls| 86331d7d_3a71_cc2a_953b_ef67b5edbbb4
  ed2707cc_ccc3_422c_43fc_0d681bf6dde9["nestedWhenDuplicateInLeafThrowsException()"]
  ed2707cc_ccc3_422c_43fc_0d681bf6dde9 -->|calls| 86331d7d_3a71_cc2a_953b_ef67b5edbbb4
  e50b4dda_bbf5_836e_c0e8_5052832da525["nestedWhenPrefixAppliesPrefix()"]
  e50b4dda_bbf5_836e_c0e8_5052832da525 -->|calls| 86331d7d_3a71_cc2a_953b_ef67b5edbbb4
  style 86331d7d_3a71_cc2a_953b_ef67b5edbbb4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/logging/structured/ContextPairsTests.java lines 179–183

	Map<String, Object> apply(BiConsumer<?, BiConsumer<String, Object>> action) {
		Map<String, Object> result = new LinkedHashMap<>();
		action.accept(null, result::put);
		return result;
	}

Domain

Subdomains

Called By

  • flatIncludesName()
  • flatWhenIncludeFalseDoesNothing()
  • flatWhenJoinerJoins()
  • flatWhenJoinerReturnsNullFilters()
  • flatWhenPrefixAndNameStartingWithDelimiterAppliesPrefix()
  • flatWhenPrefixAppliesPrefix()
  • flatWhenPrefixEndingWithDelimiterAppliesPrefix()
  • nestedExpandsNames()
  • nestedWhenDuplicateInLeafThrowsException()
  • nestedWhenDuplicateInParentThrowsException()
  • nestedWhenIncludeFalseDoesNothing()
  • nestedWhenNameEndsWithDelimiterDropsTrailingDelimiter()
  • nestedWhenPrefixAppliesPrefix()

Frequently Asked Questions

What does apply() do?
apply() is a function in the spring-boot codebase.
What calls apply()?
apply() is called by 13 function(s): flatIncludesName, flatWhenIncludeFalseDoesNothing, flatWhenJoinerJoins, flatWhenJoinerReturnsNullFilters, flatWhenPrefixAndNameStartingWithDelimiterAppliesPrefix, flatWhenPrefixAppliesPrefix, flatWhenPrefixEndingWithDelimiterAppliesPrefix, nestedExpandsNames, and 5 more.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free