getWrapperOrPrimitiveFor() — spring-boot Function Reference
Architecture documentation for the getWrapperOrPrimitiveFor() function in TypeUtils.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD c94aa5a9_e8c7_8971_7061_5d88dd06076f["getWrapperOrPrimitiveFor()"] 50453624_ec24_1bec_eda2_4bd5bf5f8794["getWrapperFor()"] c94aa5a9_e8c7_8971_7061_5d88dd06076f -->|calls| 50453624_ec24_1bec_eda2_4bd5bf5f8794 1b34798a_67b0_e8d1_03e5_972a4d7202ff["getPrimitiveFor()"] c94aa5a9_e8c7_8971_7061_5d88dd06076f -->|calls| 1b34798a_67b0_e8d1_03e5_972a4d7202ff 14dc6b90_0d6e_e357_d7cd_7e94c5f3661d["getPrimitiveType()"] c94aa5a9_e8c7_8971_7061_5d88dd06076f -->|calls| 14dc6b90_0d6e_e357_d7cd_7e94c5f3661d style c94aa5a9_e8c7_8971_7061_5d88dd06076f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
configuration-metadata/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/TypeUtils.java lines 201–211
TypeMirror getWrapperOrPrimitiveFor(TypeMirror typeMirror) {
Class<?> candidate = getWrapperFor(typeMirror);
if (candidate != null) {
return this.env.getElementUtils().getTypeElement(candidate.getName()).asType();
}
TypeKind primitiveKind = getPrimitiveFor(typeMirror);
if (primitiveKind != null) {
return this.env.getTypeUtils().getPrimitiveType(primitiveKind);
}
return null;
}
Domain
Subdomains
Calls
- getPrimitiveFor()
- getPrimitiveType()
- getWrapperFor()
Source
Frequently Asked Questions
What does getWrapperOrPrimitiveFor() do?
getWrapperOrPrimitiveFor() is a function in the spring-boot codebase.
What does getWrapperOrPrimitiveFor() call?
getWrapperOrPrimitiveFor() calls 3 function(s): getPrimitiveFor, getPrimitiveType, getWrapperFor.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free