code: public LocationStepQueryNode[] getPathSteps() {
          if (operands == null) {
              return EMPTY;
          } else {
              return (LocationStepQueryNode[]) operands.toArray(new LocationStepQueryNode[operands.size()]);
          }
      }
docs: Returns an array of all currently set location step nodes.
  
  @return an array of all currently set location step nodes.