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

toCall() — spring-boot Function Reference

Architecture documentation for the toCall() function in PropertyMapper.java from the spring-boot codebase.

Function java GradlePlugin DslExtensions calls 3 called by 2

Entity Profile

Dependency Diagram

graph TD
  98991fff_3f21_524f_aec4_839a560a2d02["toCall()"]
  b127b9ca_c0a4_aac5_405a_bf1a4ec1c2cc["toCall()"]
  b127b9ca_c0a4_aac5_405a_bf1a4ec1c2cc -->|calls| 98991fff_3f21_524f_aec4_839a560a2d02
  c449e9e7_42e9_d97b_52f3_7b353eb3298b["toHttpCacheControl()"]
  c449e9e7_42e9_d97b_52f3_7b353eb3298b -->|calls| 98991fff_3f21_524f_aec4_839a560a2d02
  b127b9ca_c0a4_aac5_405a_bf1a4ec1c2cc["toCall()"]
  98991fff_3f21_524f_aec4_839a560a2d02 -->|calls| b127b9ca_c0a4_aac5_405a_bf1a4ec1c2cc
  a6faea1a_9d34_a12e_9f51_f874bb73fc4f["getValue()"]
  98991fff_3f21_524f_aec4_839a560a2d02 -->|calls| a6faea1a_9d34_a12e_9f51_f874bb73fc4f
  f67b38c7_8777_f860_52fa_fcd5009a2413["test()"]
  98991fff_3f21_524f_aec4_839a560a2d02 -->|calls| f67b38c7_8777_f860_52fa_fcd5009a2413
  style 98991fff_3f21_524f_aec4_839a560a2d02 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/context/properties/PropertyMapper.java lines 338–344

		public void toCall(Runnable runnable) {
			Assert.notNull(runnable, "'runnable' must not be null");
			T value = getValue();
			if (value != null && test(value)) {
				runnable.run();
			}
		}

Domain

Subdomains

Frequently Asked Questions

What does toCall() do?
toCall() is a function in the spring-boot codebase.
What does toCall() call?
toCall() calls 3 function(s): getValue, test, toCall.
What calls toCall()?
toCall() is called by 2 function(s): toCall, toHttpCacheControl.

Analyze Your Own Codebase

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

Try Supermodel Free