registerHintsWhenHasInheritedNestedProperties() — spring-boot Function Reference
Architecture documentation for the registerHintsWhenHasInheritedNestedProperties() function in BindableRuntimeHintsRegistrarTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 7906cffa_2674_40f4_725b_5c32ca2d8342["registerHintsWhenHasInheritedNestedProperties()"] 1f1ab86f_6320_aed2_3ca4_203719d9ba15["registerHints()"] 7906cffa_2674_40f4_725b_5c32ca2d8342 -->|calls| 1f1ab86f_6320_aed2_3ca4_203719d9ba15 d928a4e8_396e_d08a_20f7_3906e35731d6["methods()"] 7906cffa_2674_40f4_725b_5c32ca2d8342 -->|calls| d928a4e8_396e_d08a_20f7_3906e35731d6 1f8e6adf_e431_e24d_79c7_c3d95086b426["javaBeanBinding()"] 7906cffa_2674_40f4_725b_5c32ca2d8342 -->|calls| 1f8e6adf_e431_e24d_79c7_c3d95086b426 8877eda3_7439_8480_81c8_9b4176687435["fields()"] 7906cffa_2674_40f4_725b_5c32ca2d8342 -->|calls| 8877eda3_7439_8480_81c8_9b4176687435 style 7906cffa_2674_40f4_725b_5c32ca2d8342 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/BindableRuntimeHintsRegistrarTests.java lines 262–275
@Test
void registerHintsWhenHasInheritedNestedProperties() {
RuntimeHints runtimeHints = registerHints(ExtendingProperties.class);
assertThat(runtimeHints.reflection().typeHints()).hasSize(3);
assertThat(runtimeHints.reflection().getTypeHint(BaseProperties.class)).satisfies((entry) -> {
assertThat(entry.getMemberCategories()).isEmpty();
assertThat(entry.methods()).extracting(ExecutableHint::getName)
.containsExactlyInAnyOrder("getInheritedNested", "setInheritedNested");
});
assertThat(runtimeHints.reflection().getTypeHint(ExtendingProperties.class))
.satisfies(javaBeanBinding(ExtendingProperties.class).methods("getBravo", "setBravo").fields("bravo"));
assertThat(runtimeHints.reflection().getTypeHint(InheritedNested.class))
.satisfies(javaBeanBinding(InheritedNested.class).methods("getAlpha", "setAlpha").fields("alpha"));
}
Domain
Subdomains
Source
Frequently Asked Questions
What does registerHintsWhenHasInheritedNestedProperties() do?
registerHintsWhenHasInheritedNestedProperties() is a function in the spring-boot codebase.
What does registerHintsWhenHasInheritedNestedProperties() call?
registerHintsWhenHasInheritedNestedProperties() calls 4 function(s): fields, javaBeanBinding, methods, registerHints.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free