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 1

Entity Profile

Dependency Diagram

graph TD
  b127b9ca_c0a4_aac5_405a_bf1a4ec1c2cc["toCall()"]
  98991fff_3f21_524f_aec4_839a560a2d02["toCall()"]
  98991fff_3f21_524f_aec4_839a560a2d02 -->|calls| b127b9ca_c0a4_aac5_405a_bf1a4ec1c2cc
  98991fff_3f21_524f_aec4_839a560a2d02["toCall()"]
  b127b9ca_c0a4_aac5_405a_bf1a4ec1c2cc -->|calls| 98991fff_3f21_524f_aec4_839a560a2d02
  102bb956_97ad_f89b_f753_8989dd091d8a["getValue()"]
  b127b9ca_c0a4_aac5_405a_bf1a4ec1c2cc -->|calls| 102bb956_97ad_f89b_f753_8989dd091d8a
  5c3d9b34_8b16_fadc_332f_cce8d261cf3d["test()"]
  b127b9ca_c0a4_aac5_405a_bf1a4ec1c2cc -->|calls| 5c3d9b34_8b16_fadc_332f_cce8d261cf3d
  style b127b9ca_c0a4_aac5_405a_bf1a4ec1c2cc fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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

			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

Called By

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 1 function(s): toCall.

Analyze Your Own Codebase

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

Try Supermodel Free