in src/main/java/org/apache/sling/graphql/schema/aggregator/impl/PartialReader.java [147:155]
private void addSectionIfNameIsSet(Supplier<Reader> sectionSource, SectionName name, String description, int start, int end) throws SyntaxException {
if(name == null) {
return;
}
if(sections.containsKey(name)) {
throw new SyntaxException(String.format("Duplicate section '%s'", name));
}
sections.put(name, new ParsedSection(sectionSource, name, description, start, end));
}