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

getMessage() — spring-boot Function Reference

Architecture documentation for the getMessage() function in MessageSourceAutoConfigurationTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  9f53c0b4_c6ae_7924_890c_af2f3112fe7a["getMessage()"]
  9544e88d_6db2_2fea_7154_bc2102e3b435["testDefaultMessageSource()"]
  9544e88d_6db2_2fea_7154_bc2102e3b435 -->|calls| 9f53c0b4_c6ae_7924_890c_af2f3112fe7a
  d5f6f432_1be1_4cfa_5884_9f7e67636d38["propertiesBundleWithSlashIsDetected()"]
  d5f6f432_1be1_4cfa_5884_9f7e67636d38 -->|calls| 9f53c0b4_c6ae_7924_890c_af2f3112fe7a
  798869a1_6f12_97bf_2ca0_2fb7f91f9595["propertiesBundleWithDotIsDetected()"]
  798869a1_6f12_97bf_2ca0_2fb7f91f9595 -->|calls| 9f53c0b4_c6ae_7924_890c_af2f3112fe7a
  8509ad50_17dd_58dd_fb91_8b84a5c31e74["testEncodingWorks()"]
  8509ad50_17dd_58dd_fb91_8b84a5c31e74 -->|calls| 9f53c0b4_c6ae_7924_890c_af2f3112fe7a
  bb5dccce_683f_b8b8_fae6_c31238eebd5c["testMultipleMessageSourceCreated()"]
  bb5dccce_683f_b8b8_fae6_c31238eebd5c -->|calls| 9f53c0b4_c6ae_7924_890c_af2f3112fe7a
  b5373a46_511f_4214_b903_9986aff1b179["testMessageSourceFromPropertySourceAnnotation()"]
  b5373a46_511f_4214_b903_9986aff1b179 -->|calls| 9f53c0b4_c6ae_7924_890c_af2f3112fe7a
  5f084806_b3f1_7e54_1309_871c4c9c69ca["testCommonMessages()"]
  5f084806_b3f1_7e54_1309_871c4c9c69ca -->|calls| 9f53c0b4_c6ae_7924_890c_af2f3112fe7a
  59f5f5aa_b615_ffaf_d6a7_2d95314914ad["existingMessageSourceIsPreferred()"]
  59f5f5aa_b615_ffaf_d6a7_2d95314914ad -->|calls| 9f53c0b4_c6ae_7924_890c_af2f3112fe7a
  b9060e5d_5547_3b42_45b3_72a838bb1c1d["existingMessageSourceInParentIsIgnored()"]
  b9060e5d_5547_3b42_45b3_72a838bb1c1d -->|calls| 9f53c0b4_c6ae_7924_890c_af2f3112fe7a
  65d35613_a208_7d6f_6da5_f6cd883bf65d["messageSourceWithNonStandardBeanNameIsIgnored()"]
  65d35613_a208_7d6f_6da5_f6cd883bf65d -->|calls| 9f53c0b4_c6ae_7924_890c_af2f3112fe7a
  style 9f53c0b4_c6ae_7924_890c_af2f3112fe7a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/context/MessageSourceAutoConfigurationTests.java lines 271–275

		@Override
		public String getMessage(String code, Object @Nullable [] args, @Nullable String defaultMessage,
				@Nullable Locale locale) {
			return code;
		}

Domain

Subdomains

Called By

  • existingMessageSourceInParentIsIgnored()
  • existingMessageSourceIsPreferred()
  • messageSourceWithNonStandardBeanNameIsIgnored()
  • propertiesBundleWithDotIsDetected()
  • propertiesBundleWithSlashIsDetected()
  • testCommonMessages()
  • testDefaultMessageSource()
  • testEncodingWorks()
  • testMessageSourceFromPropertySourceAnnotation()
  • testMultipleMessageSourceCreated()

Frequently Asked Questions

What does getMessage() do?
getMessage() is a function in the spring-boot codebase.
What calls getMessage()?
getMessage() is called by 10 function(s): existingMessageSourceInParentIsIgnored, existingMessageSourceIsPreferred, messageSourceWithNonStandardBeanNameIsIgnored, propertiesBundleWithDotIsDetected, propertiesBundleWithSlashIsDetected, testCommonMessages, testDefaultMessageSource, testEncodingWorks, and 2 more.

Analyze Your Own Codebase

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

Try Supermodel Free