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

deducedBeanTypeForBeanMethod() — spring-boot Function Reference

Architecture documentation for the deducedBeanTypeForBeanMethod() function in OnBeanCondition.java from the spring-boot codebase.

Function java GradlePlugin DslExtensions calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  a56619a6_e6ca_8df9_9c13_7ac3caccccb6["deducedBeanTypeForBeanMethod()"]
  946b2615_9e88_3282_86f9_2063543bf4b9["deducedBeanType()"]
  946b2615_9e88_3282_86f9_2063543bf4b9 -->|calls| a56619a6_e6ca_8df9_9c13_7ac3caccccb6
  c9d2b7fb_c9e5_ae4d_58d1_bf1c8c5bf433["getReturnType()"]
  a56619a6_e6ca_8df9_9c13_7ac3caccccb6 -->|calls| c9d2b7fb_c9e5_ae4d_58d1_bf1c8c5bf433
  6f741cb0_61c7_6580_753d_9040293bd670["BeanTypeDeductionException()"]
  a56619a6_e6ca_8df9_9c13_7ac3caccccb6 -->|calls| 6f741cb0_61c7_6580_753d_9040293bd670
  style a56619a6_e6ca_8df9_9c13_7ac3caccccb6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/OnBeanCondition.java lines 681–688

		private Set<BeanType> deducedBeanTypeForBeanMethod(ConditionContext context, MethodMetadata metadata) {
			try {
				return Set.of(getReturnType(context, metadata));
			}
			catch (Throwable ex) {
				throw new BeanTypeDeductionException(metadata.getDeclaringClassName(), metadata.getMethodName(), ex);
			}
		}

Domain

Subdomains

Calls

Called By

  • deducedBeanType()

Frequently Asked Questions

What does deducedBeanTypeForBeanMethod() do?
deducedBeanTypeForBeanMethod() is a function in the spring-boot codebase.
What does deducedBeanTypeForBeanMethod() call?
deducedBeanTypeForBeanMethod() calls 2 function(s): BeanTypeDeductionException, getReturnType.
What calls deducedBeanTypeForBeanMethod()?
deducedBeanTypeForBeanMethod() is called by 1 function(s): deducedBeanType.

Analyze Your Own Codebase

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

Try Supermodel Free