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

matches() — spring-boot Function Reference

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

Function java GradlePlugin RunTasks calls 2 called by 3

Entity Profile

Dependency Diagram

graph TD
  bc124677_1acd_1168_0404_7fa492219002["matches()"]
  bdcb8ba1_ef9c_5b22_356f_0135b601efb8["matches()"]
  bdcb8ba1_ef9c_5b22_356f_0135b601efb8 -->|calls| bc124677_1acd_1168_0404_7fa492219002
  422a5362_32a7_aec1_d006_778cd03a05b1["matches()"]
  422a5362_32a7_aec1_d006_778cd03a05b1 -->|calls| bc124677_1acd_1168_0404_7fa492219002
  b831dd3b_1cd1_1f03_ffc0_6a5251caeada["matches()"]
  b831dd3b_1cd1_1f03_ffc0_6a5251caeada -->|calls| bc124677_1acd_1168_0404_7fa492219002
  76a256f5_7ddd_4fa8_5d15_a069b2da8eba["getFirstHintWithName()"]
  bc124677_1acd_1168_0404_7fa492219002 -->|calls| 76a256f5_7ddd_4fa8_5d15_a069b2da8eba
  422a5362_32a7_aec1_d006_778cd03a05b1["matches()"]
  bc124677_1acd_1168_0404_7fa492219002 -->|calls| 422a5362_32a7_aec1_d006_778cd03a05b1
  style bc124677_1acd_1168_0404_7fa492219002 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

configuration-metadata/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationprocessor/metadata/Metadata.java lines 263–270

		@Override
		public boolean matches(ConfigurationMetadata metadata) {
			ItemHint itemHint = getFirstHintWithName(metadata, this.name);
			if (itemHint == null) {
				return false;
			}
			return matches(itemHint, this.valueConditions) && matches(itemHint, this.providerConditions);
		}

Domain

Subdomains

Calls

  • getFirstHintWithName()
  • matches()

Called By

  • matches()
  • matches()
  • matches()

Frequently Asked Questions

What does matches() do?
matches() is a function in the spring-boot codebase.
What does matches() call?
matches() calls 2 function(s): getFirstHintWithName, matches.
What calls matches()?
matches() is called by 3 function(s): matches, matches, matches.

Analyze Your Own Codebase

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

Try Supermodel Free