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

nestedPrefix() — spring-boot Function Reference

Architecture documentation for the nestedPrefix() function in ConfigurationMetadata.java from the spring-boot codebase.

Function java GradlePlugin RunTasks calls 1 called by 3

Entity Profile

Dependency Diagram

graph TD
  9f7c8c2c_9eec_7063_dab6_820716cccd7c["nestedPrefix()"]
  552af9d6_b7df_7476_52d7_3509b09285c3["processTypeElement()"]
  552af9d6_b7df_7476_52d7_3509b09285c3 -->|calls| 9f7c8c2c_9eec_7063_dab6_820716cccd7c
  5a22f795_7cff_419f_1137_b3a02350b6ed["processSourceElement()"]
  5a22f795_7cff_419f_1137_b3a02350b6ed -->|calls| 9f7c8c2c_9eec_7063_dab6_820716cccd7c
  89d9aff8_32a6_5d3c_6b92_94a90d87d96b["resolveItemMetadataGroup()"]
  89d9aff8_32a6_5d3c_6b92_94a90d87d96b -->|calls| 9f7c8c2c_9eec_7063_dab6_820716cccd7c
  3ed4d996_8b28_bc25_338f_de92815454ed["toDashedCase()"]
  9f7c8c2c_9eec_7063_dab6_820716cccd7c -->|calls| 3ed4d996_8b28_bc25_338f_de92815454ed
  style 9f7c8c2c_9eec_7063_dab6_820716cccd7c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

configuration-metadata/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/metadata/ConfigurationMetadata.java lines 219–224

	public static String nestedPrefix(String prefix, String name) {
		String nestedPrefix = (prefix != null) ? prefix : "";
		String dashedName = ConventionUtils.toDashedCase(name);
		nestedPrefix += nestedPrefix.isEmpty() ? dashedName : "." + dashedName;
		return nestedPrefix;
	}

Domain

Subdomains

Frequently Asked Questions

What does nestedPrefix() do?
nestedPrefix() is a function in the spring-boot codebase.
What does nestedPrefix() call?
nestedPrefix() calls 1 function(s): toDashedCase.
What calls nestedPrefix()?
nestedPrefix() is called by 3 function(s): processSourceElement, processTypeElement, resolveItemMetadataGroup.

Analyze Your Own Codebase

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

Try Supermodel Free