createInstantiator() — spring-boot Function Reference
Architecture documentation for the createInstantiator() function in InstantiatorTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 4b31d42a_6d81_1ff2_8065_fb01d7f41e74["createInstantiator()"] 7b276373_8058_554d_4dd7_d60c17f58ddd["instantiateOrdersInstances()"] 7b276373_8058_554d_4dd7_d60c17f58ddd -->|calls| 4b31d42a_6d81_1ff2_8065_fb01d7f41e74 6a2df99d_42b7_be5b_369f_5820c46ac622["instantiateTypesCreatesInstance()"] 6a2df99d_42b7_be5b_369f_5820c46ac622 -->|calls| 4b31d42a_6d81_1ff2_8065_fb01d7f41e74 cd4fef06_3097_2111_9c82_8745b24f2fa2["instantiateWithClassLoaderCreatesInstance()"] cd4fef06_3097_2111_9c82_8745b24f2fa2 -->|calls| 4b31d42a_6d81_1ff2_8065_fb01d7f41e74 f45f9b24_cd58_7e87_9b1c_7bb110b74cb1["createWhenWrongTypeThrowsException()"] f45f9b24_cd58_7e87_9b1c_7bb110b74cb1 -->|calls| 4b31d42a_6d81_1ff2_8065_fb01d7f41e74 83b46b3a_6db6_33a3_87f1_76e1ed8008cd["instantiateWithSingleNameCreatesInstance()"] 83b46b3a_6db6_33a3_87f1_76e1ed8008cd -->|calls| 4b31d42a_6d81_1ff2_8065_fb01d7f41e74 4c609482_9d1f_4caa_9384_2819aaa3f8b8["getArgReturnsArg()"] 4c609482_9d1f_4caa_9384_2819aaa3f8b8 -->|calls| 4b31d42a_6d81_1ff2_8065_fb01d7f41e74 54dbb4f9_c08b_fea7_55e1_4322a9a90545["getArgWhenUnknownThrowsException()"] 54dbb4f9_c08b_fea7_55e1_4322a9a90545 -->|calls| 4b31d42a_6d81_1ff2_8065_fb01d7f41e74 45aeffa4_6315_c3b6_fe63_dd3ceadc4110["createInstance()"] 45aeffa4_6315_c3b6_fe63_dd3ceadc4110 -->|calls| 4b31d42a_6d81_1ff2_8065_fb01d7f41e74 style 4b31d42a_6d81_1ff2_8065_fb01d7f41e74 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/util/InstantiatorTests.java lines 154–160
private <T> Instantiator<T> createInstantiator(Class<T> type) {
return new Instantiator<>(type, (availableParameters) -> {
availableParameters.add(ParamA.class, this.paramA);
availableParameters.add(ParamB.class, this.paramB);
availableParameters.add(ParamC.class, ParamC::new);
});
}
Domain
Subdomains
Called By
- createInstance()
- createWhenWrongTypeThrowsException()
- getArgReturnsArg()
- getArgWhenUnknownThrowsException()
- instantiateOrdersInstances()
- instantiateTypesCreatesInstance()
- instantiateWithClassLoaderCreatesInstance()
- instantiateWithSingleNameCreatesInstance()
Source
Frequently Asked Questions
What does createInstantiator() do?
createInstantiator() is a function in the spring-boot codebase.
What calls createInstantiator()?
createInstantiator() is called by 8 function(s): createInstance, createWhenWrongTypeThrowsException, getArgReturnsArg, getArgWhenUnknownThrowsException, instantiateOrdersInstances, instantiateTypesCreatesInstance, instantiateWithClassLoaderCreatesInstance, instantiateWithSingleNameCreatesInstance.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free