code: public String[] getProjections() {
        if (projectedPaths == null) {
           return null;
        }
        String[] projections = new String[projectedPaths.length];
        for (int i = 0; i < projectedPaths.length; i++) {
           projections[i] = projectedPaths[i].asStringPath();
        }
        return projections;
     }
docs: Returns the projections of the parsed query, represented as dot paths in case of references to fields of embedded
  entities, e.g. {@code ["foo", "bar.qaz"]}.
  
  @return an array with the projections of the parsed query or null if the query has no projections