docs: public void putAt(final int index, final Object newValue) {
          final GPathResult result = (GPathResult)getAt(index);
          if (newValue instanceof Closure) {
              result.replaceNode((Closure)newValue);
          } else {
              result.replaceBody(newValue);
          }
      }