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

registerHintsWhenHasWellKnownTypes() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  bc9c0463_6c11_6561_96ab_a4b5b93d2485["registerHintsWhenHasWellKnownTypes()"]
  1f1ab86f_6320_aed2_3ca4_203719d9ba15["registerHints()"]
  bc9c0463_6c11_6561_96ab_a4b5b93d2485 -->|calls| 1f1ab86f_6320_aed2_3ca4_203719d9ba15
  1f8e6adf_e431_e24d_79c7_c3d95086b426["javaBeanBinding()"]
  bc9c0463_6c11_6561_96ab_a4b5b93d2485 -->|calls| 1f8e6adf_e431_e24d_79c7_c3d95086b426
  d928a4e8_396e_d08a_20f7_3906e35731d6["methods()"]
  bc9c0463_6c11_6561_96ab_a4b5b93d2485 -->|calls| d928a4e8_396e_d08a_20f7_3906e35731d6
  8877eda3_7439_8480_81c8_9b4176687435["fields()"]
  bc9c0463_6c11_6561_96ab_a4b5b93d2485 -->|calls| 8877eda3_7439_8480_81c8_9b4176687435
  style bc9c0463_6c11_6561_96ab_a4b5b93d2485 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 206–213

	@Test
	void registerHintsWhenHasWellKnownTypes() {
		RuntimeHints runtimeHints = registerHints(WithWellKnownTypes.class);
		assertThat(runtimeHints.reflection().typeHints()).singleElement()
			.satisfies(javaBeanBinding(WithWellKnownTypes.class)
				.methods("getApplicationContext", "setApplicationContext", "getEnvironment", "setEnvironment")
				.fields("applicationContext", "environment"));
	}

Domain

Subdomains

Frequently Asked Questions

What does registerHintsWhenHasWellKnownTypes() do?
registerHintsWhenHasWellKnownTypes() is a function in the spring-boot codebase.
What does registerHintsWhenHasWellKnownTypes() call?
registerHintsWhenHasWellKnownTypes() 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