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

invoke() — spring-boot Function Reference

Architecture documentation for the invoke() function in LambdaSafe.java from the spring-boot codebase.

Function java GradlePlugin AotProcessing calls 6 called by 6

Entity Profile

Dependency Diagram

graph TD
  6b1fbf73_794e_e397_2acb_d68589fb2738["invoke()"]
  10baf4e5_6789_b2a0_08f6_a7339e9aa6a2["invoke()"]
  10baf4e5_6789_b2a0_08f6_a7339e9aa6a2 -->|calls| 6b1fbf73_794e_e397_2acb_d68589fb2738
  fa4d5d4f_bf25_2bdc_e99f_c2bc00c0d621["invoke()"]
  fa4d5d4f_bf25_2bdc_e99f_c2bc00c0d621 -->|calls| 6b1fbf73_794e_e397_2acb_d68589fb2738
  998a8635_3d5e_a8f7_7e99_2d49b3508af4["customizeWith()"]
  998a8635_3d5e_a8f7_7e99_2d49b3508af4 -->|calls| 6b1fbf73_794e_e397_2acb_d68589fb2738
  cd417328_f7f4_294e_549b_844350124954["invokeCustomizers()"]
  cd417328_f7f4_294e_549b_844350124954 -->|calls| 6b1fbf73_794e_e397_2acb_d68589fb2738
  00d48a57_76a3_9def_23de_d039e57ef7d9["invokeAnd()"]
  00d48a57_76a3_9def_23de_d039e57ef7d9 -->|calls| 6b1fbf73_794e_e397_2acb_d68589fb2738
  21e6df83_d8b5_7531_42fd_bf65c6d2b573["invokeAnd()"]
  21e6df83_d8b5_7531_42fd_bf65c6d2b573 -->|calls| 6b1fbf73_794e_e397_2acb_d68589fb2738
  4bb4767a_8505_7730_d966_8d927f4d289f["of()"]
  6b1fbf73_794e_e397_2acb_d68589fb2738 -->|calls| 4bb4767a_8505_7730_d966_8d927f4d289f
  8903263a_59a3_6190_e813_94411ed0d1d6["get()"]
  6b1fbf73_794e_e397_2acb_d68589fb2738 -->|calls| 8903263a_59a3_6190_e813_94411ed0d1d6
  f9c2592d_1157_605f_63e7_a8ea13daa170["isLambdaGenericProblem()"]
  6b1fbf73_794e_e397_2acb_d68589fb2738 -->|calls| f9c2592d_1157_605f_63e7_a8ea13daa170
  4cd778a6_caaf_534a_f1c3_2e78b134c414["logNonMatchingType()"]
  6b1fbf73_794e_e397_2acb_d68589fb2738 -->|calls| 4cd778a6_caaf_534a_f1c3_2e78b134c414
  6c53ccae_08ed_a6db_f4bf_5182c35bf73b["noResult()"]
  6b1fbf73_794e_e397_2acb_d68589fb2738 -->|calls| 6c53ccae_08ed_a6db_f4bf_5182c35bf73b
  10baf4e5_6789_b2a0_08f6_a7339e9aa6a2["invoke()"]
  6b1fbf73_794e_e397_2acb_d68589fb2738 -->|calls| 10baf4e5_6789_b2a0_08f6_a7339e9aa6a2
  style 6b1fbf73_794e_e397_2acb_d68589fb2738 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/util/LambdaSafe.java lines 158–171

		protected final <R> InvocationResult<R> invoke(C callbackInstance, Supplier<@Nullable R> supplier) {
			if (this.filter.match(this.callbackType, callbackInstance, this.argument, this.additionalArguments)) {
				try {
					return InvocationResult.of(supplier.get());
				}
				catch (ClassCastException ex) {
					if (!isLambdaGenericProblem(ex)) {
						throw ex;
					}
					logNonMatchingType(callbackInstance, ex);
				}
			}
			return InvocationResult.noResult();
		}

Domain

Subdomains

Calls

  • get()
  • invoke()
  • isLambdaGenericProblem()
  • logNonMatchingType()
  • noResult()
  • of()

Frequently Asked Questions

What does invoke() do?
invoke() is a function in the spring-boot codebase.
What does invoke() call?
invoke() calls 6 function(s): get, invoke, isLambdaGenericProblem, logNonMatchingType, noResult, of.
What calls invoke()?
invoke() is called by 6 function(s): customizeWith, invoke, invoke, invokeAnd, invokeAnd, invokeCustomizers.

Analyze Your Own Codebase

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

Try Supermodel Free