componentModelReferencingImportedClassNameIsRegisteredForReflection() — spring-boot Function Reference
Architecture documentation for the componentModelReferencingImportedClassNameIsRegisteredForReflection() function in LogbackConfigurationAotContributionTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD f4aed38b_7ba0_0fc2_158c_e7a43d3ff128["componentModelReferencingImportedClassNameIsRegisteredForReflection()"] 7ee60c15_c662_037a_50c0_f741c27ef6e0["applyContribution()"] f4aed38b_7ba0_0fc2_158c_e7a43d3ff128 -->|calls| 7ee60c15_c662_037a_50c0_f741c27ef6e0 3f3e5b42_e3a3_2f34_3837_81a3374be555["invokePublicConstructorsAndInspectAndInvokePublicMethodsOf()"] f4aed38b_7ba0_0fc2_158c_e7a43d3ff128 -->|calls| 3f3e5b42_e3a3_2f34_3837_81a3374be555 f2c0ff83_dcab_1d2f_7544_bb02a37aaf9c["hasValidTypeName()"] f4aed38b_7ba0_0fc2_158c_e7a43d3ff128 -->|calls| f2c0ff83_dcab_1d2f_7544_bb02a37aaf9c style f4aed38b_7ba0_0fc2_158c_e7a43d3ff128 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/logging/logback/LogbackConfigurationAotContributionTests.java lines 193–206
@Test
void componentModelReferencingImportedClassNameIsRegisteredForReflection() {
ImportModel importModel = new ImportModel();
importModel.setClassName(SizeAndTimeBasedRollingPolicy.class.getName());
ComponentModel component = new ComponentModel();
component.setClassName(SizeAndTimeBasedRollingPolicy.class.getSimpleName());
Model model = new Model();
model.getSubModels().addAll(List.of(importModel, component));
TestGenerationContext generationContext = applyContribution(model);
assertThat(invokePublicConstructorsAndInspectAndInvokePublicMethodsOf(SizeAndTimeBasedRollingPolicy.class))
.accepts(generationContext.getRuntimeHints());
assertThat(generationContext.getRuntimeHints())
.satisfies(hasValidTypeName(SizeAndTimeBasedRollingPolicy.class));
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does componentModelReferencingImportedClassNameIsRegisteredForReflection() do?
componentModelReferencingImportedClassNameIsRegisteredForReflection() is a function in the spring-boot codebase.
What does componentModelReferencingImportedClassNameIsRegisteredForReflection() call?
componentModelReferencingImportedClassNameIsRegisteredForReflection() 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