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

createOnMissingBeanNoMatchReason() — spring-boot Function Reference

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

Function java GradlePlugin RunTasks calls 5 called by 1

Entity Profile

Dependency Diagram

graph TD
  be633982_4850_c8c6_6c4a_95c5b8323596["createOnMissingBeanNoMatchReason()"]
  0728734f_676c_32d6_80e4_1a420d5d6239["evaluateConditionalOnMissingBean()"]
  0728734f_676c_32d6_80e4_1a420d5d6239 -->|calls| be633982_4850_c8c6_6c4a_95c5b8323596
  ee2f21ff_df23_0789_bd44_78fdbc7d97c5["appendMessageForMatches()"]
  be633982_4850_c8c6_6c4a_95c5b8323596 -->|calls| ee2f21ff_df23_0789_bd44_78fdbc7d97c5
  dd786ef5_7dd4_df7e_7189_cf58ece5a8e3["getMatchedAnnotations()"]
  be633982_4850_c8c6_6c4a_95c5b8323596 -->|calls| dd786ef5_7dd4_df7e_7189_cf58ece5a8e3
  a0f28a4c_7b80_2792_40d7_4afe267b55f0["getMatchedTypes()"]
  be633982_4850_c8c6_6c4a_95c5b8323596 -->|calls| a0f28a4c_7b80_2792_40d7_4afe267b55f0
  83ab3609_e841_4a41_5626_e36cadcb74a8["getMatchedNames()"]
  be633982_4850_c8c6_6c4a_95c5b8323596 -->|calls| 83ab3609_e841_4a41_5626_e36cadcb74a8
  343c5071_b124_9233_e382_ad11feb5b46d["toString()"]
  be633982_4850_c8c6_6c4a_95c5b8323596 -->|calls| 343c5071_b124_9233_e382_ad11feb5b46d
  style be633982_4850_c8c6_6c4a_95c5b8323596 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 436–448

	private String createOnMissingBeanNoMatchReason(MatchResult matchResult) {
		StringBuilder reason = new StringBuilder();
		appendMessageForMatches(reason, matchResult.getMatchedAnnotations(), "annotated with");
		appendMessageForMatches(reason, matchResult.getMatchedTypes(), "of type");
		if (!matchResult.getMatchedNames().isEmpty()) {
			if (!reason.isEmpty()) {
				reason.append(" and ");
			}
			reason.append("found beans named ");
			reason.append(StringUtils.collectionToDelimitedString(matchResult.getMatchedNames(), ", "));
		}
		return reason.toString();
	}

Domain

Subdomains

Calls

  • appendMessageForMatches()
  • getMatchedAnnotations()
  • getMatchedNames()
  • getMatchedTypes()
  • toString()

Frequently Asked Questions

What does createOnMissingBeanNoMatchReason() do?
createOnMissingBeanNoMatchReason() is a function in the spring-boot codebase.
What does createOnMissingBeanNoMatchReason() call?
createOnMissingBeanNoMatchReason() calls 5 function(s): appendMessageForMatches, getMatchedAnnotations, getMatchedNames, getMatchedTypes, toString.
What calls createOnMissingBeanNoMatchReason()?
createOnMissingBeanNoMatchReason() is called by 1 function(s): evaluateConditionalOnMissingBean.

Analyze Your Own Codebase

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

Try Supermodel Free