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

accept() — spring-boot Function Reference

Architecture documentation for the accept() function in BindableRuntimeHintsRegistrarTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  3e0d6996_38ef_e229_da7c_4da26dbb71ab["accept()"]
  f66262c1_53f9_3576_d55f_fded77038d41["getType()"]
  3e0d6996_38ef_e229_da7c_4da26dbb71ab -->|calls| f66262c1_53f9_3576_d55f_fded77038d41
  d928a4e8_396e_d08a_20f7_3906e35731d6["methods()"]
  3e0d6996_38ef_e229_da7c_4da26dbb71ab -->|calls| d928a4e8_396e_d08a_20f7_3906e35731d6
  8877eda3_7439_8480_81c8_9b4176687435["fields()"]
  3e0d6996_38ef_e229_da7c_4da26dbb71ab -->|calls| 8877eda3_7439_8480_81c8_9b4176687435
  style 3e0d6996_38ef_e229_da7c_4da26dbb71ab fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/BindableRuntimeHintsRegistrarTests.java lines 824–835

		@Override
		public void accept(TypeHint entry) {
			assertThat(entry.getType()).isEqualTo(TypeReference.of(this.type));
			assertThat(entry.constructors()).singleElement().satisfies(match(this.constructor));
			assertThat(entry.getMemberCategories()).isEmpty();
			assertThat(entry.methods()).as("Methods requiring reflection")
				.extracting(ExecutableHint::getName)
				.containsExactlyInAnyOrderElementsOf(this.expectedMethods);
			assertThat(entry.fields()).as("Fields requiring reflection")
				.extracting(FieldHint::getName)
				.containsExactlyInAnyOrderElementsOf(this.expectedFields);
		}

Domain

Subdomains

Frequently Asked Questions

What does accept() do?
accept() is a function in the spring-boot codebase.
What does accept() call?
accept() calls 3 function(s): fields, getType, methods.

Analyze Your Own Codebase

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

Try Supermodel Free