updateType() — spring-boot Function Reference
Architecture documentation for the updateType() function in ConfigurationPropertyName.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 962ed6a8_546b_2b9a_ef8e_cfa29cbd2dc1["updateType()"] f404fe03_3fa9_69e6_3c8e_fb8d93c586f7["parse()"] f404fe03_3fa9_69e6_3c8e_fb8d93c586f7 -->|calls| 962ed6a8_546b_2b9a_ef8e_cfa29cbd2dc1 50ab77a1_5a37_b789_ed17_ece7194cd0be["isIndexed()"] 962ed6a8_546b_2b9a_ef8e_cfa29cbd2dc1 -->|calls| 50ab77a1_5a37_b789_ed17_ece7194cd0be a632d17d_683d_80da_73bf_81a095edbf22["isNumeric()"] 962ed6a8_546b_2b9a_ef8e_cfa29cbd2dc1 -->|calls| a632d17d_683d_80da_73bf_81a095edbf22 dcfb3b08_7151_ff92_9696_31a44cd44ea4["isValidChar()"] 962ed6a8_546b_2b9a_ef8e_cfa29cbd2dc1 -->|calls| dcfb3b08_7151_ff92_9696_31a44cd44ea4 style 962ed6a8_546b_2b9a_ef8e_cfa29cbd2dc1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/context/properties/source/ConfigurationPropertyName.java lines 1056–1076
private ElementType updateType(ElementType existingType, char ch, int index) {
if (existingType.isIndexed()) {
if (existingType == ElementType.NUMERICALLY_INDEXED && !isNumeric(ch)) {
return ElementType.INDEXED;
}
return existingType;
}
if (existingType == ElementType.EMPTY && isValidChar(ch, index)) {
return (index == 0) ? ElementType.UNIFORM : ElementType.NON_UNIFORM;
}
if (existingType == ElementType.UNIFORM && ch == '-') {
return ElementType.DASHED;
}
if (!isValidChar(ch, index)) {
if (existingType == ElementType.EMPTY && !isValidChar(Character.toLowerCase(ch), index)) {
return ElementType.EMPTY;
}
return ElementType.NON_UNIFORM;
}
return existingType;
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does updateType() do?
updateType() is a function in the spring-boot codebase.
What does updateType() call?
updateType() calls 3 function(s): isIndexed, isNumeric, isValidChar.
What calls updateType()?
updateType() is called by 1 function(s): parse.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free