getSelectors() — spring-boot Function Reference
Architecture documentation for the getSelectors() function in CustomLayersProvider.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD a2653880_974e_eeda_61eb_b0e7d6344c11["getSelectors()"] f0223559_fca5_0ab1_8ec1_65dabb509637["getApplicationSelectors()"] f0223559_fca5_0ab1_8ec1_65dabb509637 -->|calls| a2653880_974e_eeda_61eb_b0e7d6344c11 33c1e2ec_48d2_f989_5bf5_70031117e0ce["getLibrarySelectors()"] 33c1e2ec_48d2_f989_5bf5_70031117e0ce -->|calls| a2653880_974e_eeda_61eb_b0e7d6344c11 cb34c1bc_a4f4_c1d4_9ed7_b9e2e2553cf1["getChildElement()"] a2653880_974e_eeda_61eb_b0e7d6344c11 -->|calls| cb34c1bc_a4f4_c1d4_9ed7_b9e2e2553cf1 style a2653880_974e_eeda_61eb_b0e7d6344c11 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
build-plugin/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/CustomLayersProvider.java lines 102–118
private <T> List<ContentSelector<T>> getSelectors(Element root, String elementName,
Function<Element, ContentSelector<T>> selectorFactory) {
Element element = getChildElement(root, elementName);
if (element == null) {
return Collections.emptyList();
}
List<ContentSelector<T>> selectors = new ArrayList<>();
NodeList children = element.getChildNodes();
for (int i = 0; i < children.getLength(); i++) {
Node child = children.item(i);
if (child instanceof Element childElement) {
ContentSelector<T> selector = selectorFactory.apply(childElement);
selectors.add(selector);
}
}
return selectors;
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does getSelectors() do?
getSelectors() is a function in the spring-boot codebase.
What does getSelectors() call?
getSelectors() calls 1 function(s): getChildElement.
What calls getSelectors()?
getSelectors() is called by 2 function(s): getApplicationSelectors, getLibrarySelectors.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free