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

chop() — spring-boot Function Reference

Architecture documentation for the chop() function in ConfigurationPropertyName.java from the spring-boot codebase.

Function java GradlePlugin AotProcessing calls 3 called by 8

Entity Profile

Dependency Diagram

graph TD
  8a90add5_32c6_65eb_e312_e210dff95e48["chop()"]
  f1e75639_3376_95b7_9b0c_108f5af8b789["chop()"]
  f1e75639_3376_95b7_9b0c_108f5af8b789 -->|calls| 8a90add5_32c6_65eb_e312_e210dff95e48
  90f89c0e_f8a3_a470_c641_acaae8e6bc6f["getKnownIndexedChildren()"]
  90f89c0e_f8a3_a470_c641_acaae8e6bc6f -->|calls| 8a90add5_32c6_65eb_e312_e210dff95e48
  b96ffcc5_6766_3a9b_ede9_be5f729c1b6d["assertNoUnboundChildren()"]
  b96ffcc5_6766_3a9b_ede9_be5f729c1b6d -->|calls| 8a90add5_32c6_65eb_e312_e210dff95e48
  3b891a71_3217_1514_ff70_c3b7071b73f4["getEntryName()"]
  3b891a71_3217_1514_ff70_c3b7071b73f4 -->|calls| 8a90add5_32c6_65eb_e312_e210dff95e48
  f96f4ea3_5ca8_873a_bdc9_5abb9ddd4dd5["chopNameAtNumericIndex()"]
  f96f4ea3_5ca8_873a_bdc9_5abb9ddd4dd5 -->|calls| 8a90add5_32c6_65eb_e312_e210dff95e48
  e0c84b2d_81dc_e784_94a2_bc56b1a98fe9["isOverriddenCollectionElement()"]
  e0c84b2d_81dc_e784_94a2_bc56b1a98fe9 -->|calls| 8a90add5_32c6_65eb_e312_e210dff95e48
  772b09b6_d11e_bfff_26ce_f91f0f77fe69["getIndexed()"]
  772b09b6_d11e_bfff_26ce_f91f0f77fe69 -->|calls| 8a90add5_32c6_65eb_e312_e210dff95e48
  a2fb37ac_574b_708c_d871_a8afdb97bd2f["getParent()"]
  a2fb37ac_574b_708c_d871_a8afdb97bd2f -->|calls| 8a90add5_32c6_65eb_e312_e210dff95e48
  f1e75639_3376_95b7_9b0c_108f5af8b789["chop()"]
  8a90add5_32c6_65eb_e312_e210dff95e48 -->|calls| f1e75639_3376_95b7_9b0c_108f5af8b789
  5acc70e6_66e3_8996_e541_fcd335154b61["getNumberOfElements()"]
  8a90add5_32c6_65eb_e312_e210dff95e48 -->|calls| 5acc70e6_66e3_8996_e541_fcd335154b61
  17259b81_0e1a_4f7d_805a_bc319583d4cf["ConfigurationPropertyName()"]
  8a90add5_32c6_65eb_e312_e210dff95e48 -->|calls| 17259b81_0e1a_4f7d_805a_bc319583d4cf
  style 8a90add5_32c6_65eb_e312_e210dff95e48 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/context/properties/source/ConfigurationPropertyName.java lines 251–256

	public ConfigurationPropertyName chop(int size) {
		if (size >= getNumberOfElements()) {
			return this;
		}
		return new ConfigurationPropertyName(this.elements.chop(size));
	}

Domain

Subdomains

Frequently Asked Questions

What does chop() do?
chop() is a function in the spring-boot codebase.
What does chop() call?
chop() calls 3 function(s): ConfigurationPropertyName, chop, getNumberOfElements.
What calls chop()?
chop() is called by 8 function(s): assertNoUnboundChildren, chop, chopNameAtNumericIndex, getEntryName, getIndexed, getKnownIndexedChildren, getParent, isOverriddenCollectionElement.

Analyze Your Own Codebase

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

Try Supermodel Free