code: public ColumnSpec getLastSpec() {
          if (this.joinSpec == null) {
              return this;
          } else {
              List<ColumnSpec> l = asList();
              return l.get(l.size() - 1);
          }
      }
docs: Gets the last column spec in the chain of column specs and joins.
  
  @return a {@link ColumnSpec}