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

equals() — spring-boot Function Reference

Architecture documentation for the equals() function in Bindable.java from the spring-boot codebase.

Function java GradlePlugin RunTasks calls 2 called by 3

Entity Profile

Dependency Diagram

graph TD
  7ee00b4c_a49d_e50c_65fb_f4a0a80ac5e3["equals()"]
  1197e667_22c3_d642_9f1d_8226b92976b2["findMainClass()"]
  1197e667_22c3_d642_9f1d_8226b92976b2 -->|calls| 7ee00b4c_a49d_e50c_65fb_f4a0a80ac5e3
  64b7d2f3_7d95_459e_bd6c_8da90c487d70["isMainThread()"]
  64b7d2f3_7d95_459e_bd6c_8da90c487d70 -->|calls| 7ee00b4c_a49d_e50c_65fb_f4a0a80ac5e3
  ebbeee22_9e94_47a0_ffca_817aecbf9c04["hasType()"]
  ebbeee22_9e94_47a0_ffca_817aecbf9c04 -->|calls| 7ee00b4c_a49d_e50c_65fb_f4a0a80ac5e3
  916c243f_a51b_da7a_f1d6_96936f589b78["equals()"]
  7ee00b4c_a49d_e50c_65fb_f4a0a80ac5e3 -->|calls| 916c243f_a51b_da7a_f1d6_96936f589b78
  7c815938_1300_656d_3578_a3a40d16a945["nullSafeEquals()"]
  7ee00b4c_a49d_e50c_65fb_f4a0a80ac5e3 -->|calls| 7c815938_1300_656d_3578_a3a40d16a945
  style 7ee00b4c_a49d_e50c_65fb_f4a0a80ac5e3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/Bindable.java lines 142–157

	@Override
	public boolean equals(Object obj) {
		if (this == obj) {
			return true;
		}
		if (obj == null || getClass() != obj.getClass()) {
			return false;
		}
		Bindable<?> other = (Bindable<?>) obj;
		boolean result = true;
		result = result && nullSafeEquals(this.type.resolve(), other.type.resolve());
		result = result && nullSafeEquals(this.annotations, other.annotations);
		result = result && nullSafeEquals(this.bindRestrictions, other.bindRestrictions);
		result = result && nullSafeEquals(this.bindMethod, other.bindMethod);
		return result;
	}

Domain

Subdomains

Called By

Frequently Asked Questions

What does equals() do?
equals() is a function in the spring-boot codebase.
What does equals() call?
equals() calls 2 function(s): equals, nullSafeEquals.
What calls equals()?
equals() is called by 3 function(s): findMainClass, hasType, isMainThread.

Analyze Your Own Codebase

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

Try Supermodel Free