code: public static <S, E> void applyAll(Query filterTree, GraphTraversal<S, E> q) {
          if (filterTree == null) {
              return;
          }
  
          QueryTranslationState state = new QueryTranslationState();
  
          applyAll(filterTree, q, false, state);
      }
docs: Applies all the filters from the applicator tree to the provided Gremlin query.
  
  @param filterTree the tree of filters to apply to the query
  @param q          the query to update with filters from the tree
  @param <S>        type of the source of the query
  @param <E>        type of the output of the query