@Override
    public int getStartIndex() {
        if (null == owner) {
            return tableName.getStartIndex();
        }
        return owner.getOwner().isPresent() ? owner.getOwner().get().getStartIndex() : owner.getStartIndex();
    }
@Test
    void assertGetStartIndexWithOwner() {
        SimpleTableSegment tableSegment = new SimpleTableSegment(new TableNameSegment(10, 13, new IdentifierValue("tbl")));
        tableSegment.setOwner(new OwnerSegment(7, 8, new IdentifierValue("o")));
        assertThat(tableSegment.getStartIndex(), is(7));
    }