private void addSegment(SegmentBase segment) {
        containerStack.peekFirst().addSegment(segment);
        LOGGER.trace("Add {}", segment);
    }
private void addSegment(SegmentBase segment) {
        containerStack.peekFirst().addSegment(segment);
        LOGGER.trace("Add {}", segment);
    }
private void addSegment ( SegmentBase segment ) { containerStack . peekFirst ( ) . addSegment ( segment ) ; LOGGER . trace ( "Add {}" , segment ) ; }
Add the segment to the container on the stack.

@param segment
Add the segment to the container on the stack .