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

placeholdersInComponentClassAttributeAreReplaced() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

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

	@Test
	void placeholdersInComponentClassAttributeAreReplaced() {
		ComponentModel component = new ComponentModel();
		component.setClassName("${VARIABLE_CLASS_NAME}");
		TestGenerationContext generationContext = applyContribution(component,
				(context) -> context.putProperty("VARIABLE_CLASS_NAME", Outer.class.getName()));
		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 placeholdersInComponentClassAttributeAreReplaced() do?
placeholdersInComponentClassAttributeAreReplaced() is a function in the spring-boot codebase.
What does placeholdersInComponentClassAttributeAreReplaced() call?
placeholdersInComponentClassAttributeAreReplaced() 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