code: public DependencyTreeNode getNode(int position) {
          if (position < length - 1)
              return original.getNode(position);
          // Check that the request isn't for an invalid index
          else if (position > length)
              throw new IllegalArgumentException("invalid node: " + position);
          else
              return last();
      }
docs: {@inheritDoc}