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

typeFromParentsDefaultClassAnnotatedSetterIsRegisteredForReflection() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

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

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

Domain

Subdomains

Frequently Asked Questions

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