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

assertSimpleLombokProperties() — spring-boot Function Reference

Architecture documentation for the assertSimpleLombokProperties() function in LombokMetadataGenerationTests.java from the spring-boot codebase.

Function java GradlePlugin RunTasks calls 6 called by 4

Entity Profile

Dependency Diagram

graph TD
  a5ca2ec6_50ee_acd0_d1b7_9c1b95bfdb61["assertSimpleLombokProperties()"]
  703d4eaf_cabf_089d_4313_d668fe20e4bb["lombokDataProperties()"]
  703d4eaf_cabf_089d_4313_d668fe20e4bb -->|calls| a5ca2ec6_50ee_acd0_d1b7_9c1b95bfdb61
  c3856b89_74c7_0c61_692d_9729c1a30fd5["lombokValueProperties()"]
  c3856b89_74c7_0c61_692d_9729c1a30fd5 -->|calls| a5ca2ec6_50ee_acd0_d1b7_9c1b95bfdb61
  30c2fa97_714e_1506_0099_d5b8cdc43e78["lombokSimpleProperties()"]
  30c2fa97_714e_1506_0099_d5b8cdc43e78 -->|calls| a5ca2ec6_50ee_acd0_d1b7_9c1b95bfdb61
  a310fe56_88aa_8a05_d88d_c4c3c8ef6e5f["lombokExplicitProperties()"]
  a310fe56_88aa_8a05_d88d_c4c3c8ef6e5f -->|calls| a5ca2ec6_50ee_acd0_d1b7_9c1b95bfdb61
  83ee5c58_5d39_6a9f_3b4b_81ba336603a7["withGroup()"]
  a5ca2ec6_50ee_acd0_d1b7_9c1b95bfdb61 -->|calls| 83ee5c58_5d39_6a9f_3b4b_81ba336603a7
  a7060ba0_7028_1911_946e_7c3090117119["fromSource()"]
  a5ca2ec6_50ee_acd0_d1b7_9c1b95bfdb61 -->|calls| a7060ba0_7028_1911_946e_7c3090117119
  a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc["withProperty()"]
  a5ca2ec6_50ee_acd0_d1b7_9c1b95bfdb61 -->|calls| a4041ee3_920f_3ffa_6d69_6e3bcd2c6cdc
  facc73e3_5f28_4513_9b1f_79367931e644["withDescription()"]
  a5ca2ec6_50ee_acd0_d1b7_9c1b95bfdb61 -->|calls| facc73e3_5f28_4513_9b1f_79367931e644
  3a84f306_c04e_ed63_ecc7_7013edbb2681["withDefaultValue()"]
  a5ca2ec6_50ee_acd0_d1b7_9c1b95bfdb61 -->|calls| 3a84f306_c04e_ed63_ecc7_7013edbb2681
  24e98b01_1aa8_27ae_189f_3eec90e0a528["withDeprecation()"]
  a5ca2ec6_50ee_acd0_d1b7_9c1b95bfdb61 -->|calls| 24e98b01_1aa8_27ae_189f_3eec90e0a528
  style a5ca2ec6_50ee_acd0_d1b7_9c1b95bfdb61 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

configuration-metadata/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationprocessor/LombokMetadataGenerationTests.java lines 134–146

	private void assertSimpleLombokProperties(ConfigurationMetadata metadata, Class<?> source, String prefix) {
		assertThat(metadata).has(Metadata.withGroup(prefix).fromSource(source));
		assertThat(metadata).doesNotHave(Metadata.withProperty(prefix + ".id"));
		assertThat(metadata).has(Metadata.withProperty(prefix + ".name", String.class)
			.fromSource(source)
			.withDescription("Name description."));
		assertThat(metadata).has(Metadata.withProperty(prefix + ".description"));
		assertThat(metadata).has(Metadata.withProperty(prefix + ".counter"));
		assertThat(metadata)
			.has(Metadata.withProperty(prefix + ".number").fromSource(source).withDefaultValue(0).withDeprecation());
		assertThat(metadata).has(Metadata.withProperty(prefix + ".items"));
		assertThat(metadata).doesNotHave(Metadata.withProperty(prefix + ".ignored"));
	}

Domain

Subdomains

Called By

  • lombokDataProperties()
  • lombokExplicitProperties()
  • lombokSimpleProperties()
  • lombokValueProperties()

Frequently Asked Questions

What does assertSimpleLombokProperties() do?
assertSimpleLombokProperties() is a function in the spring-boot codebase.
What does assertSimpleLombokProperties() call?
assertSimpleLombokProperties() calls 6 function(s): fromSource, withDefaultValue, withDeprecation, withDescription, withGroup, withProperty.
What calls assertSimpleLombokProperties()?
assertSimpleLombokProperties() is called by 4 function(s): lombokDataProperties, lombokExplicitProperties, lombokSimpleProperties, lombokValueProperties.

Analyze Your Own Codebase

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

Try Supermodel Free