getRootElement() — spring-boot Function Reference
Architecture documentation for the getRootElement() function in RoundEnvironmentTester.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 9beeab0e_d055_0068_1547_cf2f0af8dba5["getRootElement()"] a4f4ab02_42d2_c71a_bb8d_9e7f17bdd640["process()"] a4f4ab02_42d2_c71a_bb8d_9e7f17bdd640 -->|calls| 9beeab0e_d055_0068_1547_cf2f0af8dba5 fd85f441_97fc_d6aa_3d9b_924c3a88b3c9["resolveTypeOnConcreteClass()"] fd85f441_97fc_d6aa_3d9b_924c3a88b3c9 -->|calls| 9beeab0e_d055_0068_1547_cf2f0af8dba5 8a825865_e411_1e4f_906c_a9fb0860e427["resolveTypeOnIntermediateClass()"] 8a825865_e411_1e4f_906c_a9fb0860e427 -->|calls| 9beeab0e_d055_0068_1547_cf2f0af8dba5 26d7537a_2aef_3f50_cc99_f8820ac91190["resolveTypeWithOnlyGenerics()"] 26d7537a_2aef_3f50_cc99_f8820ac91190 -->|calls| 9beeab0e_d055_0068_1547_cf2f0af8dba5 d29a7723_eae0_9b86_827d_ff28774b02fe["resolveTypeWithUnresolvedGenericProperties()"] d29a7723_eae0_9b86_827d_ff28774b02fe -->|calls| 9beeab0e_d055_0068_1547_cf2f0af8dba5 62f95bc4_2bb6_9daa_d438_9c1427a0978e["resolvedTypeMixGenericNamePropertiesProperties()"] 62f95bc4_2bb6_9daa_d438_9c1427a0978e -->|calls| 9beeab0e_d055_0068_1547_cf2f0af8dba5 style 9beeab0e_d055_0068_1547_cf2f0af8dba5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
configuration-metadata/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationprocessor/test/RoundEnvironmentTester.java lines 40–47
public TypeElement getRootElement(Class<?> type) {
return (TypeElement) this.roundEnvironment.getRootElements()
.stream()
.filter((element) -> element.toString().equals(type.getName()))
.findFirst()
.orElseThrow(() -> new IllegalStateException(
"No element found for " + type + " make sure it is included in the list of classes to compile"));
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does getRootElement() do?
getRootElement() is a function in the spring-boot codebase.
What calls getRootElement()?
getRootElement() is called by 6 function(s): process, resolveTypeOnConcreteClass, resolveTypeOnIntermediateClass, resolveTypeWithOnlyGenerics, resolveTypeWithUnresolvedGenericProperties, resolvedTypeMixGenericNamePropertiesProperties.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free