hasMetaAnnotation() — spring-boot Function Reference
Architecture documentation for the hasMetaAnnotation() function in MetadataGenerationEnvironment.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 587407ec_b97c_4748_6eed_7841a77df156["hasMetaAnnotation()"] 14c54625_07e7_4f3c_2f6e_66801a43c806["hasAnnotation()"] 14c54625_07e7_4f3c_2f6e_66801a43c806 -->|calls| 587407ec_b97c_4748_6eed_7841a77df156 6ba62623_7f72_4fbe_a844_3fc78ffb241c["equals()"] 587407ec_b97c_4748_6eed_7841a77df156 -->|calls| 6ba62623_7f72_4fbe_a844_3fc78ffb241c 1baabe57_48a3_d81d_65fc_4f3335b91796["toString()"] 587407ec_b97c_4748_6eed_7841a77df156 -->|calls| 1baabe57_48a3_d81d_65fc_4f3335b91796 style 587407ec_b97c_4748_6eed_7841a77df156 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 245–256
private boolean hasMetaAnnotation(Element annotationElement, String type, Set<Element> seen) {
if (seen.add(annotationElement)) {
for (AnnotationMirror annotation : annotationElement.getAnnotationMirrors()) {
DeclaredType annotationType = annotation.getAnnotationType();
if (type.equals(annotationType.toString())
|| hasMetaAnnotation(annotationType.asElement(), type, seen)) {
return true;
}
}
}
return false;
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does hasMetaAnnotation() do?
hasMetaAnnotation() is a function in the spring-boot codebase.
What does hasMetaAnnotation() call?
hasMetaAnnotation() calls 2 function(s): equals, toString.
What calls hasMetaAnnotation()?
hasMetaAnnotation() is called by 1 function(s): hasAnnotation.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free