Home / Function/ registerHints() — spring-boot Function Reference

registerHints() — spring-boot Function Reference

Architecture documentation for the registerHints() function in BindableRuntimeHintsRegistrarTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  1f1ab86f_6320_aed2_3ca4_203719d9ba15["registerHints()"]
  71eacb90_c2fe_1f6f_3575_af4410ba4f48["registerHintsWithIterable()"]
  71eacb90_c2fe_1f6f_3575_af4410ba4f48 -->|calls| 1f1ab86f_6320_aed2_3ca4_203719d9ba15
  f81367e1_a0c2_dd46_5ab8_00e490d7d541["registerHintsWhenNoClasses()"]
  f81367e1_a0c2_dd46_5ab8_00e490d7d541 -->|calls| 1f1ab86f_6320_aed2_3ca4_203719d9ba15
  e23c23d5_cc74_2086_b594_701ccbf50678["registerHintsViaForType()"]
  e23c23d5_cc74_2086_b594_701ccbf50678 -->|calls| 1f1ab86f_6320_aed2_3ca4_203719d9ba15
  e45ae864_0a3a_6e35_4ad5_72c41650b1ee["registerHintsWhenJavaBean()"]
  e45ae864_0a3a_6e35_4ad5_72c41650b1ee -->|calls| 1f1ab86f_6320_aed2_3ca4_203719d9ba15
  c8cfe083_7cc8_e8f8_a804_cc546fbd015a["registerHintsWhenJavaBeanWithSeveralConstructors()"]
  c8cfe083_7cc8_e8f8_a804_cc546fbd015a -->|calls| 1f1ab86f_6320_aed2_3ca4_203719d9ba15
  531cc198_fc17_be2b_971d_08e8751bab9f["registerHintsWhenJavaBeanWithMapOfPojo()"]
  531cc198_fc17_be2b_971d_08e8751bab9f -->|calls| 1f1ab86f_6320_aed2_3ca4_203719d9ba15
  9ab3fa8d_c6e3_692b_0dfc_ea26b8658cb9["registerHintsWhenJavaBeanWithListOfPojo()"]
  9ab3fa8d_c6e3_692b_0dfc_ea26b8658cb9 -->|calls| 1f1ab86f_6320_aed2_3ca4_203719d9ba15
  a8da83b0_f91c_90f4_2e3f_0ede52c49623["registerHintsWhenJavaBeanWitArrayOfPojo()"]
  a8da83b0_f91c_90f4_2e3f_0ede52c49623 -->|calls| 1f1ab86f_6320_aed2_3ca4_203719d9ba15
  2de6a9c6_7489_a587_bfc6_f84fa60d97e0["registerHintsWhenJavaBeanWithListOfJavaType()"]
  2de6a9c6_7489_a587_bfc6_f84fa60d97e0 -->|calls| 1f1ab86f_6320_aed2_3ca4_203719d9ba15
  def3cbc4_26ae_c6ce_4561_94aacc959b1a["registerHintsWhenValueObject()"]
  def3cbc4_26ae_c6ce_4561_94aacc959b1a -->|calls| 1f1ab86f_6320_aed2_3ca4_203719d9ba15
  433fc2aa_bad1_1112_5025_436810df286c["registerHintsWhenValueObjectWithSpecificConstructor()"]
  433fc2aa_bad1_1112_5025_436810df286c -->|calls| 1f1ab86f_6320_aed2_3ca4_203719d9ba15
  85b2b366_55e4_80c8_0a5e_fd443468fe1b["registerHintsWhenValueObjectWithSeveralLayersOfPojo()"]
  85b2b366_55e4_80c8_0a5e_fd443468fe1b -->|calls| 1f1ab86f_6320_aed2_3ca4_203719d9ba15
  83ac0911_3665_b1ad_4513_1c72dadb3d55["registerHintsWhenHasNestedTypeNotUsedIsIgnored()"]
  83ac0911_3665_b1ad_4513_1c72dadb3d55 -->|calls| 1f1ab86f_6320_aed2_3ca4_203719d9ba15
  c01b7cb0_248c_c75e_ecd4_c00ef7c69a61["registerHintsWhenWhenHasNestedExternalType()"]
  c01b7cb0_248c_c75e_ecd4_c00ef7c69a61 -->|calls| 1f1ab86f_6320_aed2_3ca4_203719d9ba15
  style 1f1ab86f_6320_aed2_3ca4_203719d9ba15 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 62–71

	@Test
	void registerHints() {
		RuntimeHints runtimeHints = new RuntimeHints();
		Class<?>[] types = { BoundConfigurationProperties.class, ConfigurationPropertiesBean.class };
		BindableRuntimeHintsRegistrar registrar = new BindableRuntimeHintsRegistrar(types);
		registrar.registerHints(runtimeHints);
		for (Class<?> type : types) {
			assertThat(RuntimeHintsPredicates.reflection().onType(type)).accepts(runtimeHints);
		}
	}

Domain

Subdomains

Called By

Frequently Asked Questions

What does registerHints() do?
registerHints() is a function in the spring-boot codebase.
What calls registerHints()?
registerHints() is called by 25 function(s): registerHintsDoesNotThrowWhenParameterInformationForConstructorBindingIsNotAvailable, registerHintsViaForType, registerHintsWhenHasComplexNestedProperties, registerHintsWhenHasCrossReference, registerHintsWhenHasInheritedNestedProperties, registerHintsWhenHasMultipleNestedClasses, registerHintsWhenHasNestedGenerics, registerHintsWhenHasNestedTypeNotUsedIsIgnored, and 17 more.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free