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

bindUsesConsistentPropertyOrder() — spring-boot Function Reference

Architecture documentation for the bindUsesConsistentPropertyOrder() function in JavaBeanBinderTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  6b241e6b_7901_624e_2c2c_561eda1de6f1["bindUsesConsistentPropertyOrder()"]
  dec6e978_683d_a8e4_7ae5_e3e729d3253e["MockConfigurationPropertySource()"]
  6b241e6b_7901_624e_2c2c_561eda1de6f1 -->|calls| dec6e978_683d_a8e4_7ae5_e3e729d3253e
  725e97d2_341b_6665_84bc_9206c7185c54["put()"]
  6b241e6b_7901_624e_2c2c_561eda1de6f1 -->|calls| 725e97d2_341b_6665_84bc_9206c7185c54
  7ed947bf_22a1_2781_a2ae_759aa1907445["add()"]
  6b241e6b_7901_624e_2c2c_561eda1de6f1 -->|calls| 7ed947bf_22a1_2781_a2ae_759aa1907445
  76576a77_87f7_3680_8561_2923813db3c1["of()"]
  6b241e6b_7901_624e_2c2c_561eda1de6f1 -->|calls| 76576a77_87f7_3680_8561_2923813db3c1
  241955c1_e7fb_47f5_5e8e_e359b477a0ed["get()"]
  6b241e6b_7901_624e_2c2c_561eda1de6f1 -->|calls| 241955c1_e7fb_47f5_5e8e_e359b477a0ed
  fc76ebe9_0fcd_3b6b_b03a_30e24830d156["getAlpha()"]
  6b241e6b_7901_624e_2c2c_561eda1de6f1 -->|calls| fc76ebe9_0fcd_3b6b_b03a_30e24830d156
  63658710_7c95_f76b_79b0_d875070b745b["getBeta()"]
  6b241e6b_7901_624e_2c2c_561eda1de6f1 -->|calls| 63658710_7c95_f76b_79b0_d875070b745b
  abd4e623_0225_f3e4_f6af_fadace433dd7["getGamma()"]
  6b241e6b_7901_624e_2c2c_561eda1de6f1 -->|calls| abd4e623_0225_f3e4_f6af_fadace433dd7
  style 6b241e6b_7901_624e_2c2c_561eda1de6f1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/JavaBeanBinderTests.java lines 585–596

	@Test
	void bindUsesConsistentPropertyOrder() {
		MockConfigurationPropertySource source = new MockConfigurationPropertySource();
		source.put("foo.gamma", "0");
		source.put("foo.alpha", "0");
		source.put("foo.beta", "0");
		this.sources.add(source);
		PropertyOrderBean bean = this.binder.bind("foo", Bindable.of(PropertyOrderBean.class)).get();
		assertThat(bean.getAlpha()).isZero();
		assertThat(bean.getBeta()).isOne();
		assertThat(bean.getGamma()).isEqualTo(2);
	}

Domain

Subdomains

Calls

Frequently Asked Questions

What does bindUsesConsistentPropertyOrder() do?
bindUsesConsistentPropertyOrder() is a function in the spring-boot codebase.
What does bindUsesConsistentPropertyOrder() call?
bindUsesConsistentPropertyOrder() calls 8 function(s): MockConfigurationPropertySource, add, get, getAlpha, getBeta, getGamma, of, put.

Analyze Your Own Codebase

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

Try Supermodel Free