checkDefaultAccessValueMatchesExisting() — spring-boot Function Reference
Architecture documentation for the checkDefaultAccessValueMatchesExisting() function in ConfigurationMetadataAnnotationProcessor.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD fe6f75cd_2e32_1d47_8b8a_9e3f6acc1780["checkDefaultAccessValueMatchesExisting()"] 9a8190ac_43a2_d14a_3556_086a485c05f7["processEndpoint()"] 9a8190ac_43a2_d14a_3556_086a485c05f7 -->|calls| fe6f75cd_2e32_1d47_8b8a_9e3f6acc1780 e679b8c3_1d8d_f2a3_e26c_19ffb5ad64b1["getDefaultValue()"] fe6f75cd_2e32_1d47_8b8a_9e3f6acc1780 -->|calls| e679b8c3_1d8d_f2a3_e26c_19ffb5ad64b1 91772c88_8487_b65b_7842_fb8961e64bd0["getSourceType()"] fe6f75cd_2e32_1d47_8b8a_9e3f6acc1780 -->|calls| 91772c88_8487_b65b_7842_fb8961e64bd0 2f92313c_75ed_baa9_94c7_81e700548c9a["equals()"] fe6f75cd_2e32_1d47_8b8a_9e3f6acc1780 -->|calls| 2f92313c_75ed_baa9_94c7_81e700548c9a e8e90934_397b_b72b_06c2_bff3d0ed5ac5["getName()"] fe6f75cd_2e32_1d47_8b8a_9e3f6acc1780 -->|calls| e8e90934_397b_b72b_06c2_bff3d0ed5ac5 style fe6f75cd_2e32_1d47_8b8a_9e3f6acc1780 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
configuration-metadata/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/ConfigurationMetadataAnnotationProcessor.java lines 356–365
private void checkDefaultAccessValueMatchesExisting(ItemMetadata existing, String defaultAccess,
String sourceType) {
String existingDefaultAccess = (String) existing.getDefaultValue();
if (!Objects.equals(defaultAccess, existingDefaultAccess)) {
throw new IllegalStateException(
"Existing property '%s' from type %s has a conflicting value. Existing value: %s, new value from type %s: %s"
.formatted(existing.getName(), existing.getSourceType(), existingDefaultAccess, sourceType,
defaultAccess));
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does checkDefaultAccessValueMatchesExisting() do?
checkDefaultAccessValueMatchesExisting() is a function in the spring-boot codebase.
What does checkDefaultAccessValueMatchesExisting() call?
checkDefaultAccessValueMatchesExisting() calls 4 function(s): equals, getDefaultValue, getName, getSourceType.
What calls checkDefaultAccessValueMatchesExisting()?
checkDefaultAccessValueMatchesExisting() is called by 1 function(s): processEndpoint.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free