public SelectorSegment()

in src/main/java/org/apache/sling/query/impl/selector/parser/SelectorSegment.java [40:50]


    public SelectorSegment(ParserContext context, boolean firstSegment) {
        this.type = context.getType();
        this.name = context.getName();
        this.attributes = new ArrayList<>(context.getAttributes());
        this.modifiers = new ArrayList<>(context.getModifiers());
        if (firstSegment) {
            hierarchyOperator = 0;
        } else {
            hierarchyOperator = context.getHierarchyOperator();
        }
    }