hasMainReadOperation() — spring-boot Function Reference
Architecture documentation for the hasMainReadOperation() function in ConfigurationMetadataAnnotationProcessor.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 5c6da233_fd70_e30f_5b84_b495a718dd83["hasMainReadOperation()"] 9a8190ac_43a2_d14a_3556_086a485c05f7["processEndpoint()"] 9a8190ac_43a2_d14a_3556_086a485c05f7 -->|calls| 5c6da233_fd70_e30f_5b84_b495a718dd83 b08798f5_3589_524d_eba0_6fe8af383485["getKind()"] 5c6da233_fd70_e30f_5b84_b495a718dd83 -->|calls| b08798f5_3589_524d_eba0_6fe8af383485 265b8d73_2591_fb05_0f37_bc2bb8c60fa1["hasNoOrOptionalParameters()"] 5c6da233_fd70_e30f_5b84_b495a718dd83 -->|calls| 265b8d73_2591_fb05_0f37_bc2bb8c60fa1 style 5c6da233_fd70_e30f_5b84_b495a718dd83 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
configuration-metadata/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/ConfigurationMetadataAnnotationProcessor.java lines 367–375
private boolean hasMainReadOperation(TypeElement element) {
for (ExecutableElement method : ElementFilter.methodsIn(element.getEnclosedElements())) {
if (this.metadataEnv.getReadOperationAnnotation(method) != null
&& (TypeKind.VOID != method.getReturnType().getKind()) && hasNoOrOptionalParameters(method)) {
return true;
}
}
return false;
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does hasMainReadOperation() do?
hasMainReadOperation() is a function in the spring-boot codebase.
What does hasMainReadOperation() call?
hasMainReadOperation() calls 2 function(s): getKind, hasNoOrOptionalParameters.
What calls hasMainReadOperation()?
hasMainReadOperation() is called by 1 function(s): processEndpoint.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free