contributionOfBasicModelThatMatchesExistingModel() — spring-boot Function Reference
Architecture documentation for the contributionOfBasicModelThatMatchesExistingModel() function in LogbackConfigurationAotContributionTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD fa142e9e_de13_1337_1940_da7418acee36["contributionOfBasicModelThatMatchesExistingModel()"] 7ee60c15_c662_037a_50c0_f741c27ef6e0["applyContribution()"] fa142e9e_de13_1337_1940_da7418acee36 -->|calls| 7ee60c15_c662_037a_50c0_f741c27ef6e0 482aab9b_a1e4_f098_bd02_d95e2288328e["resource()"] fa142e9e_de13_1337_1940_da7418acee36 -->|calls| 482aab9b_a1e4_f098_bd02_d95e2288328e 6e28ed44_b101_117d_a025_f9d025e1f4fe["namesOf()"] fa142e9e_de13_1337_1940_da7418acee36 -->|calls| 6e28ed44_b101_117d_a025_f9d025e1f4fe e24e2ad8_3e06_59e8_9128_fb1e09cbaca6["load()"] fa142e9e_de13_1337_1940_da7418acee36 -->|calls| e24e2ad8_3e06_59e8_9128_fb1e09cbaca6 style fa142e9e_de13_1337_1940_da7418acee36 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/logging/logback/LogbackConfigurationAotContributionTests.java lines 105–125
@Test
void contributionOfBasicModelThatMatchesExistingModel() {
TestGenerationContext generationContext = new TestGenerationContext();
Model model = new Model();
applyContribution(model, generationContext);
applyContribution(model, generationContext);
InMemoryGeneratedFiles generatedFiles = generationContext.getGeneratedFiles();
assertThat(generatedFiles).has(resource("META-INF/spring/logback-model"));
assertThat(generatedFiles).has(resource("META-INF/spring/logback-pattern-rules"));
SerializationHints serializationHints = generationContext.getRuntimeHints().serialization();
assertThat(serializationHints.javaSerializationHints()
.map(JavaSerializationHint::getType)
.map(TypeReference::getName))
.containsExactlyInAnyOrder(namesOf(Model.class, ArrayList.class, Boolean.class, Integer.class));
assertThat(generationContext.getRuntimeHints().reflection().typeHints()).isEmpty();
InputStreamSource generatedFile = generatedFiles.getGeneratedFile(Kind.RESOURCE,
"META-INF/spring/logback-pattern-rules");
assertThat(generatedFile).isNotNull();
Properties patternRules = load(generatedFile);
assertThat(patternRules).isEmpty();
}
Domain
Subdomains
Calls
- applyContribution()
- load()
- namesOf()
- resource()
Source
Frequently Asked Questions
What does contributionOfBasicModelThatMatchesExistingModel() do?
contributionOfBasicModelThatMatchesExistingModel() is a function in the spring-boot codebase.
What does contributionOfBasicModelThatMatchesExistingModel() call?
contributionOfBasicModelThatMatchesExistingModel() calls 4 function(s): applyContribution, load, namesOf, resource.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free