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