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

ofType() — spring-boot Function Reference

Architecture documentation for the ofType() function in Metadata.java from the spring-boot codebase.

Function java GradlePlugin RunTasks calls 1 called by 24

Entity Profile

Dependency Diagram

graph TD
  70751124_3e92_ed3e_7f93_61d2e98490d3["ofType()"]
  5e381631_64f4_bf11_68f6_3e2eaba37bfc["parseArrayConfig()"]
  5e381631_64f4_bf11_68f6_3e2eaba37bfc -->|calls| 70751124_3e92_ed3e_7f93_61d2e98490d3
  a26d3d60_8985_1d62_5e68_58e86dc2c740["innerClassProperties()"]
  a26d3d60_8985_1d62_5e68_58e86dc2c740 -->|calls| 70751124_3e92_ed3e_7f93_61d2e98490d3
  337f7efe_1fe5_4da8_818a_9f209756d038["innerClassPropertiesHierarchical()"]
  337f7efe_1fe5_4da8_818a_9f209756d038 -->|calls| 70751124_3e92_ed3e_7f93_61d2e98490d3
  ff739d11_923b_9aba_9260_66d07cbb27a7["simplePropertiesSource()"]
  ff739d11_923b_9aba_9260_66d07cbb27a7 -->|calls| 70751124_3e92_ed3e_7f93_61d2e98490d3
  9bfc0b86_66ba_af39_3646_91944df6b8de["simplePropertiesSourceWithAdditionalMetadataIsMerged()"]
  9bfc0b86_66ba_af39_3646_91944df6b8de -->|calls| 70751124_3e92_ed3e_7f93_61d2e98490d3
  7ee18f42_0c8f_5b61_fd38_a5743c7df2c8["simplePropertiesSourceWithAdditionalMetadataHintIsMerged()"]
  7ee18f42_0c8f_5b61_fd38_a5743c7df2c8 -->|calls| 70751124_3e92_ed3e_7f93_61d2e98490d3
  9ed3dca6_58f0_cc78_cbad_60855ee1128b["simplePropertiesSourceWithAdditionalMetadataCanBeOverridden()"]
  9ed3dca6_58f0_cc78_cbad_60855ee1128b -->|calls| 70751124_3e92_ed3e_7f93_61d2e98490d3
  9419ba22_d52e_8904_a590_adce93bfcfd9["lombokPropertiesSource()"]
  9419ba22_d52e_8904_a590_adce93bfcfd9 -->|calls| 70751124_3e92_ed3e_7f93_61d2e98490d3
  db82f29b_8964_0aa6_b846_d0efc277463f["immutablePropertiesSource()"]
  db82f29b_8964_0aa6_b846_d0efc277463f -->|calls| 70751124_3e92_ed3e_7f93_61d2e98490d3
  7629279f_801f_df6d_a18a_9ed26f468a84["recordPropertiesSource()"]
  7629279f_801f_df6d_a18a_9ed26f468a84 -->|calls| 70751124_3e92_ed3e_7f93_61d2e98490d3
  297a2281_0594_619d_3fff_799482500755["abstractPropertiesSource()"]
  297a2281_0594_619d_3fff_799482500755 -->|calls| 70751124_3e92_ed3e_7f93_61d2e98490d3
  549ceb61_a444_a399_ba98_2a796c0284ad["nonRootConfigurationPropertiesSources()"]
  549ceb61_a444_a399_ba98_2a796c0284ad -->|calls| 70751124_3e92_ed3e_7f93_61d2e98490d3
  41e14b2b_ba0d_2cf1_f9dd_23f295a4065f["nestedPropertiesSource()"]
  41e14b2b_ba0d_2cf1_f9dd_23f295a4065f -->|calls| 70751124_3e92_ed3e_7f93_61d2e98490d3
  b622df0d_f3c8_7209_008e_f144a1fd7544["customPropertiesEndpoint()"]
  b622df0d_f3c8_7209_008e_f144a1fd7544 -->|calls| 70751124_3e92_ed3e_7f93_61d2e98490d3
  style 70751124_3e92_ed3e_7f93_61d2e98490d3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

configuration-metadata/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationprocessor/metadata/Metadata.java lines 168–171

		public MetadataItemCondition ofType(Class<?> dataType) {
			return new MetadataItemCondition(this.itemType, this.name, dataType.getName(), this.sourceType,
					this.sourceMethod, this.description, this.defaultValue, this.deprecation);
		}

Domain

Subdomains

Frequently Asked Questions

What does ofType() do?
ofType() is a function in the spring-boot codebase.
What does ofType() call?
ofType() calls 1 function(s): MetadataItemCondition.
What calls ofType()?
ofType() is called by 24 function(s): abstractPropertiesSource, cacheTtl, complexGenericProperties, customPropertiesEndpoint, genericTypes, immutablePropertiesSource, innerClassProperties, innerClassPropertiesHierarchical, and 16 more.

Analyze Your Own Codebase

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

Try Supermodel Free