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

getContribution() — spring-boot Function Reference

Architecture documentation for the getContribution() function in StructuredLoggingJsonPropertiesBeanFactoryInitializationAotProcessorTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  c0eb9207_d45e_54d8_a12e_418eb360e639["getContribution()"]
  6d41e29a_6cda_90f0_1a12_109603e4ef37["shouldRegisterRuntimeHintsWhenCustomizerIsPresent()"]
  6d41e29a_6cda_90f0_1a12_109603e4ef37 -->|calls| c0eb9207_d45e_54d8_a12e_418eb360e639
  52b5f4f7_3d0b_ca30_d066_3e1e34b113c6["shouldRegisterRuntimeHintsWhenCustomStackTracePrinterIsPresent()"]
  52b5f4f7_3d0b_ca30_d066_3e1e34b113c6 -->|calls| c0eb9207_d45e_54d8_a12e_418eb360e639
  c5a69821_8373_7e7d_3e1a_ce3f9bfeb8eb["shouldNotRegisterRuntimeHintsWhenStackTracePrinterIsNotCustomImplementation()"]
  c5a69821_8373_7e7d_3e1a_ce3f9bfeb8eb -->|calls| c0eb9207_d45e_54d8_a12e_418eb360e639
  ffd5a519_fa30_d366_5b15_b2bf9e303077["shouldNotRegisterRuntimeHintsWhenPropertiesAreNotSet()"]
  ffd5a519_fa30_d366_5b15_b2bf9e303077 -->|calls| c0eb9207_d45e_54d8_a12e_418eb360e639
  4e8c0333_a1cc_4321_1f37_12a63822dfba["shouldNotRegisterRuntimeHintsWhenCustomizerAndPrinterAreNotSet()"]
  4e8c0333_a1cc_4321_1f37_12a63822dfba -->|calls| c0eb9207_d45e_54d8_a12e_418eb360e639
  style c0eb9207_d45e_54d8_a12e_418eb360e639 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/logging/structured/StructuredLoggingJsonPropertiesBeanFactoryInitializationAotProcessorTests.java lines 113–120

	private @Nullable BeanFactoryInitializationAotContribution getContribution(ConfigurableEnvironment environment) {
		try (AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext()) {
			context.setEnvironment(environment);
			context.refresh();
			return new StructuredLoggingJsonPropertiesBeanFactoryInitializationAotProcessor()
				.processAheadOfTime(context.getBeanFactory());
		}
	}

Domain

Subdomains

Called By

  • shouldNotRegisterRuntimeHintsWhenCustomizerAndPrinterAreNotSet()
  • shouldNotRegisterRuntimeHintsWhenPropertiesAreNotSet()
  • shouldNotRegisterRuntimeHintsWhenStackTracePrinterIsNotCustomImplementation()
  • shouldRegisterRuntimeHintsWhenCustomStackTracePrinterIsPresent()
  • shouldRegisterRuntimeHintsWhenCustomizerIsPresent()

Frequently Asked Questions

What does getContribution() do?
getContribution() is a function in the spring-boot codebase.
What calls getContribution()?
getContribution() is called by 5 function(s): shouldNotRegisterRuntimeHintsWhenCustomizerAndPrinterAreNotSet, shouldNotRegisterRuntimeHintsWhenPropertiesAreNotSet, shouldNotRegisterRuntimeHintsWhenStackTracePrinterIsNotCustomImplementation, shouldRegisterRuntimeHintsWhenCustomStackTracePrinterIsPresent, shouldRegisterRuntimeHintsWhenCustomizerIsPresent.

Analyze Your Own Codebase

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

Try Supermodel Free