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

isForError() — spring-boot Function Reference

Architecture documentation for the isForError() function in ValidationErrors.java from the spring-boot codebase.

Function java GradlePlugin DslExtensions calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  40ce7e96_de87_4ff4_e5a3_a9476248d61c["isForError()"]
  f565aa7a_a33b_00c7_b483_917cd045c554["findFieldErrorOrigin()"]
  f565aa7a_a33b_00c7_b483_917cd045c554 -->|calls| 40ce7e96_de87_4ff4_e5a3_a9476248d61c
  1c6ead0f_9d06_7422_7ad9_0a308715cb0d["isParentOf()"]
  40ce7e96_de87_4ff4_e5a3_a9476248d61c -->|calls| 1c6ead0f_9d06_7422_7ad9_0a308715cb0d
  54e7db73_1a39_58a7_c600_770bf6d1f562["getLastElement()"]
  40ce7e96_de87_4ff4_e5a3_a9476248d61c -->|calls| 54e7db73_1a39_58a7_c600_770bf6d1f562
  style 40ce7e96_de87_4ff4_e5a3_a9476248d61c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/validation/ValidationErrors.java lines 97–101

	private boolean isForError(ConfigurationPropertyName name, ConfigurationPropertyName boundPropertyName,
			FieldError error) {
		return name.isParentOf(boundPropertyName)
				&& boundPropertyName.getLastElement(Form.UNIFORM).equalsIgnoreCase(error.getField());
	}

Domain

Subdomains

Frequently Asked Questions

What does isForError() do?
isForError() is a function in the spring-boot codebase.
What does isForError() call?
isForError() calls 2 function(s): getLastElement, isParentOf.
What calls isForError()?
isForError() is called by 1 function(s): findFieldErrorOrigin.

Analyze Your Own Codebase

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

Try Supermodel Free