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

joinWith() — spring-boot Function Reference

Architecture documentation for the joinWith() function in ContextPairs.java from the spring-boot codebase.

Function java GradlePlugin RunTasks calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  c3f8f9ff_4343_97aa_8041_e0a8e359a39b["joinWith()"]
  d62b48da_3c07_59bc_6af2_e39612bdd3c5["flat()"]
  d62b48da_3c07_59bc_6af2_e39612bdd3c5 -->|calls| c3f8f9ff_4343_97aa_8041_e0a8e359a39b
  deb140ea_5f8f_4b97_e681_0ecb26122f6b["nested()"]
  deb140ea_5f8f_4b97_e681_0ecb26122f6b -->|calls| c3f8f9ff_4343_97aa_8041_e0a8e359a39b
  b3154819_1aa7_956c_ad3c_080696312bf2["toString()"]
  c3f8f9ff_4343_97aa_8041_e0a8e359a39b -->|calls| b3154819_1aa7_956c_ad3c_080696312bf2
  style c3f8f9ff_4343_97aa_8041_e0a8e359a39b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/logging/structured/ContextPairs.java lines 89–99

	private Joiner joinWith(String delimiter) {
		return (prefix, name) -> {
			StringBuilder joined = new StringBuilder(prefix.length() + delimiter.length() + name.length());
			joined.append(prefix);
			if (!prefix.isEmpty() && !prefix.endsWith(delimiter) && !name.startsWith(delimiter)) {
				joined.append(delimiter);
			}
			joined.append(name);
			return joined.toString();
		};
	}

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

What does joinWith() do?
joinWith() is a function in the spring-boot codebase.
What does joinWith() call?
joinWith() calls 1 function(s): toString.
What calls joinWith()?
joinWith() is called by 2 function(s): flat, nested.

Analyze Your Own Codebase

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

Try Supermodel Free