code: public PathElement getLastElement() {
          final List<PathElement> list = pathAddressList;
          return list.size() == 0 ? null : list.get(list.size() - 1);
      }
docs: Gets the last element in the address.
  
  @return the element, or {@code null} if {@link #size()} is zero.