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

matches() — spring-boot Function Reference

Architecture documentation for the matches() function in AutoConfigurationImportedCondition.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  5a41398b_8a82_1d8c_aa7b_3b1b67c440f1["matches()"]
  2a1805e1_ab91_29b1_f601_c774cd568643["matches()"]
  5a41398b_8a82_1d8c_aa7b_3b1b67c440f1 -->|calls| 2a1805e1_ab91_29b1_f601_c774cd568643
  41cc5476_ef6c_3893_5cc9_4496aad72e52["get()"]
  5a41398b_8a82_1d8c_aa7b_3b1b67c440f1 -->|calls| 41cc5476_ef6c_3893_5cc9_4496aad72e52
  74dd21e3_f492_10a8_ed0e_b35e84460d51["getConditionAndOutcomesBySource()"]
  5a41398b_8a82_1d8c_aa7b_3b1b67c440f1 -->|calls| 74dd21e3_f492_10a8_ed0e_b35e84460d51
  7eb148c0_494a_65be_5024_db5dbed4785e["getUnconditionalClasses()"]
  5a41398b_8a82_1d8c_aa7b_3b1b67c440f1 -->|calls| 7eb148c0_494a_65be_5024_db5dbed4785e
  style 5a41398b_8a82_1d8c_aa7b_3b1b67c440f1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot-autoconfigure/src/testFixtures/java/org/springframework/boot/autoconfigure/AutoConfigurationImportedCondition.java lines 40–46

	@Override
	public boolean matches(ApplicationContext context) {
		ConditionEvaluationReport report = ConditionEvaluationReport
			.get((ConfigurableListableBeanFactory) context.getAutowireCapableBeanFactory());
		return report.getConditionAndOutcomesBySource().containsKey(this.autoConfigurationClass.getName())
				|| report.getUnconditionalClasses().contains(this.autoConfigurationClass.getName());
	}

Domain

Subdomains

Calls

Frequently Asked Questions

What does matches() do?
matches() is a function in the spring-boot codebase.
What does matches() call?
matches() calls 4 function(s): get, getConditionAndOutcomesBySource, getUnconditionalClasses, matches.

Analyze Your Own Codebase

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

Try Supermodel Free