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

buildName() — spring-boot Function Reference

Architecture documentation for the buildName() function in ItemMetadata.java from the spring-boot codebase.

Function java GradlePlugin DslExtensions calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  7844338c_85fa_e0fd_b1f6_1e674c27610b["buildName()"]
  ac671bed_a6f8_bb14_f025_a69cbde44f37["ItemMetadata()"]
  ac671bed_a6f8_bb14_f025_a69cbde44f37 -->|calls| 7844338c_85fa_e0fd_b1f6_1e674c27610b
  3ed4d996_8b28_bc25_338f_de92815454ed["toDashedCase()"]
  7844338c_85fa_e0fd_b1f6_1e674c27610b -->|calls| 3ed4d996_8b28_bc25_338f_de92815454ed
  021658a0_be41_187a_2e68_cb537182e621["toString()"]
  7844338c_85fa_e0fd_b1f6_1e674c27610b -->|calls| 021658a0_be41_187a_2e68_cb537182e621
  style 7844338c_85fa_e0fd_b1f6_1e674c27610b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

configuration-metadata/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/metadata/ItemMetadata.java lines 61–76

	private String buildName(String prefix, String name) {
		StringBuilder fullName = new StringBuilder();
		if (prefix != null) {
			if (prefix.endsWith(".")) {
				prefix = prefix.substring(0, prefix.length() - 1);
			}
			fullName.append(prefix);
		}
		if (name != null) {
			if (!fullName.isEmpty()) {
				fullName.append('.');
			}
			fullName.append(ConventionUtils.toDashedCase(name));
		}
		return fullName.toString();
	}

Domain

Subdomains

Called By

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free