resolveName() — spring-boot Function Reference
Architecture documentation for the resolveName() function in RawConfigurationMetadata.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD f723a3f2_7b5c_8ebc_e8f5_1511c3d409f2["resolveName()"] ed83c293_9052_ffeb_500c_6c4a021d1484["RawConfigurationMetadata()"] ed83c293_9052_ffeb_500c_6c4a021d1484 -->|calls| f723a3f2_7b5c_8ebc_e8f5_1511c3d409f2 d19fff35_c0c8_e39c_ab10_3923945bae1d["getSource()"] f723a3f2_7b5c_8ebc_e8f5_1511c3d409f2 -->|calls| d19fff35_c0c8_e39c_ab10_3923945bae1d 17c32354_a0ac_ff4f_1dce_94b9f808a9ff["hasLength()"] f723a3f2_7b5c_8ebc_e8f5_1511c3d409f2 -->|calls| 17c32354_a0ac_ff4f_1dce_94b9f808a9ff style f723a3f2_7b5c_8ebc_e8f5_1511c3d409f2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
configuration-metadata/spring-boot-configuration-metadata/src/main/java/org/springframework/boot/configurationmetadata/RawConfigurationMetadata.java lines 74–86
private void resolveName(ConfigurationMetadataItem item) {
item.setName(item.getId()); // fallback
ConfigurationMetadataSource source = getSource(item);
if (source != null) {
String groupId = source.getGroupId();
String dottedPrefix = groupId + ".";
String id = item.getId();
if (hasLength(groupId) && id.startsWith(dottedPrefix)) {
String name = id.substring(dottedPrefix.length());
item.setName(name);
}
}
}
Domain
Subdomains
Calls
- getSource()
- hasLength()
Called By
- RawConfigurationMetadata()
Source
Frequently Asked Questions
What does resolveName() do?
resolveName() is a function in the spring-boot codebase.
What does resolveName() call?
resolveName() calls 2 function(s): getSource, hasLength.
What calls resolveName()?
resolveName() is called by 1 function(s): RawConfigurationMetadata.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free