resolveItemDeprecation() — spring-boot Function Reference
Architecture documentation for the resolveItemDeprecation() function in MetadataGenerationEnvironment.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD dd714f32_5fca_69ba_2f4a_9d4bc000df4e["resolveItemDeprecation()"] b07aa383_b8ce_d873_4f85_69e1b53b9046["getAnnotation()"] dd714f32_5fca_69ba_2f4a_9d4bc000df4e -->|calls| b07aa383_b8ce_d873_4f85_69e1b53b9046 047903fc_500a_0180_13c5_6d98f3df6387["getAnnotationElementStringValue()"] dd714f32_5fca_69ba_2f4a_9d4bc000df4e -->|calls| 047903fc_500a_0180_13c5_6d98f3df6387 603d28af_5a6a_6c37_e34e_ce2000af8852["ItemDeprecation()"] dd714f32_5fca_69ba_2f4a_9d4bc000df4e -->|calls| 603d28af_5a6a_6c37_e34e_ce2000af8852 style dd714f32_5fca_69ba_2f4a_9d4bc000df4e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
configuration-metadata/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/MetadataGenerationEnvironment.java lines 200–211
ItemDeprecation resolveItemDeprecation(Element element) {
AnnotationMirror annotation = getAnnotation(element, this.deprecatedConfigurationPropertyAnnotation);
String reason = null;
String replacement = null;
String since = null;
if (annotation != null) {
reason = getAnnotationElementStringValue(annotation, "reason");
replacement = getAnnotationElementStringValue(annotation, "replacement");
since = getAnnotationElementStringValue(annotation, "since");
}
return new ItemDeprecation(reason, replacement, since);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does resolveItemDeprecation() do?
resolveItemDeprecation() is a function in the spring-boot codebase.
What does resolveItemDeprecation() call?
resolveItemDeprecation() calls 3 function(s): ItemDeprecation, getAnnotation, getAnnotationElementStringValue.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free