hasType() — spring-boot Function Reference
Architecture documentation for the hasType() function in ConfigurationPropertiesBeanFactoryInitializationAotProcessorTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD ebbeee22_9e94_47a0_ffca_817aecbf9c04["hasType()"] 65f6adff_8c74_5c59_c0ac_a04c94decfc6["manuallyRegisteredSingletonBindsAsJavaBean()"] 65f6adff_8c74_5c59_c0ac_a04c94decfc6 -->|calls| ebbeee22_9e94_47a0_ffca_817aecbf9c04 a83ce51a_283b_fc42_022b_b955d65c4a5a["javaBeanConfigurationPropertiesBindAsJavaBean()"] a83ce51a_283b_fc42_022b_b955d65c4a5a -->|calls| ebbeee22_9e94_47a0_ffca_817aecbf9c04 9e169cb6_3f71_1da6_2186_87fbdc223488["constructorBindingConfigurationPropertiesBindAsValueObject()"] 9e169cb6_3f71_1da6_2186_87fbdc223488 -->|calls| ebbeee22_9e94_47a0_ffca_817aecbf9c04 16d35288_23d2_02b4_0995_57c303a1e79c["possibleConstructorBindingPropertiesDefinedThroughBeanMethodBindAsJavaBean()"] 16d35288_23d2_02b4_0995_57c303a1e79c -->|calls| ebbeee22_9e94_47a0_ffca_817aecbf9c04 6f62d0a9_d1da_a8ba_4ea8_fe0b6d74db73["possibleConstructorBindingPropertiesDefinedThroughEnabledAnnotationBindAsValueObject()"] 6f62d0a9_d1da_a8ba_4ea8_fe0b6d74db73 -->|calls| ebbeee22_9e94_47a0_ffca_817aecbf9c04 7ee00b4c_a49d_e50c_65fb_f4a0a80ac5e3["equals()"] ebbeee22_9e94_47a0_ffca_817aecbf9c04 -->|calls| 7ee00b4c_a49d_e50c_65fb_f4a0a80ac5e3 f7e9ddde_2634_c57e_57b9_2c188cc789b6["getType()"] ebbeee22_9e94_47a0_ffca_817aecbf9c04 -->|calls| f7e9ddde_2634_c57e_57b9_2c188cc789b6 style ebbeee22_9e94_47a0_ffca_817aecbf9c04 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/context/properties/ConfigurationPropertiesBeanFactoryInitializationAotProcessorTests.java lines 253–259
BindableAssert hasType(Class<?> type) {
if (!type.equals(this.actual.getType().resolve())) {
throwAssertionError(new BasicErrorMessageFactory("Expected %s to have type %s but type was %s",
this.actual, type, this.actual.getType().resolve()));
}
return this;
}
Domain
Subdomains
Called By
- constructorBindingConfigurationPropertiesBindAsValueObject()
- javaBeanConfigurationPropertiesBindAsJavaBean()
- manuallyRegisteredSingletonBindsAsJavaBean()
- possibleConstructorBindingPropertiesDefinedThroughBeanMethodBindAsJavaBean()
- possibleConstructorBindingPropertiesDefinedThroughEnabledAnnotationBindAsValueObject()
Source
Frequently Asked Questions
What does hasType() do?
hasType() is a function in the spring-boot codebase.
What does hasType() call?
hasType() calls 2 function(s): equals, getType.
What calls hasType()?
hasType() is called by 5 function(s): constructorBindingConfigurationPropertiesBindAsValueObject, javaBeanConfigurationPropertiesBindAsJavaBean, manuallyRegisteredSingletonBindsAsJavaBean, possibleConstructorBindingPropertiesDefinedThroughBeanMethodBindAsJavaBean, possibleConstructorBindingPropertiesDefinedThroughEnabledAnnotationBindAsValueObject.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free