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

typeFromParentsSetterIsRegisteredForReflection() — spring-boot Function Reference

Architecture documentation for the typeFromParentsSetterIsRegisteredForReflection() function in LogbackConfigurationAotContributionTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  fa601120_63ae_8d15_52a2_0c1298380c7f["typeFromParentsSetterIsRegisteredForReflection()"]
  7ee60c15_c662_037a_50c0_f741c27ef6e0["applyContribution()"]
  fa601120_63ae_8d15_52a2_0c1298380c7f -->|calls| 7ee60c15_c662_037a_50c0_f741c27ef6e0
  3f3e5b42_e3a3_2f34_3837_81a3374be555["invokePublicConstructorsAndInspectAndInvokePublicMethodsOf()"]
  fa601120_63ae_8d15_52a2_0c1298380c7f -->|calls| 3f3e5b42_e3a3_2f34_3837_81a3374be555
  f2c0ff83_dcab_1d2f_7544_bb02a37aaf9c["hasValidTypeName()"]
  fa601120_63ae_8d15_52a2_0c1298380c7f -->|calls| f2c0ff83_dcab_1d2f_7544_bb02a37aaf9c
  style fa601120_63ae_8d15_52a2_0c1298380c7f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/logging/logback/LogbackConfigurationAotContributionTests.java lines 208–222

	@Test
	void typeFromParentsSetterIsRegisteredForReflection() {
		ImplicitModel implementation = new ImplicitModel();
		implementation.setTag("implementation");
		ComponentModel component = new ComponentModel();
		component.setClassName(Outer.class.getName());
		component.getSubModels().add(implementation);
		TestGenerationContext generationContext = applyContribution(component);
		RuntimeHints runtimeHints = generationContext.getRuntimeHints();
		assertThat(invokePublicConstructorsAndInspectAndInvokePublicMethodsOf(Outer.class)).accepts(runtimeHints);
		assertThat(invokePublicConstructorsAndInspectAndInvokePublicMethodsOf(Implementation.class))
			.accepts(runtimeHints);
		assertThat(runtimeHints).satisfies(hasValidTypeName(Outer.class));
		assertThat(runtimeHints).satisfies(hasValidTypeName(Implementation.class));
	}

Domain

Subdomains

Frequently Asked Questions

What does typeFromParentsSetterIsRegisteredForReflection() do?
typeFromParentsSetterIsRegisteredForReflection() is a function in the spring-boot codebase.
What does typeFromParentsSetterIsRegisteredForReflection() call?
typeFromParentsSetterIsRegisteredForReflection() calls 3 function(s): applyContribution, hasValidTypeName, invokePublicConstructorsAndInspectAndInvokePublicMethodsOf.

Analyze Your Own Codebase

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

Try Supermodel Free